Ask Your Question

Mark Hamzy's profile - activity

2017-03-30 09:47:12 -0500 received badge  Supporter (source)
2017-03-30 09:46:36 -0500 commented answer triple-o undercloud installation error on CentOS7.3

This is the how you switch, by the way...

[stack@instack ~]$ export DIB_INSTALLTYPE_puppet_modules=packages

[stack@instack ~]$ openstack undercloud install

2016-07-20 11:05:34 -0500 received badge  Necromancer (source)
2016-07-20 11:05:34 -0500 received badge  Teacher (source)
2016-02-10 11:17:51 -0500 answered a question Keystone-all - ImportError: cannot import name deploy

You need to uninstall and reinstall PasteDeploy via pip. Somehow

pip install -U -r /opt/nova/requirements.txt

did not work the way it was supposed to.

root@pkvmci829:~# pip show PasteDeploy | grep Location
Location: /usr/lib/python2.7/dist-packages
root@pkvmci829:~# ls /usr/lib/python2.7/dist-packages/paste/
ls: cannot access /usr/lib/python2.7/dist-packages/paste/: No such file or directory
root@pkvmci829:~# pip uninstall PasteDeploy
Uninstalling PasteDeploy-1.5.2:
Proceed (y/n)?
root@pkvmci829:~# pip uninstall --yes PasteDeploy && pip install 'PasteDeploy>=1.5.0'  
root@pkvmci829:~# python -c 'from paste import deploy'