Bug 1475260 - unable to provision against openstack with a volume attached
Summary: unable to provision against openstack with a volume attached
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.8.0
Hardware: All
OS: All
medium
medium
Target Milestone: GA
: 5.9.0
Assignee: Sam Lucidi
QA Contact: Ido Ovadia
URL:
Whiteboard: openstack
Depends On:
Blocks: 1482170
TreeView+ depends on / blocked
 
Reported: 2017-07-26 10:12 UTC by Felix Dewaleyne
Modified: 2020-12-14 09:15 UTC (History)
10 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1482170 (view as bug list)
Environment:
Last Closed: 2018-03-06 15:51:08 UTC
Category: ---
Cloudforms Team: Openstack
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Felix Dewaleyne 2017-07-26 10:12:45 UTC
Description of problem:
when provisioning against openstack with a volume attached, an error in volume_attachment.rb makes the provision fail

Version-Release number of selected component (if applicable):
5.8.0.17


How reproducible:
all the time

Steps to Reproduce:
1.provision against openstack with a volume attached
2.
3.

Actual results:
[----] E, [2017-07-24T10:15:40.170201 #22188:389140] ERROR -- : Q-task_id([miq_provision_1000000000470]) MIQ(ManageIQ::Providers::Openstack::CloudManager::Provision#provision_error) [[NoMethodError]: undefined method `status' for nil:NilClass] encountered during phase [poll_volumes_complete]
[----] E, [2017-07-24T10:15:40.170359 #22188:389140] ERROR -- : Q-task_id([miq_provision_1000000000470]) /var/www/miq/vmdb/app/models/manageiq/providers/openstack/cloud_manager/provision/volume_attachment.rb:28:in `block (2 levels) in do_volume_creation_check'
/var/www/miq/vmdb/app/models/manageiq/providers/openstack/cloud_manager/provision/volume_attachment.rb:26:in `each'
[...]


Expected results:
provision passes

Additional info:
this isn't the only error present in the logs - there is also
[----] E, [2017-07-24T10:13:22.463452 #6651:389140] ERROR -- : [NoMethodError]: undefined method `name' for nil:NilClass  Method:[rescue in block in refresh]
[----] E, [2017-07-24T10:13:22.464024 #6651:389140] ERROR -- : /var/www/miq/vmdb/app/models/manageiq/providers/openstack/cloud_manager.rb:107:in `swift_service'
/var/www/miq/vmdb/app/models/manageiq/providers/storage_manager/swift_manager/refresh_parser.rb:19:in `initialize'
/var/www/miq/vmdb/app/models/manageiq/providers/storage_manager/swift_manager/refresh_parser.rb:9:in `new'
/var/www/miq/vmdb/app/models/manageiq/providers/storage_manager/swift_manager/refresh_parser.rb:9:in `ems_inv_to_hashes'

Comment 13 Ido Ovadia 2018-02-07 15:59:09 UTC
Verified
========
CFME 5.9.0.20


Note You need to log in before you can comment on or make changes to this bug.