ManageIQ / manageiq-providers-openstack

ManageIQ plugin for the OpenStack provider.
https://www.openstack.org/
Apache License 2.0
12 stars 92 forks source link

Having disabled projects can stop information gathering #595

Closed jbeal-work closed 1 year ago

jbeal-work commented 4 years ago

All our projects have admin as a member.

If we disable a project then the following do not get updated : Instances, images and security groups.

For example here I have disabled team117 and only team117

Project Name team117 Project ID e33cb0886a664b709c20a7f6ede743f0 Enabled No Description None

Then after setting fog to debug

[----] D, [2020-05-27T07:57:34.232753 #3603:98c600] DEBUG -- : excon.request {:uri=>"https://pilot.internal.sanger.ac.uk:13000/v3/auth/tokens", :method=>"POST", :headers=> {"User-Agent"=>"fog-core/1.45.0", "Content-Type"=>"application/json", "Host"=>"pilot.internal.sanger.ac.uk:13000"}, :body=> {"auth"=> {"identity"=> {"methods"=>["password"], "password"=> {"user"=> {"name"=>"admin", "domain"=>{"id"=>"default"}, "password"=>"****"}}}, "scope"=>{"project"=>{"name"=>"admin", "domain"=>{"id"=>"default"}}}}}}

[----] D, [2020-05-27T07:57:34.261978 #3595:98c600] DEBUG -- : excon.error #<Excon::Error::Unauthorized: Expected([200, 201]) <=> Actual(401 Unauthorized) excon.error.response :body => "{\"error\": {\"message\": \"The request you have made requires authentication.\", \"code\": 401, \"title\": \"Unauthorized\"}}" :cookies => [ ] :headers => { "Content-Length" => "114" "Content-Type" => "application/json" "Date" => "Wed, 27 May 2020 07:57:34 GMT" "Server" => "Apache" "Vary" => "X-Auth-Token" "WWW-Authenticate" => "Keystone uri=\"https://eta.internal.sanger.ac.uk:13000\"" "x-openstack-request-id" => "req-3780d107-eac1-4997-a491-5e20601f182c" } :host => "eta.internal.sanger.ac.uk" :local_address => "192.168.252.23" :local_port => 51670 :path => "/v3/auth/tokens" :port => 13000 :reason_phrase => "Unauthorized" :remote_ip => "172.27.66.20" :status => 401 :status_line => "HTTP/1.1 401 Unauthorized\r\n"

[----] D, [2020-05-27T07:57:34.267724 #3595:98c600] DEBUG -- : excon.request {:uri=>"https://eta.internal.sanger.ac.uk:13000/v3/auth/tokens", :method=>"POST", :headers=> {"User-Agent"=>"fog-core/1.45.0", "Content-Type"=>"application/json", "Host"=>"eta.internal.sanger.ac.uk:13000"}, :body=> {"auth"=> {"identity"=> {"methods"=>["password"], "password"=> {"user"=> {"name"=>"admin", "domain"=>{"id"=>"default"}, "password"=>"****"}}}, "scope"=>{"project"=>{"name"=>"team117", "domain"=>{"id"=>"default"}}}}}}

[----] D, [2020-05-27T07:57:34.301995 #3595:98c600] DEBUG -- : excon.error #<Excon::Error::Unauthorized: Expected([200, 201]) <=> Actual(401 Unauthorized) excon.error.response :body => "{\"error\": {\"message\": \"The request you have made requires authentication.\", \"code\": 401, \"title\": \"Unauthorized\"}}" :cookies => [ ] :headers => { "Content-Length" => "114" "Content-Type" => "application/json" "Date" => "Wed, 27 May 2020 07:57:34 GMT" "Server" => "Apache" "Vary" => "X-Auth-Token" "WWW-Authenticate" => "Keystone uri=\"https://eta.internal.sanger.ac.uk:13000\"" "x-openstack-request-id" => "req-1b10968d-af36-4121-b1fe-6df572a3bc30" } :host => "eta.internal.sanger.ac.uk" :local_address => "192.168.252.23" :local_port => 51674 :path => "/v3/auth/tokens" :port => 13000 :reason_phrase => "Unauthorized" :remote_ip => "172.27.66.20" :status => 401 :status_line => "HTTP/1.1 401 Unauthorized\r\n"

jbeal-work commented 4 years ago

image And cloud volumes

miq-bot commented 1 year ago

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation.

miq-bot commented 1 year ago

This issue has been automatically closed because it has not been updated for at least 3 months.

Feel free to reopen this issue if this issue is still valid.

Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation.