OSDir


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openstack] openstack-ansible deployment failure


The patch fixed it, indeed a race condition.


-----Original Message-----
From: Logan V. <logan at protiumit.com> 
Sent: Saturday, March 24, 2018 23:35
To: Pascal Watteel <pascal at watteel.be>
Cc: openstack at lists.openstack.org
Subject: Re: [Openstack] openstack-ansible deployment failure

Hi Pascal,

I think the patch here https://review.openstack.org/#/c/556046/ might fix your problem. We just merged it in master (rocky) today, and it should be merged in Queens also over the next few days.

In the mean time it would be great if you could apply the one line change to /etc/ansible/roles/os_cinder/tasks/main.yml and re-run the os-cinder-install.yml playbook to confirm this fixes your issue. Would love to hear your feedback on whether the fix works for you.

Thanks
Logan

On Sat, Mar 24, 2018 at 11:52 AM, Pascal Watteel <pascal at watteel.be> wrote:
> Hey guys, any help highly appreciated.
>
>
>
> Iâ??m deploying the new queens to my openstack lab, as I have done 
> previously with other versions.
>
> Iâ??m now getting an error I canâ??t seem to get past.
>
>
>
> TASK [os_cinder : Add in cinder devices types]
> **********************************************************************
> ***************************************************************
>
> Saturday 24 March 2018  20:44:54 +0400 (0:00:00.627)       0:04:07.892
> ********
>
> failed: [infra1_cinder_api_container-b900b48a] (item={'key': 'lvm', 'value':
> {'volume_group': 'cinder-volumes', 'iscsi_ip_address': '192.168.102.35',
> 'volume_backend_name': 'LVM_iS                 CSI', 'volume_driver':
> 'cinder.volume.drivers.lvm.LVMVolumeDriver'}}) => {"changed": false, "cmd":
> ". /root/openrc\n CLI_OPTIONS=\"\"\n if !
> /openstack/venvs/cinder-17.0.0/bin/cind                 er ${CLI_OPTIONS}
> type-list | grep \" lvm \"; then\n 
> /openstack/venvs/cinder-17.0.0/bin/cinder
> ${CLI_OPTIONS} type-create \"lvm\"\n
> /openstack/venvs/cinder-17.0.0/bin/cinder ${CLI_                 OPTIONS}
> type-key \"lvm\" set volume_backend_name=\"LVM_iSCSI\"\n fi", "delta":
> "0:00:05.750871", "end": "2018-03-24 20:45:00.887828", "item": {"key":
> "lvm", "value": {"iscsi_ip_ad                 dress": "192.168.102.35",
> "volume_backend_name": "LVM_iSCSI", "volume_driver":
> "cinder.volume.drivers.lvm.LVMVolumeDriver", "volume_group":
> "cinder-volumes"}}, "msg": "non-zero ret                 urn code", "rc": 1,
> "start": "2018-03-24 20:44:55.136957", "stderr": "ERROR: Unable to 
> establish connection to
> http://192.168.101.35:8776/v3/07b4cacc4ae34c35aeb87ede038c0a9f/types:
> ('Connection aborted.', BadStatusLine(\"''\",))\nERROR: No volumetype 
> with a name or ID of 'lvm' exists.", "stderr_lines": ["ERROR: Unable 
> to establish connection to http://192.16
> 8.101.35:8776/v3/07b4cacc4ae34c35aeb87ede038c0a9f/types: ('Connection 
> aborted.', BadStatusLine(\"''\",))", "ERROR: No volumetype with a name or ID
> of 'lvm' exists."], "stdout": "",                  "stdout_lines": []}
>
>
>
> any advise
>
>
>
> Regards
>
>
>
> Watteel Pascal
>
>
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : 
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>