{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/13364","repository_url":"https://api.github.com/repos/ManageIQ/manageiq","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/13364/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/13364/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/13364/events","html_url":"https://github.com/ManageIQ/manageiq/issues/13364","id":198995755,"number":13364,"title":"New Openstack Cloud Provider Fails to refresh because of a non-existent flavor","user":{"login":"aivrit","id":13823435,"avatar_url":"https://avatars.githubusercontent.com/u/13823435?v=3","gravatar_id":"","url":"https://api.github.com/users/aivrit","html_url":"https://github.com/aivrit","followers_url":"https://api.github.com/users/aivrit/followers","following_url":"https://api.github.com/users/aivrit/following{/other_user}","gists_url":"https://api.github.com/users/aivrit/gists{/gist_id}","starred_url":"https://api.github.com/users/aivrit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aivrit/subscriptions","organizations_url":"https://api.github.com/users/aivrit/orgs","repos_url":"https://api.github.com/users/aivrit/repos","events_url":"https://api.github.com/users/aivrit/events{/privacy}","received_events_url":"https://api.github.com/users/aivrit/received_events","type":"User","site_admin":false},"labels":[{"id":106615676,"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/bug","name":"bug","color":"fc2929","default":true},{"id":200426334,"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/providers/openstack/cloud","name":"providers/openstack/cloud","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":{"login":"mansam","id":628956,"avatar_url":"https://avatars.githubusercontent.com/u/628956?v=3","gravatar_id":"","url":"https://api.github.com/users/mansam","html_url":"https://github.com/mansam","followers_url":"https://api.github.com/users/mansam/followers","following_url":"https://api.github.com/users/mansam/following{/other_user}","gists_url":"https://api.github.com/users/mansam/gists{/gist_id}","starred_url":"https://api.github.com/users/mansam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mansam/subscriptions","organizations_url":"https://api.github.com/users/mansam/orgs","repos_url":"https://api.github.com/users/mansam/repos","events_url":"https://api.github.com/users/mansam/events{/privacy}","received_events_url":"https://api.github.com/users/mansam/received_events","type":"User","site_admin":false},"assignees":[{"login":"mansam","id":628956,"avatar_url":"https://avatars.githubusercontent.com/u/628956?v=3","gravatar_id":"","url":"https://api.github.com/users/mansam","html_url":"https://github.com/mansam","followers_url":"https://api.github.com/users/mansam/followers","following_url":"https://api.github.com/users/mansam/following{/other_user}","gists_url":"https://api.github.com/users/mansam/gists{/gist_id}","starred_url":"https://api.github.com/users/mansam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mansam/subscriptions","organizations_url":"https://api.github.com/users/mansam/orgs","repos_url":"https://api.github.com/users/mansam/repos","events_url":"https://api.github.com/users/mansam/events{/privacy}","received_events_url":"https://api.github.com/users/mansam/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2017-01-05T16:21:17Z","updated_at":"2017-01-11T17:59:40Z","closed_at":null,"body":"I added openstack vanilla as a cloud provider and the task was successful with valid credentials,\r\nBut the cloud inventory stays empty, with refresh constantly failing with error: \r\n> \"undefined` method `[]' for nil:NilClass\"\r\n\r\nI went to check in /var/www/miq/vmdb/log/fog.log and found that for some reason refresh causes the system to try and get details of a non-existent flavor id that causes an error and the consequent failure.\r\nI am not sure if it is a bug or something wrong with my configuration.\r\nTested on euwe-1 with a vanilla openstack newton installation.\r\nedit: issue does not occur on openstack liberty.\r\n\r\n the exact error:\r\n> ERROR -- : excon.error     #<Excon::Error::NotFound: Expected([200, 203]) <=> Actual(404 Not Found)\r\nexcon.error.response\r\n  :body          => \"{\\\"itemNotFound\\\": {\\\"message\\\": \\\"Flavor 942f501a-a8cf-42c1-87bb-8773a7f95318 could not be found.\\\", \\\"code\\\": 404}}\"\r\n  :cookies       => [\r\n  ]\r\n  :headers       => {\r\n    \"Content-Length\"               => \"109\"\r\n    \"Content-Type\"                 => \"application/json; charset=UTF-8\"\r\n    \"Date\"                         => \"Thu, 05 Jan 2017 15:37:10 GMT\"\r\n    \"Openstack-Api-Version\"        => \"compute 2.1\"\r\n    \"Vary\"                         => \"OpenStack-API-Version, X-OpenStack-Nova-API-Version\"\r\n    \"X-Compute-Request-Id\"         => \"req-ea96cc91-12dc-4fe5-972f-d60bc3fc15ce\"\r\n    \"X-Openstack-Nova-Api-Version\" => \"2.1\"\r\n  }\r\n  :host          => \"controller\"\r\n  :local_address => \"10.0.0.18\"\r\n  :local_port    => 36930\r\n  :path          => \"/v2.1/9ebdfa922b8d43229b0517f0e64fef91/flavors/942f501a-a8cf-42c1-87bb-8773a7f95318.json\"\r\n  :port          => 8774\r\n  :reason_phrase => \"Not Found\"\r\n  :remote_ip     => \"10.0.0.11\"\r\n  :status        => 404\r\n  :status_line   => \"HTTP/1.1 404 Not Found\\r\\n\"\r\n>\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/271943396","html_url":"https://github.com/ManageIQ/manageiq/issues/13364#issuecomment-271943396","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/13364","id":271943396,"user":{"login":"aivrit","id":13823435,"avatar_url":"https://avatars.githubusercontent.com/u/13823435?v=3","gravatar_id":"","url":"https://api.github.com/users/aivrit","html_url":"https://github.com/aivrit","followers_url":"https://api.github.com/users/aivrit/followers","following_url":"https://api.github.com/users/aivrit/following{/other_user}","gists_url":"https://api.github.com/users/aivrit/gists{/gist_id}","starred_url":"https://api.github.com/users/aivrit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aivrit/subscriptions","organizations_url":"https://api.github.com/users/aivrit/orgs","repos_url":"https://api.github.com/users/aivrit/repos","events_url":"https://api.github.com/users/aivrit/events{/privacy}","received_events_url":"https://api.github.com/users/aivrit/received_events","type":"User","site_admin":false},"created_at":"2017-01-11T17:59:40Z","updated_at":"2017-01-11T17:59:40Z","body":"@tzumainn I don't think it's likely.. like I said it was a fresh manageiq euwe-1 from the vagrant atlas and a brand new openstack newton environment from osbash.. \r\nif you need info to pull from the enviroment for debugging, I can install it again and check whatever you see fit.. \r\nby the way, just to make sure, was your successful test on vanilla newton?\r\n"}}
{"actor":{"display_login":"aivrit"}}