Red Hat Bugzilla – Bug 1265816
Manila Puppet Module Expects Glance Endpoint to Be Available for Upload of Service Image
Last modified: 2016-05-19 11:48:08 EDT
Created attachment 1076296 [details]
Packstack Answers File
Description of problem:
During a packstack install of RDO Trunk (the Liberty prerelease) the Manila Puppet Module failed waiting for the Glance service to become available. Manila uses Glance to upload the service image required for the generic share driver to function. It appears that the issue is that packstack will wait until all services are installed before creating the API endpoints in Keystone. This causes the packstack installer to fail because the Glance service is unavailable.
Version-Release number of selected component (if applicable):
Looks like every time you attempt to install Manila with packstack this will occur.
Steps to Reproduce:
1. Install a server with Fedora 22 x64
2. Create a new user called "stack" and assign password.
3. Add stack user to sudoers for passwordless access.
4. Add Delorean repositories
5. Install openstack-packstack (sudo yum install -y openstack-packstack)
6. Use packstack to generate an answer file (packstack --gen-answer-file=answer.txt)
7. Change the value of "CONFIG_MANILA_INSTALL" to be "y".
8. Use the answer file to install RDO with packstack (packstack --answer-file=answer.txt)
The Manila Puppet module fails due to the Glance endpoint not being available and the Packstack RDO install halts and fails.
The Manila Puppet module shall complete successfully and the Packstack RDO install shall complete successfully.
See attachments for the openstack-setup.log, Manila Puppet Log, and the answers file used.
Created attachment 1076297 [details]
OpenStack Setup Log
Created attachment 1076299 [details]
Manila Puppet Logs
This should be fixed by https://review.openstack.org/194114 . Actually, I can't reproduce it in my test setup (with CentOS7).
Can you check if Glance is working in your test environment when this error happens? If might be a Glance problem rather than a Manila one.
Created attachment 1076581 [details]
Glance API Core Dump
It looks like the Glance API service and the Glance Registry are SegFaulting when they try to start up. That would certainly explain why Manila couldn't find the API endpoint. Attached is the Glance API core dump and I will also attach the Glance Registry Core Dump in the next comment.
Created attachment 1076583 [details]
Glance Registry Core Dump
And here's the Glance Registry Core Dump.
Please run in permissive and attach /var/log/audit/audit.log - it sounds like there's an execmem issue which has come up due to use of python-cryptography and cffi.
Created attachment 1076601 [details]
Here's the audit log from the packstack runs. It should contain the runs with both enforcing and permissive SELinux settings.
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.