2019-12-14 23:29:17 |
James Bagwell |
description |
Steps to reproduce
==================
Deploy openstack stein containerized deployment
Expected result
===============
Overcloud deployed successfully.
Actual result
=============
Full deployment command: /usr/bin/python2 /usr/bin/openstack cbis overcloud deploy --templates templates/ --no-cleanup
Ansible Command: ansible-playbook-2 -vvvvv /tmp/ansible-mistral-actionoKf_6L/playbook.yaml --become --become-user root --inventory-file /tmp/ansible-mistral-actionoKf_6L/inventory.yaml
fails during the deployment with exit code 1.
(undercloud) [stack@undercloud cbis]$ ls -lha /dev/ | grep shm
drwxrwxrwt. 2 root root 60 Dec 14 22:04 shm
(undercloud) [stack@undercloud cbis]$ ls -lha /dev/shm
total 84K
drwxrwxrwt. 2 root root 60 Dec 14 22:04 .
drwxr-xr-x. 19 root root 3.2K Dec 14 22:27 ..
-rw-------. 1 root root 81K Dec 14 20:35 libpod_lock
Environment
===========
1. Stein with Centos 7.7
1.5 3 Controllers , 2 ovs computes.
2. ceph version 12.2.11 (26dc3775efc7bb286a1d6d66faee0ba30ea23eee) luminous (stable)
3. ansible 2.8.4
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/cbis-admin/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible
python version = 2.7.5 (default, Aug 7 2019, 00:51:29) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
3. Which networking type did you use?
Openvswitch
Logs & Configs
==============
Stdout: u"ansible-playbook-2 2.8.0\n config file = /tmp/ansible-mistral-actionoKf_6L/ansible.cfg\n configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules', u'/usr/share/openstack-tripleo-validations/library']\n ansible python module location = /usr/lib/python2.7/site-packages/ansible\n executable location = /bin/ansible-playbook-2\n python version = 2.7.5 (default, Aug 7 2019, 00:51:29) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]\nUsing /tmp/ansible-mistral-actionoKf_6L/ansible.cfg as config file\nsetting up inventory plugins\nhost_list declined parsing /tmp/ansible-mistral-actionoKf_6L/inventory.yaml as it did not pass it's verify_file() method\nscript declined parsing /tmp/ansible-mistral-actionoKf_6L/inventory.yaml as it did not pass it's verify_file() method\nParsed /tmp/ansible-mistral-actionoKf_6L/inventory.yaml inventory source with yaml plugin\n"
Stderr: u'ERROR! Unable to use multiprocessing, this is normally caused by lack of access to /dev/shm: [Errno 13] Permission denied\n' |
Summary:
==================
Deployment of stein overcloud fails with Stderr: u'ERROR! Unable to use multiprocessing, this is normally caused by lack of access to /dev/shm: [Errno 13] Permission denied\n'
Steps to reproduce
==================
Deploy openstack stein containerized deployment
Expected result
===============
Overcloud deployed successfully.
Actual result
=============
Full deployment command: /usr/bin/python2 /usr/bin/openstack cbis overcloud deploy --templates templates/ --no-cleanup
Ansible Command: ansible-playbook-2 -vvvvv /tmp/ansible-mistral-actionoKf_6L/playbook.yaml --become --become-user root --inventory-file /tmp/ansible-mistral-actionoKf_6L/inventory.yaml
fails during the deployment with exit code 1.
================
Quick troubleshooting shows correct permissions of shm.
(undercloud) [stack@undercloud cbis]$ ls -lha /dev/ | grep shm
drwxrwxrwt. 2 root root 60 Dec 14 22:04 shm
(undercloud) [stack@undercloud cbis]$ ls -lha /dev/shm
total 84K
drwxrwxrwt. 2 root root 60 Dec 14 22:04 .
drwxr-xr-x. 19 root root 3.2K Dec 14 22:27 ..
-rw-------. 1 root root 81K Dec 14 20:35 libpod_lock
Environment
===========
Stein with Centos 7.7
3 Controllers , 2 ovs computes.
ceph version 12.2.11 (26dc3775efc7bb286a1d6d66faee0ba30ea23eee) luminous (stable)
ansible 2.8.4
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/cbis-admin/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible
python version = 2.7.5 (default, Aug 7 2019, 00:51:29) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
Which networking type did you use?
Openvswitch
Logs & Configs
==============
Stdout: u"ansible-playbook-2 2.8.0\n config file = /tmp/ansible-mistral-actionoKf_6L/ansible.cfg\n configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules', u'/usr/share/openstack-tripleo-validations/library']\n ansible python module location = /usr/lib/python2.7/site-packages/ansible\n executable location = /bin/ansible-playbook-2\n python version = 2.7.5 (default, Aug 7 2019, 00:51:29) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]\nUsing /tmp/ansible-mistral-actionoKf_6L/ansible.cfg as config file\nsetting up inventory plugins\nhost_list declined parsing /tmp/ansible-mistral-actionoKf_6L/inventory.yaml as it did not pass it's verify_file() method\nscript declined parsing /tmp/ansible-mistral-actionoKf_6L/inventory.yaml as it did not pass it's verify_file() method\nParsed /tmp/ansible-mistral-actionoKf_6L/inventory.yaml inventory source with yaml plugin\n"
Stderr: u'ERROR! Unable to use multiprocessing, this is normally caused by lack of access to /dev/shm: [Errno 13] Permission denied\n' |
|