{"action":"created","issue":{"url":"https://api.github.com/repos/lando/lando/issues/881","repository_url":"https://api.github.com/repos/lando/lando","labels_url":"https://api.github.com/repos/lando/lando/issues/881/labels{/name}","comments_url":"https://api.github.com/repos/lando/lando/issues/881/comments","events_url":"https://api.github.com/repos/lando/lando/issues/881/events","html_url":"https://github.com/lando/lando/issues/881","id":312579287,"number":881,"title":"Unable to start more than one app with beta.40","user":{"login":"vincenzo","id":76583,"avatar_url":"https://avatars2.githubusercontent.com/u/76583?v=4","gravatar_id":"","url":"https://api.github.com/users/vincenzo","html_url":"https://github.com/vincenzo","followers_url":"https://api.github.com/users/vincenzo/followers","following_url":"https://api.github.com/users/vincenzo/following{/other_user}","gists_url":"https://api.github.com/users/vincenzo/gists{/gist_id}","starred_url":"https://api.github.com/users/vincenzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincenzo/subscriptions","organizations_url":"https://api.github.com/users/vincenzo/orgs","repos_url":"https://api.github.com/users/vincenzo/repos","events_url":"https://api.github.com/users/vincenzo/events{/privacy}","received_events_url":"https://api.github.com/users/vincenzo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-04-09T15:32:42Z","updated_at":"2018-04-16T14:30:51Z","closed_at":null,"author_association":"NONE","body":"# Bug Report\r\n\r\n\r\n## Set-up\r\nLando: `v3.0.0-beta.40`\r\nDocker: `18.03.0-ce-mac60 (23751)`\r\nOS: Mac OS High Sierra (with latest updates on)\r\n\r\n## Issue\r\n\r\nBeta 40 introduces an issue whereby it is impossible to `lando start` more than one Lando App at once; the moment one `lando start` the second one, all the containers related to the first app already running are shut down before the containers of the second app are fired up. \r\n\r\nI even tried to `lando start` them one right after the other (i.e. without waiting for the first one to be up and running). What happened was that the second one took over, killed the containers of the first one (which never started properly), then launched ok. \r\n\r\nWhen running a second `lando start` whilst there's an Lando app already started (or starting), one can definitely tell Lando is busy doing something else before actually starting the second app; and that something else is shutting down the containers of the other app (I wonder whether it's just shutting down all containers he finds? -- I haven't tried this scenario, since I only run Docker containers via Lando). You do not see that \"pause\" in a second `lando start` with `beta.39`.\r\n\r\nI've tried this multiple times: \r\n\r\n- without destroying the apps\r\n- destroying the apps first\r\n- factory-resetting Docker\r\n- etc. \r\n\r\nAlways the same result. \r\n\r\nThe only thing I have not tried was to nuke the `~/.lando` dir. I can do that, too, if you think it could be a valuable test. \r\n\r\n## Two of my apps\r\n\r\nFirst one:\r\n\r\n```yml\r\nname: panda\r\n\r\nproxy:\r\n  panda:\r\n    - panda.lndo.site\r\n\r\nservices:\r\n  db:\r\n    type: mongo:3.0\r\n    portforward: 27017\r\n\r\n  panda:\r\n    type: node:8.9\r\n    command: yarn --cwd=/app/ run dev\r\n    overrides:\r\n      services:\r\n        environment:\r\n          PORT: 80\r\n\r\ntooling:\r\n  yarn:\r\n    service: panda_cli\r\n    cmd: yarn --cwd=/app/\r\n    description: Run yarn commands inside Panda\r\n  mongo:\r\n    service: db\r\n    description: Launch mongo shell for Panda\r\n  mongoimport:\r\n    service: db\r\n    description: Launch mongoimport tool for Panda\r\n  mongoexport:\r\n    service: db\r\n    description: Launch mongoexport tool for Panda\r\n```\r\n\r\nSecond one: \r\n\r\n```yml\r\nname: rhino\r\n\r\nproxy:\r\n  rhino:\r\n    - rhino.lndo.site:4000\r\n    - '*.rhino.lndo.site:4000'\r\n\r\nservices:\r\n  # Rhino Admin UI\r\n  rhino:\r\n    type: node:8.9\r\n    command: runuser www-data -c 'yarn --cwd=/app run dev'\r\n    overrides:\r\n      services:\r\n        environment:\r\n          PORT: 4000\r\n\r\ntooling:\r\n  yarn:\r\n    service: rhino_cli\r\n    cmd: yarn --cwd=/app/\r\n    description: Run yarn commands inside Rhino\r\n  reload:\r\n    service: rhino\r\n    cmd: /app/node_modules/pm2/bin/pm2 restart all\r\n  status:\r\n    service: rhino\r\n    cmd: /app/node_modules/pm2/bin/pm2 show yarn\r\n```\r\n\r\n## Does this bug prevent you from using lando?\r\n\r\nYes.\r\n"},"comment":{"url":"https://api.github.com/repos/lando/lando/issues/comments/381619338","html_url":"https://github.com/lando/lando/issues/881#issuecomment-381619338","issue_url":"https://api.github.com/repos/lando/lando/issues/881","id":381619338,"user":{"login":"pirog","id":713424,"avatar_url":"https://avatars2.githubusercontent.com/u/713424?v=4","gravatar_id":"","url":"https://api.github.com/users/pirog","html_url":"https://github.com/pirog","followers_url":"https://api.github.com/users/pirog/followers","following_url":"https://api.github.com/users/pirog/following{/other_user}","gists_url":"https://api.github.com/users/pirog/gists{/gist_id}","starred_url":"https://api.github.com/users/pirog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pirog/subscriptions","organizations_url":"https://api.github.com/users/pirog/orgs","repos_url":"https://api.github.com/users/pirog/repos","events_url":"https://api.github.com/users/pirog/events{/privacy}","received_events_url":"https://api.github.com/users/pirog/received_events","type":"User","site_admin":false},"created_at":"2018-04-16T14:30:49Z","updated_at":"2018-04-16T14:30:49Z","author_association":"OWNER","body":"I highly suspect this might be related to the changes we made in beta.40\nregarding appnames not having dashes, uppercase, etc. I’d inspect your\nappregistry in ~/.lando/cache/registry and see if anything looks amiss\n\nOn Mon, Apr 16, 2018 at 7:27 AM Geoff St. Pierre <notifications@github.com>\nwrote:\n\n> @pirog <https://github.com/pirog> @dustinleblanc\n> <https://github.com/dustinleblanc>\n> This did happen to me today as well. In my case it was on starting a third\n> app. I had a backdrop recipe and a pantheon d7 recipe running.\n>\n> Upon starting a drupal8 recipe the first app (backdrop) containers\n> disappeared.\n>\n> So, I can confirm something is amiss, but it is still a bit slippery. We\n> need to nail down STR to get to the core of the issue.\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/lando/lando/issues/881#issuecomment-381617123>, or mute\n> the thread\n> <https://github.com/notifications/unsubscribe-auth/AAri0H7bYp4d4sdvGFWfaSYIEjdF1vAsks5tpKpXgaJpZM4TMwFG>\n> .\n>\n"}}
{"actor":{"display_login":"pirog"}}