{"action":"created","issue":{"url":"https://api.github.com/repos/StackStorm/st2/issues/1843","labels_url":"https://api.github.com/repos/StackStorm/st2/issues/1843/labels{/name}","comments_url":"https://api.github.com/repos/StackStorm/st2/issues/1843/comments","events_url":"https://api.github.com/repos/StackStorm/st2/issues/1843/events","html_url":"https://github.com/StackStorm/st2/pull/1843","id":101977804,"number":1843,"title":"[st2ctl] Start st2web before Mistral","user":{"login":"Kami","id":125088,"avatar_url":"https://avatars.githubusercontent.com/u/125088?v=3","gravatar_id":"","url":"https://api.github.com/users/Kami","html_url":"https://github.com/Kami","followers_url":"https://api.github.com/users/Kami/followers","following_url":"https://api.github.com/users/Kami/following{/other_user}","gists_url":"https://api.github.com/users/Kami/gists{/gist_id}","starred_url":"https://api.github.com/users/Kami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kami/subscriptions","organizations_url":"https://api.github.com/users/Kami/orgs","repos_url":"https://api.github.com/users/Kami/repos","events_url":"https://api.github.com/users/Kami/events{/privacy}","received_events_url":"https://api.github.com/users/Kami/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-19T19:23:38Z","updated_at":"2015-08-19T20:23:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/StackStorm/st2/pulls/1843","html_url":"https://github.com/StackStorm/st2/pull/1843","diff_url":"https://github.com/StackStorm/st2/pull/1843.diff","patch_url":"https://github.com/StackStorm/st2/pull/1843.patch"},"body":"This is a simple workaround for a problem described here - https://github.com/StackStorm/st2/issues/1841#issuecomment-132733152\r\n\r\n> I am not planning to use mistral and by default, mistral is not installed. But, st2ctl script doesn't start st2web service unless mistral is installed. https://github.com/StackStorm/st2/blob/master/tools/st2ctl#L184 . It fails when mistral service is tried to start and it exits before starting st2web.\r\n\r\nThe solution is not ideal since \"st2ctl start\" will still exit with non-zero if Mistral is not installed, but at least st2web will still be started.\r\n\r\nIdeal / proper solution would be to detect if Mistral is installed / available and only start it if it is. That solution requires a lot more work though, especially if we want to do it the right way."},"comment":{"url":"https://api.github.com/repos/StackStorm/st2/issues/comments/132770160","html_url":"https://github.com/StackStorm/st2/pull/1843#issuecomment-132770160","issue_url":"https://api.github.com/repos/StackStorm/st2/issues/1843","id":132770160,"user":{"login":"lakshmi-kannan","id":1839421,"avatar_url":"https://avatars.githubusercontent.com/u/1839421?v=3","gravatar_id":"","url":"https://api.github.com/users/lakshmi-kannan","html_url":"https://github.com/lakshmi-kannan","followers_url":"https://api.github.com/users/lakshmi-kannan/followers","following_url":"https://api.github.com/users/lakshmi-kannan/following{/other_user}","gists_url":"https://api.github.com/users/lakshmi-kannan/gists{/gist_id}","starred_url":"https://api.github.com/users/lakshmi-kannan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lakshmi-kannan/subscriptions","organizations_url":"https://api.github.com/users/lakshmi-kannan/orgs","repos_url":"https://api.github.com/users/lakshmi-kannan/repos","events_url":"https://api.github.com/users/lakshmi-kannan/events{/privacy}","received_events_url":"https://api.github.com/users/lakshmi-kannan/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T20:23:29Z","updated_at":"2015-08-19T20:23:29Z","body":"LGTM"}}