{"action":"created","issue":{"url":"https://api.github.com/repos/projectatomic/atomicapp/issues/325","labels_url":"https://api.github.com/repos/projectatomic/atomicapp/issues/325/labels{/name}","comments_url":"https://api.github.com/repos/projectatomic/atomicapp/issues/325/comments","events_url":"https://api.github.com/repos/projectatomic/atomicapp/issues/325/events","html_url":"https://github.com/projectatomic/atomicapp/issues/325","id":111640632,"number":325,"title":"Docker stop issue && missing Nulecule file","user":{"login":"charliedrage","id":6422176,"avatar_url":"https://avatars.githubusercontent.com/u/6422176?v=3","gravatar_id":"","url":"https://api.github.com/users/charliedrage","html_url":"https://github.com/charliedrage","followers_url":"https://api.github.com/users/charliedrage/followers","following_url":"https://api.github.com/users/charliedrage/following{/other_user}","gists_url":"https://api.github.com/users/charliedrage/gists{/gist_id}","starred_url":"https://api.github.com/users/charliedrage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charliedrage/subscriptions","organizations_url":"https://api.github.com/users/charliedrage/orgs","repos_url":"https://api.github.com/users/charliedrage/repos","events_url":"https://api.github.com/users/charliedrage/events{/privacy}","received_events_url":"https://api.github.com/users/charliedrage/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/projectatomic/atomicapp/labels/cdk2-beta3-rc1","name":"cdk2-beta3-rc1","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-15T15:20:23Z","updated_at":"2015-10-16T02:22:25Z","closed_at":null,"body":"```~/hello                                                                                                                                                                                                                                                       \r\n▶ atomicapp run --provider=docker projectatomic/helloapache\r\n2015-10-15 11:19:32,529 - atomicapp.plugin - DEBUG - Loading providers from /usr/local/lib/python2.7/dist-packages/atomicapp-0.1.11-py2.7.egg/atomicapp/providers\r\n2015-10-15 11:19:32,535 - atomicapp.nulecule.base - INFO - Unpacking image: projectatomic/helloapache to /home/wikus/hello\r\n2015-10-15 11:19:32,856 - atomicapp.nulecule.container - INFO - Skipping pulling Docker image: projectatomic/helloapache\r\n2015-10-15 11:19:32,857 - atomicapp.nulecule.container - INFO - Extracting nulecule data from image: projectatomic/helloapache to /home/wikus/hello\r\n81162f3e78fba4ec1c0da95fe1ff48f2e360731c1958e2572e7ac77f4a0354d7\r\n2015-10-15 11:19:33,405 - atomicapp.plugin - WARNING - Configuration option 'providerconfig' not found\r\n2015-10-15 11:19:33,405 - atomicapp.plugin - WARNING - Configuration option 'providerconfig' not found\r\n2015-10-15 11:19:33,420 - docker - INFO - Deploying to provider: Docker\r\nd642ca32e5717925872fa89ce55c575170423270848911f9de7ce828de577884\r\n\r\n~/hello                                                                                                                                                                                                                                                       \r\n▶ d ps\r\nCONTAINER ID        IMAGE                  COMMAND                CREATED             STATUS              PORTS                NAMES\r\nd642ca32e571        centos/httpd           \"/run-httpd.sh\"        2 seconds ago       Up 2 seconds        0.0.0.0:80->80/tcp   atomic_default_00c86edf2e1f   \r\n39d5cc82cc68        rh_vpn                 \"openvpn --config /e   2 hours ago         Up 2 hours                               rh_vpn                        \r\n35cf3b9ca74f        charliedrage/dropbox   \"/bin/sh -c /startup   6 weeks ago         Up 2 hours                               dropbox                       \r\n\r\n~/hello                                                                                                                                                                                                                                                       \r\n▶ atomicapp stop --provider=docker projectatomic/helloapache\r\n2015-10-15 11:19:43,338 - atomicapp.plugin - DEBUG - Loading providers from /usr/local/lib/python2.7/dist-packages/atomicapp-0.1.11-py2.7.egg/atomicapp/providers\r\n2015-10-15 11:19:43,344 - atomicapp.cli.main - ERROR - AnyMarkupError: caught <type 'exceptions.IOError'>: [Errno 2] No such file or directory: 'projectatomic/helloapache/Nulecule'\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/atomicapp-0.1.11-py2.7.egg/atomicapp/cli/main.py\", line 67, in cli_stop\r\n    NuleculeManager.do_stop(**vars(args))\r\n  File \"/usr/local/lib/python2.7/dist-packages/atomicapp-0.1.11-py2.7.egg/atomicapp/nulecule/main.py\", line 44, in do_stop\r\n    m.stop(APP, cli_provider, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/atomicapp-0.1.11-py2.7.egg/atomicapp/nulecule/main.py\", line 125, in stop\r\n    dryrun=dryrun)\r\n  File \"/usr/local/lib/python2.7/dist-packages/atomicapp-0.1.11-py2.7.egg/atomicapp/nulecule/base.py\", line 91, in load_from_path\r\n    nulecule_data = anymarkup.parse_file(nulecule_path)\r\n  File \"/usr/local/lib/python2.7/dist-packages/anymarkup/__init__.py\", line 103, in parse_file\r\n    raise AnyMarkupError(e)\r\nAnyMarkupError: AnyMarkupError: caught <type 'exceptions.IOError'>: [Errno 2] No such file or directory: 'projectatomic/helloapache/Nulecule'\r\n```\r\n\r\n--dry-run does not work either\r\n\r\n```\r\n~/hello                                                                                                                                                                                                                                                      ⍉\r\n▶ atomicapp --dry-run stop --provider=docker projectatomic/helloapache\r\n2015-10-15 11:22:06,055 - atomicapp.plugin - DEBUG - Loading providers from /usr/local/lib/python2.7/dist-packages/atomicapp-0.1.11-py2.7.egg/atomicapp/providers\r\n2015-10-15 11:22:06,061 - atomicapp.cli.main - ERROR - 'NoneType' object has no attribute 'load_config'\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/atomicapp-0.1.11-py2.7.egg/atomicapp/cli/main.py\", line 67, in cli_stop\r\n    NuleculeManager.do_stop(**vars(args))\r\n  File \"/usr/local/lib/python2.7/dist-packages/atomicapp-0.1.11-py2.7.egg/atomicapp/nulecule/main.py\", line 44, in do_stop\r\n    m.stop(APP, cli_provider, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/atomicapp-0.1.11-py2.7.egg/atomicapp/nulecule/main.py\", line 126, in stop\r\n    self.nulecule.load_config(config=self.answers)\r\nAttributeError: 'NoneType' object has no attribute 'load_config'\r\n```"},"comment":{"url":"https://api.github.com/repos/projectatomic/atomicapp/issues/comments/148577772","html_url":"https://github.com/projectatomic/atomicapp/issues/325#issuecomment-148577772","issue_url":"https://api.github.com/repos/projectatomic/atomicapp/issues/325","id":148577772,"user":{"login":"dustymabe","id":4530030,"avatar_url":"https://avatars.githubusercontent.com/u/4530030?v=3","gravatar_id":"","url":"https://api.github.com/users/dustymabe","html_url":"https://github.com/dustymabe","followers_url":"https://api.github.com/users/dustymabe/followers","following_url":"https://api.github.com/users/dustymabe/following{/other_user}","gists_url":"https://api.github.com/users/dustymabe/gists{/gist_id}","starred_url":"https://api.github.com/users/dustymabe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dustymabe/subscriptions","organizations_url":"https://api.github.com/users/dustymabe/orgs","repos_url":"https://api.github.com/users/dustymabe/repos","events_url":"https://api.github.com/users/dustymabe/events{/privacy}","received_events_url":"https://api.github.com/users/dustymabe/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T02:22:25Z","updated_at":"2015-10-16T02:22:25Z","body":"I think the idea is that the variables from the last time the app was run will exist in a .gen file and then stop will see that and use it to determine what it needs to stop. You would still need to pass it a directory (or use the cwd) so the .gen file could be found. "}}