Glance cinder store missing some configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Undecided
|
Craig McIntyre |
Bug Description
Environment:
Underlay o/s: Ubuntu Bionic 18.04.1
Zadara Storage for Cinder Backend using iSER
$ cat /etc/openstack-
# Ansible managed
DISTRIB_ID="OSA"
DISTRIB_
DISTRIB_
DISTRIB_
Issue:
When attempting to configure glance store for cinder to implement volume backed images [0] an error is being generated:
ERROR glance_
More complete debug log here:
http://
Diagnostic steps:
Following discussions in #openstack-cinder and #openstack-glance it was noted that the rootwrap files are missing and need adding [1]
Adding these files progresses a little further but highlights an issue with the glance user not being a sudoer
Jun 06 14:41:25 localhost.
Jun 06 14:41:25 localhost.
Jun 06 14:41:25 localhost.
After manually creating the glance_sudoers file the process progresses a little further then errors out about olso_rootwrap not being found
"WARNING oslo.privsep.daemon [-] privsep log: ImportError: No module named oslo_rootwrap.cmd"
manually installed oslo_rootwrap 5.14.1 [2] as per release notes [3]
Process progresses further but results in an error connecting to iscsi backend - this is a known issue of iSCSI in containers.
Re-deploying glance on metal with network connectivity to the back end storage allowed the process to complete.
[0] https:/
[1] https:/
[2] https:/
[3] https:/
Result:
Some files need creating as part of the os_glance role playbook
Fix proposed to branch: master /review. opendev. org/667704
Review: https:/