{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/molecule/issues/1666","repository_url":"https://api.github.com/repos/ansible/molecule","labels_url":"https://api.github.com/repos/ansible/molecule/issues/1666/labels{/name}","comments_url":"https://api.github.com/repos/ansible/molecule/issues/1666/comments","events_url":"https://api.github.com/repos/ansible/molecule/issues/1666/events","html_url":"https://github.com/ansible/molecule/issues/1666","id":399439899,"node_id":"MDU6SXNzdWUzOTk0Mzk4OTk=","number":1666,"title":"too many common errors are offuscated in ansible, requiring run with --debug","user":{"login":"ssbarnea","id":102495,"node_id":"MDQ6VXNlcjEwMjQ5NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/102495?v=4","gravatar_id":"","url":"https://api.github.com/users/ssbarnea","html_url":"https://github.com/ssbarnea","followers_url":"https://api.github.com/users/ssbarnea/followers","following_url":"https://api.github.com/users/ssbarnea/following{/other_user}","gists_url":"https://api.github.com/users/ssbarnea/gists{/gist_id}","starred_url":"https://api.github.com/users/ssbarnea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssbarnea/subscriptions","organizations_url":"https://api.github.com/users/ssbarnea/orgs","repos_url":"https://api.github.com/users/ssbarnea/repos","events_url":"https://api.github.com/users/ssbarnea/events{/privacy}","received_events_url":"https://api.github.com/users/ssbarnea/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ansible/molecule/milestones/2","html_url":"https://github.com/ansible/molecule/milestone/2","labels_url":"https://api.github.com/repos/ansible/molecule/milestones/2/labels","id":4018165,"node_id":"MDk6TWlsZXN0b25lNDAxODE2NQ==","number":2,"title":"v.2.21","description":"","creator":{"login":"themr0c","id":243761,"node_id":"MDQ6VXNlcjI0Mzc2MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/243761?v=4","gravatar_id":"","url":"https://api.github.com/users/themr0c","html_url":"https://github.com/themr0c","followers_url":"https://api.github.com/users/themr0c/followers","following_url":"https://api.github.com/users/themr0c/following{/other_user}","gists_url":"https://api.github.com/users/themr0c/gists{/gist_id}","starred_url":"https://api.github.com/users/themr0c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/themr0c/subscriptions","organizations_url":"https://api.github.com/users/themr0c/orgs","repos_url":"https://api.github.com/users/themr0c/repos","events_url":"https://api.github.com/users/themr0c/events{/privacy}","received_events_url":"https://api.github.com/users/themr0c/received_events","type":"User","site_admin":false},"open_issues":68,"closed_issues":7,"state":"open","created_at":"2019-01-31T13:15:05Z","updated_at":"2019-02-21T14:48:02Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2019-01-15T16:54:43Z","updated_at":"2019-02-22T06:54:46Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"This is a generic issue with molecule which can really put many users off: a big number of very common execution errors are offuscated by crytic errors and you never find the cause till you run molecule again in debug mode.\r\n\r\nOne such example: what happens if local docker is stopped. Just try it.\r\n\r\nExpected behaviour: get a clear error and not have to run molecule in debug mode in order to find out the cause.\r\n\r\nAnother issue that make this issue even more problematic is that `--debug` is extreamly verbose and as far as I know there is nothing in-between normal execution and debug mode. For example I almost never found useful to see the \"blue\" connection messages, but the other changes in verbosity did prove essential for debugging errors. It may be my lack of knowledge but I wasn't able to find something less verbose."},"comment":{"url":"https://api.github.com/repos/ansible/molecule/issues/comments/466293864","html_url":"https://github.com/ansible/molecule/issues/1666#issuecomment-466293864","issue_url":"https://api.github.com/repos/ansible/molecule/issues/1666","id":466293864,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2NjI5Mzg2NA==","user":{"login":"ssbarnea","id":102495,"node_id":"MDQ6VXNlcjEwMjQ5NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/102495?v=4","gravatar_id":"","url":"https://api.github.com/users/ssbarnea","html_url":"https://github.com/ssbarnea","followers_url":"https://api.github.com/users/ssbarnea/followers","following_url":"https://api.github.com/users/ssbarnea/following{/other_user}","gists_url":"https://api.github.com/users/ssbarnea/gists{/gist_id}","starred_url":"https://api.github.com/users/ssbarnea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssbarnea/subscriptions","organizations_url":"https://api.github.com/users/ssbarnea/orgs","repos_url":"https://api.github.com/users/ssbarnea/repos","events_url":"https://api.github.com/users/ssbarnea/events{/privacy}","received_events_url":"https://api.github.com/users/ssbarnea/received_events","type":"User","site_admin":false},"created_at":"2019-02-22T06:54:46Z","updated_at":"2019-02-22T06:54:46Z","author_association":"CONTRIBUTOR","body":"I am glad to see others feel the same pain. As someone that tries to advocate molecule use to others I find the need to run afain with debug very inconvenient.\r\n\r\nWe should aim to get meaninful error on normal runs, without asking user to add extra params in order to findout about stuff like:\r\n- unable to connect to docker\r\n- docker module was not importable\r\n- docker build failed....\r\n\r\nI am not saying that default execution should be more verbose but I am saying that failed tasks should be verbose. "}}
{"actor":{"display_login":"ssbarnea"}}