Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi all, thanks for the comments/thoughts. Few follow on questions to clarify things so I understand.

"A week ago, I set up a Devstack without a hitch" - What operating system were you using? I'd like to see if I can replicate that.

"The purpose of a Devstack cloud is to provide a testing environment for continuous integration of the OpenStack project" - So DevStack isn't designed to act as an installer for OpenStack? It's more designed for managing updates to OpenStack itself?

"Also, cloning a stable branch of Devstack is more likely to lead to working cloud than the master branch." - I would have expected that the Master branch would have been stable, but ok. Looking here, https://opendev.org/openstack/devstack/src/branch/stable/ussuri, it looks like the way the DevStack repo is split up is to have the different versions split out into separate branches. Seems a bit of an unusual way to work but I can give that a go with selecting the Stable/Ussuri branch and see if that works.

"If your stack.sh stops at line 599, why don't you share your local.conf and a detailed problem description?" - The local.conf file I created has 4 lines of code in;

ADMIN_PASSWORD=password DATABASE_PASSWORD=password RABBIT_PASSWORD=password SERVICE_PASSWORD=password

"Or try Packstack, which could be described as a finished, packaged product." - Thanks, I'll give that a go to see if I can make more progress using that.

"As Bernd said, your problems are with DevStack, not OpenStack. And what he didn't mention is that DevStack is actually developed and managed by OpenDev ... which is not formally part of OpenStack anymore." - So given that, let's say I theoretically wanted to do a full OpenStack install without using either DevStack or PackStack - How would I go about doing that? Can you point me in the direction of a guide/tutorial that explain this process. I've read through so many of the guides on the OpenStack website and they don't seem to go into enough hands on level of detail about what you need to do to get it set up. Lots of conceptual points discussed, but very few "run command X" then "run command Y" type information. Unless I've missed something blindingly obvious?

"Reporting something like "git and nano are not automatically included in Centos 7" would only waste your own and other people's time." - I'd disagree on that. If someone has spent the time to put a tutorial together which has dependencies, those dependencies should be mentioned in the tutorial. Likewise, the tutorial that exists on the OpenStack website mentioned in the original post - that document should be updated to be accurate as it currently doesn't work when you follow those instructions to the letter. It doesn't help newbies like myself.

"I suggest that you report your DevStack problems via the channels mentioned" - Thanks, I'll get those reported in those channels so at least they can be fixed.

"You can also submit bugs to Devstack's documentation page. Just click on the cute bug symbol. Even better, you can contribute to fixing those bugs." - Thanks, I'll do that too. I'd love to contribute to fixing the bugs - but I don't know what the actual problem is as I'm a newbie and I have yet to get a working setup myself :-)

So, given all the above comments. I guess what I'm really looking for is a fully working and accurate tutorial for how to get OpenStack setup. Is there a working guide that anyone can point me to that I can work through?

Regards, Michael

Hi all, thanks for the comments/thoughts. Few follow on questions to clarify things so I understand.

"A week ago, I set up a Devstack without a hitch" - What operating system were you using? I'd like to see if I can replicate that.

"The purpose of a Devstack cloud is to provide a testing environment for continuous integration of the OpenStack project" - So DevStack isn't designed to act as an installer for OpenStack? It's more designed for managing updates to OpenStack itself?

"Also, cloning a stable branch of Devstack is more likely to lead to working cloud than the master branch." - I would have expected that the Master branch would have been stable, but ok. Looking here, https://opendev.org/openstack/devstack/src/branch/stable/ussuri, it looks like the way the DevStack repo is split up is to have the different versions split out into separate branches. Seems a bit of an unusual way to work but I can give that a go with selecting the Stable/Ussuri branch and see if that works.

"If your stack.sh stops at line 599, why don't you share your local.conf and a detailed problem description?" - The local.conf file I created has 4 lines of code in;

ADMIN_PASSWORD=password DATABASE_PASSWORD=password RABBIT_PASSWORD=password SERVICE_PASSWORD=password

