Openstack - cloud provider - Flavor XX could not be found

fine

#1

Hi,

I’ve recently installed MIQ and added my Openstack provider, however i keep getting this error

[----] E, [2017-05-30T12:42:07.749362 #3692:f69140] ERROR – : MIQ(MiqQueue#deliver) Message id: [685695], Error: [Expected([200, 203]) <=> Actual(404 Not Found)
excon.error.response
:body => “{“itemNotFound”: {“message”: “Flavor 11 could not be found.”, “code”: 404}}”
:cookies => [
]
:headers => {
“Content-Length” => "75"
“Content-Type” => "application/json; charset=UTF-8"
“Date” => “Tue, 30 May 2017 11:42:07 GMT”
“X-Compute-Request-Id” => “req-ab4066e9-573f-445d-bf70-614c4746e006”
}
:host => “nova.c1.cloud.corp”
:local_address => “10.15.13.21”
:local_port => 60896
:path => “/v2/0182e1248f29469f8980d5df64417d85/flavors/11/os-flavor-access.json”
:port => 8774
:reason_phrase => “Not Found”
:remote_ip => “180.14.32.13”
:status => 404
:status_line => “HTTP/1.1 404 Not Found\r\n”
]

I’ve looked all over the place and found this bug report

https://github.com/ManageIQ/manageiq-providers-openstack/pull/1

but I’m not sure if there’s an actual fix as my installation is very recent (Version fine-1.20170518152824_4a79947)


#2

This is issue still exist on recent MIQ version. So not to hack the nova database, i got a workaround for now

  1. Create a flavor using the UUID in question and the error will go away.