Queen issue adding compute nodes

Bug #1784949 reported by Satish Patel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-ansible
Confirmed
Undecided
Unassigned

Bug Description

I finish queens upgrade and now time to add compute node but strange thing happening, on compute node getting following error when running os-nova-install.yml

http://paste.openstack.org/show/727086/

missing file /openstack/venvs/nova-17.0.8/lib/python2.7/guestfs.py

I found i don't have /openstack/venvs/nova-17.0.8 directory, question is who install that directory and why its missing ?

Revision history for this message
Satish Patel (satish-txt) wrote :

TASK [os_nova : Link guestfs into the venv] *****************************************************************************************************************************************
Wednesday 01 August 2018 18:28:33 -0400 (0:00:00.340) 0:01:43.946 ******
failed: [ostack-compute-01] (item={u'state': u'link', u'name': u'/usr/lib/python2.7/dist-packages/libguestfsmod.so'}) => {"changed": false, "failed": true, "linkfiles": {"name": "/usr/lib/python2.7/dist-packages/libguestfsmod.so", "state": "link"}, "msg": "Error while linking: [Errno 2] No such file or directory", "path": "/openstack/venvs/nova-17.0.8/lib/python2.7/libguestfsmod.so", "state": "absent"}
failed: [ostack-compute-01] (item={u'state': u'link', u'name': u'/usr/lib/python2.7/dist-packages/libguestfsmod.so'}) => {"changed": false, "failed": true, "linkfiles": {"name": "/usr/lib/python2.7/dist-packages/guestfs.py", "state": "link"}, "msg": "Error while linking: [Errno 2] No such file or directory", "path": "/openstack/venvs/nova-17.0.8/lib/python2.7/guestfs.py", "state": "absent"}

Revision history for this message
Amy Marrich (amy-marrich) wrote :

Can you provide the steps you used in your upgrade process and please look for any failed tasks

Changed in openstack-ansible:
status: New → Confirmed
Revision history for this message
Byron McCollum (byron-mccollum) wrote :

Were you following the steps outlined in the Operations Guide for adding Compute Nodes?

https://docs.openstack.org/openstack-ansible/latest/admin/scale-environment.html#add-a-compute-host

Revision history for this message
Satish Patel (satish-txt) wrote :

After doing this it fixed issue, It seems this is a bug, playbook should handle this condition and remove cache content if exists. Or make error more descriptive so people understand why its failing.

rm /var/cache/nova-17.0.8-x86_64.tgz

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.