Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1888413

Summary: cinder-volume container can't be created in step 5 with octavia enabled.
Product: Red Hat OpenStack Reporter: jhardee
Component: openstack-octaviaAssignee: Nate Johnston <njohnston>
Status: CLOSED DUPLICATE QA Contact: Bruna Bonguardo <bbonguar>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 16.1 (Train)CC: cgoncalves, ihrachys, lpeer, majopela, nchandek, scohen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-15 07:07:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description jhardee 2020-10-14 19:25:35 UTC
Description of problem:
When enabling octavia in the overcloud the cinder-volume container can't be created in step 5 thus deployments are failing.


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


How reproducible: N/A


Steps to Reproduce:
1.
2.
3.

Actual results:
Deployment fails during step 5 of deployment. Error they are seeing

fatal: [vlo-undercloud-s01]: FAILED! => {\"changed\": true, \"cmd\": \"openstack image create --disk-format qcow2  --container-format bare --tag amphora-image  --file /usr/share/openstack-octavia-amphora-images/octavia-amphora.qcow2  --property hw_architecture=x86_64  --private octavia-amphora-16.1-20200722.1.x86_64\\n\", \"delta\": \"0:00:14.203100\", \"end\": \"2020-10-13 19:22:38.230420\", \"msg\": \"non-zero return code\", \"rc\": 1, \"start\": \"2020-10-13 19:22:24.027320\", \"stderr\": \"HTTP 500 Internal Server Error: The server has either erred or is incapable of performing the requested operation.\", \"stderr_lines\": [\"HTTP 500 Internal Server Error: The server has either erred or is incapable of performing the requested operation.\"], \"stdout\": \"\", \"stdout_lines\": []}


Expected results:
Deployment will finish successfully.



Additional info:
The customer is using glance for cinder backend.  When octavia is removed from templates from the deployment; then cinder-volume container starts at step 5 and deploy is fine.

From what we can see when enabling octavia; none of the controller nodes have cinder-volume-role node attribute set and so pacemaker is not starting the container in step 5 and for this property to be set there has to be a container that's created in step 2 cinder_volume_init_bundle which is also not created on any of the controller nodes so that explains why the cinder-volume service isn't started.

However looking into the plan we can see that the CinderVolume Service is mapping to the cinder-volume-pacemaker-puppet.yaml so this should be fine. At this point I am not sure what is going wrong when enabling octavia so as the deployments are failing.


We also asked the customer to set explicit mapping for OS::TripleO::Services::CinderVolume service and run a stack update and see if that mitigates this issue.

Comment 3 Carlos Goncalves 2020-10-15 06:38:57 UTC
The image service (Glance) is commonly expected to be fully configured and servicing prior to step 5, however it seems not to be the case when Cinder is configured as Glance backend. This causes Director to fail to upload the amphora image to Glance.

The description of the bug here reported is very much what is reported in BZ #1712421. Could you please have a look and confirm whether it is a duplicate or not?
Thank you.