Ask Your Question
1

error installing openstack using packstack

asked 2016-08-06 19:27:46 -0500

alireza gravatar image

hi everyone i have installed centos 7 (server GUI) in vmware i want to install openstack mitaka using rdo packstack

i did : $ sudo systemctl disable firewalld $ sudo systemctl stop firewalld $ sudo systemctl disable NetworkManager $ sudo systemctl stop NetworkManager $ sudo systemctl enable network $ sudo systemctl start network

$ sudo yum install -y centos-release-openstack-mitaka $ sudo yum update -y $ sudo yum install -y openstack-packstack

then : $ packstack --allinone

but i got this error : 192.168.130.133_cinder.pp: [ ERROR ]
Applying Puppet manifests [ ERROR ]

ERROR : Error appeared during Puppet run: 192.168.130.133_cinder.pp Error: Could not prefetch cinder_type provider 'openstack': Command: 'openstack ["volume type", "list", "--quiet", "--format", "csv", "--long"]' has been running for more then 20 seconds!

i've got enough resources and internet speed

so what shall i do now ?

thanks

edit retag flag offensive close merge delete

Comments

Hi, Please share the logs once after you faced that error. Also check for the value CONFIG_CINDER_BACKEND in the packstack answer file. Regards

Praveen N gravatar imagePraveen N ( 2016-08-06 20:51:18 -0500 )edit

In the packstack answer file, leave the parameter CONFIG_CINDER_BACKEND to blank removing lvm. Then run that answer file. Also this seems like a bug. https://bugs.launchpad.net/packstack/...

Praveen N gravatar imagePraveen N ( 2016-08-06 21:07:13 -0500 )edit

CONFIG_CINDER_BACKEND=

unfortunately it didn't work thanks for your answer

alireza gravatar imagealireza ( 2016-08-08 18:57:11 -0500 )edit

3 answers

Sort by ยป oldest newest most voted
0

answered 2016-08-08 14:12:12 -0500

dashpartha gravatar image

I know for begineers its bit tough. follow this video & you will be good to go..

https://www.youtube.com/watch?v=eOlIB323c8s (https://www.youtube.com/watch?v=eOlIB...)

Thanks Partha

edit flag offensive delete link more
0

answered 2016-08-07 01:05:31 -0500

dbaxps gravatar image

updated 2016-08-07 10:53:46 -0500

UPDATE 19:51 MSK 08/07/16
Try before install :-

 pip install osc-lib

END UPDATE
Sounds like keystone V2 now is affected in the same way as keystone V3 was since release RDO MItaka.

Run packstack --gen-answer-file=answer.txt and check for default keystone version
My concern is it still V2 either they switched to V3. My answer itself follows bellow.

See :-
https://bugzilla.redhat.com/show_bug....
https://review.openstack.org/#/c/318762/
I would try back port patch and try with V2 in case of failure, option been tested was to switch to V3 via generated answer file and manage as in :-
http://bderzhavets.blogspot.com/2016/...
If instructions above appears to be hard to reproduce I am posting ugly hack bellow which worked for me nicely.

 Another option generate answer file and run packstack --answer-file=./generated-answer.txt. Check status of cinder services after crash, if they are up and running, then disable cinder set up  via answer file and rerun.  Both ways worked for me with Keystone V3 been set up in generated-answer.txt
edit flag offensive delete link more

Comments

packstack --answer-file=./generated-answer.txt showed the error again then i made the keystone version to 3 (was v2.0 by default) and showed many errors thanks for your answer

alireza gravatar imagealireza ( 2016-08-08 19:00:48 -0500 )edit

Keystone API V3 requires back porting patches see :-
http://bderzhavets.blogspot.com/2016/...

dbaxps gravatar imagedbaxps ( 2016-08-09 04:06:26 -0500 )edit

Back port patches as advised for V3

dbaxps gravatar imagedbaxps ( 2016-08-09 04:06:51 -0500 )edit

Also please provide all stack trace . Does it complain failure to import osc_lib at the end

dbaxps gravatar imagedbaxps ( 2016-08-09 04:34:17 -0500 )edit
0

answered 2016-08-10 23:15:33 -0500

Would you mind trying RDO? This is the current repo: https://repos.fedorapeople.org/repos/...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-08-06 19:27:46 -0500

Seen: 1,732 times

Last updated: Aug 10 '16