"Or try Packstack, which could be described as a finished, packaged product." - Thanks, I'll give that a go to see if I can make more progress using that.

"As Bernd said, your problems are with DevStack, not OpenStack. And what he didn't mention is that DevStack is actually developed and managed by OpenDev ... which is not formally part of OpenStack anymore." - So given that, let's say I theoretically wanted to do a full OpenStack install without using either DevStack or PackStack - How would I go about doing that? Can you point me in the direction of a guide/tutorial that explain this process. I've read through so many of the guides on the OpenStack website and they don't seem to go into enough hands on level of detail about what you need to do to get it set up. Lots of conceptual points discussed, but very few "run command X" then "run command Y" type information. Unless I've missed something blindingly obvious?

"Reporting something like "git and nano are not automatically included in Centos 7" would only waste your own and other people's time." - I'd disagree on that. If someone has spent the time to put a tutorial together which has dependencies, those dependencies should be mentioned in the tutorial. Likewise, the tutorial that exists on the OpenStack website mentioned in the original post - that document should be updated to be accurate as it currently doesn't work when you follow those instructions to the letter. It doesn't help newbies like myself.

"I suggest that you report your DevStack problems via the channels mentioned" - Thanks, I'll get those reported in those channels so at least they can be fixed.

"You can also submit bugs to Devstack's documentation page. Just click on the cute bug symbol. Even better, you can contribute to fixing those bugs." - Thanks, I'll do that too. I'd love to contribute to fixing the bugs - but I don't know what the actual problem is as I'm a newbie and I have yet to get a working setup myself :-)

So, given all the above comments. I guess what I'm really looking for is a fully working and accurate tutorial for how to get OpenStack setup. Is there a working guide that anyone can point me to that I can work through?

Regards, Michael

EDIT - After Trying to use DevStack with CentOS 8 - Summary, More Errors

Just updating this answer as this Forum doesn't seem to allow proper conversations easily...

After installing CentOS 8 then following the same original guide. This hit the permissions issue with DevStack (again, not documented...). You actually need to run the following command before running the ./stack.sh command (Ref: https://ask.openstack.org/en/question/125141/optstackdevstackfunctions583-invalid-path-permissions/) ;

'chmod 755 /opt/stack/'

Even still, this gets further but still ends up with the following error output;


Installing collected packages: voluptuous, pbr, linecache2, traceback2, six, argparse, unittest2, extras, python-mimeparse, testtools, fixtures, wcwidth, prettytable, python-subunit, PyYAML, stevedore, pyparsing, pyperclip, cmd2, cliff, future, stestr, os-testr Attempting uninstall: six Found existing installation: six 1.14.0 Uninstalling six-1.14.0: Successfully uninstalled six-1.14.0 Attempting uninstall: PyYAML Found existing installation: PyYAML 5.3 ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. +inc/python:pip_install:1 exit_trap +./stack.sh:exit_trap:489 local r=1 ++./stack.sh:exit_trap:490 jobs -p +./stack.sh:exit_trap:490 jobs= +./stack.sh:exit_trap:493 [[ -n '' ]] +./stack.sh:exit_trap:499 '[' -f '' ']' +./stack.sh:exit_trap:504 kill_spinner +./stack.sh:kill_spinner:399 '[' '!' -z '' ']' +./stack.sh:exit_trap:506 [[ 1 -ne 0 ]] +./stack.sh:exit_trap:507 echo 'Error on exit' Error on exit +./stack.sh:exit_trap:509 type -p generate-subunit +./stack.sh:exit_trap:512 [[ -z /opt/stack/logs ]] +./stack.sh:exit_trap:515 /usr/bin/python3.6 /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs World dumping... see /opt/stack/logs/worlddump-2020-05-29-220039.txt for details table `broute' is incompatible, use 'nft' tool. . +./stack.sh:exit_trap:524 exit 1 [stack@localhost devstack]$


I'm off to try Ubuntu Server 18.04 next with DevStack....