Description of problem: OpenStack Provider (RHELOSP 6 is not being discovered) I don't have other OpenStack environments to test if other versions are affected. Version-Release number of selected component (if applicable): 5.5.0.9-beta2.20151102161742_5530c9a How reproducible: Everytime I try to discover or refresh the provider Steps to Reproduce: Add RHELOSP 6 as a provider Actual results: an error occurrs: [----] E, [2015-11-06T00:37:24.646330 #41004:ed998c] ERROR -- : MIQ(ManageIQ::Providers::Openstack::CloudManager::Refresher#refresh) EMS: [OpenStack], id: [99000000000001] Refresh failed [----] E, [2015-11-06T00:37:24.646639 #41004:ed998c] ERROR -- : [NoMethodError]: undefined method `fetch_path' for nil:NilClass Method:[rescue in block in refresh] [----] E, [2015-11-06T00:37:24.646801 #41004:ed998c] ERROR -- : /var/www/miq/vmdb/app/models/manageiq/providers/openstack/refresh_parser_common/networks.rb:170:in `parse_network_router' /var/www/miq/vmdb/app/models/manageiq/providers/openstack/refresh_parser_common/networks.rb:40:in `block in get_network_routers' /var/www/miq/vmdb/app/models/manageiq/providers/openstack/refresh_parser_common/helper_methods.rb:14:in `process_collection_item' /var/www/miq/vmdb/app/models/manageiq/providers/openstack/refresh_parser_common/helper_methods.rb:8:in `block in process_collection' /var/www/miq/vmdb/app/models/manageiq/providers/openstack/refresh_parser_common/helper_methods.rb:8:in `each' /var/www/miq/vmdb/app/models/manageiq/providers/openstack/refresh_parser_common/helper_methods.rb:8:in `process_collection' /var/www/miq/vmdb/app/models/manageiq/providers/openstack/refresh_parser_common/networks.rb:40:in `get_network_routers' /var/www/miq/vmdb/app/models/manageiq/providers/openstack/cloud_manager/refresh_parser.rb:46:in `ems_inv_to_hashes' /var/www/miq/vmdb/app/models/manageiq/providers/openstack/cloud_manager/refresh_parser.rb:12:in `ems_inv_to_hashes' /var/www/miq/vmdb/app/models/manageiq/providers/openstack/cloud_manager/refresher.rb:6:in `parse_inventory' /var/www/miq/vmdb/app/models/ems_refresh/refreshers/ems_refresher_mixin.rb:19:in `block in refresh' /var/www/miq/vmdb/app/models/ems_refresh/refreshers/ems_refresher_mixin.rb:7:in `each' /var/www/miq/vmdb/app/models/ems_refresh/refreshers/ems_refresher_mixin.rb:7:in `refresh' /var/www/miq/vmdb/app/models/manageiq/providers/base_manager/refresher.rb:10:in `refresh' /var/www/miq/vmdb/app/models/ems_refresh.rb:77:in `block in refresh' /var/www/miq/vmdb/app/models/ems_refresh.rb:76:in `each' /var/www/miq/vmdb/app/models/ems_refresh.rb:76:in `refresh' /var/www/miq/vmdb/app/models/miq_queue.rb:345:in `block in deliver' /opt/rh/rh-ruby22/root/usr/share/ruby/timeout.rb:89:in `block in timeout' /opt/rh/rh-ruby22/root/usr/share/ruby/timeout.rb:34:in `block in catch' /opt/rh/rh-ruby22/root/usr/share/ruby/timeout.rb:34:in `catch' /opt/rh/rh-ruby22/root/usr/share/ruby/timeout.rb:34:in `catch' /opt/rh/rh-ruby22/root/usr/share/ruby/timeout.rb:104:in `timeout' /var/www/miq/vmdb/app/models/miq_queue.rb:341:in `deliver' /var/www/miq/vmdb/app/models/miq_queue_worker_base/runner.rb:106:in `deliver_queue_message' /var/www/miq/vmdb/app/models/miq_queue_worker_base/runner.rb:134:in `deliver_message' /var/www/miq/vmdb/app/models/miq_queue_worker_base/runner.rb:151:in `block in do_work' /var/www/miq/vmdb/app/models/miq_queue_worker_base/runner.rb:145:in `loop' /var/www/miq/vmdb/app/models/miq_queue_worker_base/runner.rb:145:in `do_work' /var/www/miq/vmdb/app/models/miq_worker/runner.rb:323:in `block in do_work_loop' /var/www/miq/vmdb/app/models/miq_worker/runner.rb:320:in `loop' /var/www/miq/vmdb/app/models/miq_worker/runner.rb:320:in `do_work_loop' /var/www/miq/vmdb/app/models/miq_worker/runner.rb:142:in `run' /var/www/miq/vmdb/app/models/miq_worker/runner.rb:123:in `start' /var/www/miq/vmdb/app/models/miq_worker/runner.rb:24:in `start_worker' /var/www/miq/vmdb/lib/workers/bin/worker.rb:2:in `<top (required)>' /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/commands/runner.rb:60:in `load' /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/commands/runner.rb:60:in `<top (required)>' /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/commands/commands_tasks.rb:123:in `require' /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/commands/commands_tasks.rb:123:in `require_command!' /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/commands/commands_tasks.rb:90:in `runner' /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/commands/commands_tasks.rb:39:in `run_command!' /opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/railties/lib/rails/commands.rb:17:in `<top (required)>' /var/www/miq/vmdb/bin/rails:4:in `require' /var/www/miq/vmdb/bin/rails:4:in `<main>' [----] E, [2015-11-06T00:37:24.646882 #41004:ed998c] ERROR -- : MIQ(ManageIQ::Providers::Openstack::CloudManager::Refresher#refresh) EMS: [OpenStack], id: [99000000000001] Unable to perform refresh for the following targets: [----] E, [2015-11-06T00:37:24.646977 #41004:ed998c] ERROR -- : MIQ(ManageIQ::Providers::Openstack::CloudManager::Refresher#refresh) --- ManageIQ::Providers::Openstack::CloudManager [OpenStack] id [99000000000001] Additional info: I tested this on CloudForms 3.2 (current errata) and CloudForms 4 Alpha 1 and it worked perfectly in this environment.
If you need further info the CloudForms appliance IP Address is 10.11.164.109 and all the default passwords.
Created attachment 1090518 [details] logs from CF4
https://github.com/ManageIQ/manageiq/pull/5328
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/3e3045e658675b958dde9518e087857cd216de71 commit 3e3045e658675b958dde9518e087857cd216de71 Author: Ladislav Smola <lsmola> AuthorDate: Fri Nov 6 15:34:09 2015 +0100 Commit: Ladislav Smola <lsmola> CommitDate: Fri Nov 6 15:35:04 2015 +0100 Openstack get reouter external_gateway_info safely Doc says the type is xsd:dict but it can be nil Fixes BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1278654 .../manageiq/providers/openstack/refresh_parser_common/networks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
*** Bug 1286622 has been marked as a duplicate of this bug. ***
http://gitlab.cloudforms.lab.eng.rdu2.redhat.com/cloudforms/cfme/merge_requests/542
New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=4ca22d79b0b23570566cdac3eb42e287c1783f11 commit 4ca22d79b0b23570566cdac3eb42e287c1783f11 Author: Ladislav Smola <lsmola> AuthorDate: Fri Nov 6 15:34:09 2015 +0100 Commit: Ladislav Smola <lsmola> CommitDate: Mon Nov 30 13:20:04 2015 +0100 Openstack get reouter external_gateway_info safely Doc says the type is xsd:dict but it can be nil Fixes BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1278654 .../manageiq/providers/openstack/refresh_parser_common/networks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=2ee029fce1fed4bcee058a045f0a440661af3d11 commit 2ee029fce1fed4bcee058a045f0a440661af3d11 Merge: fe1fdce 4ca22d7 Author: Greg Blomquist <gblomqui> AuthorDate: Mon Nov 30 08:56:57 2015 -0500 Commit: Greg Blomquist <gblomqui> CommitDate: Mon Nov 30 08:56:57 2015 -0500 Merge branch 'bz1278654' into '5.5.z' Openstack get reouter external_gateway_info safely Doc says the type is xsd:dict but it can be nil Fixes BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1278654 Clean cherry-pick of: https://github.com/ManageIQ/manageiq/pull/5328 See merge request !542 .../manageiq/providers/openstack/refresh_parser_common/networks.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Created attachment 1166328 [details] cloud providers Discover cloud providers does not show openstack anymore ? Just shows Azure and Amazon.
Shveta, the heading of this bug is kinda confusing. It refers to error in refresh, not discovery. OpenStack never had a 'discovery', we wait for multi-region support, before starting that.
Fixed. Verified in 5.6.0.10-rc2.1.20160607103248_d06c141
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1348