{"action":"created","issue":{"url":"https://api.github.com/repos/typesafehub/conductr-cli/issues/128","repository_url":"https://api.github.com/repos/typesafehub/conductr-cli","labels_url":"https://api.github.com/repos/typesafehub/conductr-cli/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/typesafehub/conductr-cli/issues/128/comments","events_url":"https://api.github.com/repos/typesafehub/conductr-cli/issues/128/events","html_url":"https://github.com/typesafehub/conductr-cli/pull/128","id":143130900,"number":128,"title":"WIP - DON'T MERGE - Sandbox Run ACL Related Port Changes","user":{"login":"fsat","id":1665611,"avatar_url":"https://avatars.githubusercontent.com/u/1665611?v=3","gravatar_id":"","url":"https://api.github.com/users/fsat","html_url":"https://github.com/fsat","followers_url":"https://api.github.com/users/fsat/followers","following_url":"https://api.github.com/users/fsat/following{/other_user}","gists_url":"https://api.github.com/users/fsat/gists{/gist_id}","starred_url":"https://api.github.com/users/fsat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsat/subscriptions","organizations_url":"https://api.github.com/users/fsat/orgs","repos_url":"https://api.github.com/users/fsat/repos","events_url":"https://api.github.com/users/fsat/events{/privacy}","received_events_url":"https://api.github.com/users/fsat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2016-03-24T02:38:27Z","updated_at":"2016-04-05T02:00:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/typesafehub/conductr-cli/pulls/128","html_url":"https://github.com/typesafehub/conductr-cli/pull/128","diff_url":"https://github.com/typesafehub/conductr-cli/pull/128.diff","patch_url":"https://github.com/typesafehub/conductr-cli/pull/128.patch"},"body":"Due to ACL work that is taking place within ConductR, the following port changes are necessary:\r\n- Expose default bundle HTTP port of 9000 when starting sandbox via docker run command\r\n- Remove ES port 9200"},"comment":{"url":"https://api.github.com/repos/typesafehub/conductr-cli/issues/comments/205597948","html_url":"https://github.com/typesafehub/conductr-cli/pull/128#issuecomment-205597948","issue_url":"https://api.github.com/repos/typesafehub/conductr-cli/issues/128","id":205597948,"user":{"login":"fsat","id":1665611,"avatar_url":"https://avatars.githubusercontent.com/u/1665611?v=3","gravatar_id":"","url":"https://api.github.com/users/fsat","html_url":"https://github.com/fsat","followers_url":"https://api.github.com/users/fsat/followers","following_url":"https://api.github.com/users/fsat/following{/other_user}","gists_url":"https://api.github.com/users/fsat/gists{/gist_id}","starred_url":"https://api.github.com/users/fsat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsat/subscriptions","organizations_url":"https://api.github.com/users/fsat/orgs","repos_url":"https://api.github.com/users/fsat/repos","events_url":"https://api.github.com/users/fsat/events{/privacy}","received_events_url":"https://api.github.com/users/fsat/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T02:00:50Z","updated_at":"2016-04-05T02:00:50Z","body":"Manual test succesfully completed with 1.1 branch of the ConductR:\r\n\r\n* Install current branch with `pip3 install -e .`\r\n* Ensure sandbox is not running\r\n* `sbt clean conductr:dockerPublishLocal`\r\n* Run the sandbox - note port 9000 is being opened to the docker container. This change is benign.\r\n\r\n```\r\nFelixs-MBP:conductr felixsatyaputra$ sandbox run 0.1.0 -f logging -f visualization\r\nStarting ConductR nodes..\r\nStarting container cond-0 exposing 192.168.99.100:5601, 192.168.99.100:9999..\r\n28f40c20385d23583ca289e404076c45803c2c28ba837b334f76fc609ae41155\r\n\r\nFelixs-MBP:conductr felixsatyaputra$ docker ps -a\r\nCONTAINER ID        IMAGE                                                                              COMMAND                  CREATED             STATUS              PORTS                                                                                                      NAMES\r\n28f40c20385d        typesafe-docker-registry-for-subscribers-only.bintray.io/conductr/conductr:0.1.0   \"python3 -u bin/docke\"   3 seconds ago       Up 2 seconds        0.0.0.0:5601->5601/tcp, 0.0.0.0:9000->9000/tcp, 0.0.0.0:9004-9006->9004-9006/tcp, 0.0.0.0:9999->9999/tcp   cond-0\r\n\r\nFelixs-MBP:conductr felixsatyaputra$ conduct info\r\nID       NAME                    #REP  #STR  #RUN\r\nef36e85  conductr-elasticsearch     1     0     1\r\n341bbb5  conductr-kibana            1     0     1\r\n83fc314  visualizer                 1     0     1\r\n```\r\n\r\n* Other `conduct` commands still works\r\n\r\n```\r\nFelixs-MBP:conductr felixsatyaputra$ conduct logs vis\r\nTIME      HOST          LOG\r\n11:54:06  28f40c20385d  [WARN] [04/05/2016 01:54:06.974] [main] [ActorConfiguration$] Configuration does not define any actors to monitor\r\n11:54:07  28f40c20385d  [warn] application - application.conf @ file:/tmp/83fc3146db0172818611d0bb8a718276/83fc3146db0172818611d0bb8a718276a2b0aac78f49f47cec040305aa043f28/visualizer/conf/application.conf: 13: application.secret is deprecated, use play.crypto.secret instead\r\n11:54:07  28f40c20385d  [info] play.api.Play - Application started (Prod)\r\n11:54:07  28f40c20385d  [info] application - Signalled start to ConductR\r\n11:54:08  28f40c20385d  [info] p.c.s.NettyServer - Listening for HTTP on /172.17.0.2:10609\r\n11:54:08  28f40c20385d  [warn] a.d.ConfigChecker - Typesafe recommendation: Don't use jvm-exit-on-fatal-error=off. It's safer to shutdown the JVM in case of a fatal error, such as OutOfMemoryError. Related config properties: [akka.jvm-exit-on-fatal-error = off]. Corresponding default values: [akka.jvm-exit-on-fatal-error = on]. You may disable this check by adding [jvm-exit-on-fatal-error] to configuration string list akka.diagnostics.checker.disabled-checks. Please use http://support.typesafe.com/ if you need more advice around this warning.\r\n[warn] a.d.ConfigChecker - Typesafe recommendation: You have configured [7] different custom dispatchers. Do you really need that many dispatchers. Separating into CPU bound tasks and blocking (IO) tasks are often enough. Related config properties: [remote.backoff-remote-dispatcher, play.akka.blockingIoDispatcher, stream.default-blocking-io-dispatcher, actor.default-dispatcher, diagnostics.recorder.dispatcher, io.pinned-dispatcher, remote.default-remote-dispatcher]. You may disable this check by adding [dispatcher-count] to configuration string list akka.diagnostics.checker.disabled-checks. Please use http://support.typesafe.com/ if you need more advice around this warning.\r\n[warn] a.d.ConfigChecker - Typesafe recommendation: akka.actor.default-dispatcher.fork-join-executor.task-peeking-mode is an advanced configuration setting. Make sure that you fully understand the implications of changing the default value. You can confirm that you know the meaning of this configuration setting by adding [akka.actor.default-dispatcher.fork-join-executor.task-peeking-mode] to configuration string list akka.diagnostics.checker.confirmed-power-user-settings. Related config properties: [akka.actor.default-dispatcher.fork-join-executor.task-peeking-mode = LIFO]. Corresponding default values: [akka.actor.default-dispatcher.fork-join-executor.task-peeking-mode = FIFO]. You may disable this check by adding [power-user-settings] to configuration string list akka.diagnostics.checker.disabled-checks. Please use http://support.typesafe.com/ if you need more advice around this warning.\r\n\r\nFelixs-MBP:conductr felixsatyaputra$ conduct events vis\r\nTIME      EVENT                                         DESC\r\n11:54:03  conductr.loadExecutor.bundleWritten           Bundle written: requestId=f3a1c447-524c-4a2c-8543-8eab18f6ab7b, bundleName=visualizer, bundleId=83fc3146db0172818611d0bb8a718276\r\n11:54:04  conductr.scaleScheduler.scaleBundleRequested  Scale bundle requested: requestId=83398dfe-614d-484a-b282-4e6f1d50a695, bundleId=83fc3146db0172818611d0bb8a718276, scale=1\r\n11:54:05  conductr.scaleScheduler.scaleRescheduled      Scale rescheduled: requestId=0ae14d9b-ba6f-45d4-8b64-699525ebd7de, bundleId=83fc3146db0172818611d0bb8a718276\r\n11:54:05  conductr.scaleScheduler.scaleBundleRequested  Scale bundle requested: requestId=0ae14d9b-ba6f-45d4-8b64-699525ebd7de, bundleId=83fc3146db0172818611d0bb8a718276, scale=1\r\n11:54:05  conductr.launcher.bundleStarted               Bundle started: bundleId=83fc3146db0172818611d0bb8a718276, host=172.17.0.2\r\n11:54:08  conductr.scaleScheduler.scaleBundleRequested  Scale bundle requested: requestId=3af5dfaf-1c20-43e3-898b-d59f1ebe4f0e, bundleId=83fc3146db0172818611d0bb8a718276, scale=1\r\n11:54:08  conductr.scaleScheduler.scaleRescheduled      Scale rescheduled: requestId=3af5dfaf-1c20-43e3-898b-d59f1ebe4f0e, bundleId=83fc3146db0172818611d0bb8a718276\r\n\r\nFelixs-MBP:conductr felixsatyaputra$ conduct stop vis\r\nBundle stop request sent.\r\nBundle 83fc3146db0172818611d0bb8a718276 waiting to reach expected scale 0\r\nBundle 83fc3146db0172818611d0bb8a718276 expected scale 0 is met\r\nUnload bundle with: conduct unload --ip 192.168.99.100 83fc314\r\nPrint ConductR info with: conduct info --ip 192.168.99.100\r\n\r\nFelixs-MBP:conductr felixsatyaputra$ conduct info\r\nID       NAME                    #REP  #STR  #RUN\r\nef36e85  conductr-elasticsearch     1     0     1\r\n341bbb5  conductr-kibana            1     0     1\r\n83fc314  visualizer                 1     0     0\r\n\r\nFelixs-MBP:conductr felixsatyaputra$ conduct run vis\r\nBundle run request sent.\r\nBundle 83fc3146db0172818611d0bb8a718276 waiting to reach expected scale 1\r\nBundle 83fc3146db0172818611d0bb8a718276 has scale 0, expected 1\r\nBundle 83fc3146db0172818611d0bb8a718276 expected scale 1 is met\r\nStop bundle with: conduct stop --ip 192.168.99.100 83fc314\r\nPrint ConductR info with: conduct info --ip 192.168.99.100\r\n\r\nFelixs-MBP:conductr felixsatyaputra$ conduct info\r\nID       NAME                    #REP  #STR  #RUN\r\nef36e85  conductr-elasticsearch     1     0     1\r\n341bbb5  conductr-kibana            1     0     1\r\n83fc314  visualizer                 1     0     1\r\n```\r\n\r\n* Sandbox stop terminates the container\r\n\r\n```\r\nFelixs-MBP:conductr felixsatyaputra$ sandbox stop\r\nStopping ConductR..\r\ncond-0\r\n\r\nFelixs-MBP:conductr felixsatyaputra$ docker ps -a\r\nCONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES\r\n```"}}