Help me install devstack in linux 16.04
Here are my steps:-
add new user named stack – This stack user is the adminstrator of the openstack services.
To add new user – run the command as root user.
adduser stack
Logout the system and login as stack user
Run the command (this installs git repo package)
sudo apt-get install git
Run the command (This clones updatesd version of dev-stack (which is binary auto-installer package of Openstack)
git clone https://git.openstack.org/openstack-dev/devstack ls (this shows a folder named devstack) cd devstack (enter into the folder)
create a file called local.conf. To do this run the command, nano local.conf
In the file, make the following entry
[[local|localrc]] FLOATING_RANGE=192.168.1.224/27 FIXED_RANGE=10.11.11.0/24 FIXED_NETWORK_SIZE=256 FLAT_INTERFACE=eth0 ADMIN_PASSWORD=root DATABASE_PASSWORD=root RABBIT_PASSWORD=root SERVICE_PASSWORD=root SERVICE_TOCKEN=root
Save this file
Run the command (This installs Opentack)
./stack.sh
When I ran "./stack.sh", I get the following error:-
+functions-common:git_clone:541 [[ False = \T\r\u\e ]] +functions-common:git_clone:567 cd /opt/stack/neutron +functions-common:git_clone:568 git show --oneline +functions-common:git_clone:568 head -1 fatal: your current branch 'master' does not have any commits yet +functions-common:git_clone:569 cd /home/stack/openstack/devstack +lib/neutron-legacy:install_mutnauq:408 setup_develop /opt/stack/neutron +inc/python:setup_develop:271 local project_dir=/opt/stack/neutron +inc/python:setup_develop:272 local extras= +inc/python:setup_develop:273 _setup_package_with_constraints_edit /opt/stack/neutron -e +inc/python:_setup_package_with_constraints_edit:303 local project_dir=/opt/stack/neutron +inc/python:_setup_package_with_constraints_edit:304 local flags=-e +inc/python:_setup_package_with_constraints_edit:305 local extras= ++inc/python:_setup_package_with_constraints_edit:312 cd /opt/stack/neutron ++inc/python:_setup_package_with_constraints_edit:312 pwd +inc/python:_setup_package_with_constraints_edit:312 project_dir=/opt/stack/neutron +inc/python:_setup_package_with_constraints_edit:314 '[' -n /opt/stack/requirements ']' +inc/python:_setup_package_with_constraints_edit:316 local name ++inc/python:_setup_package_with_constraints_edit:317 awk '/^name.*=/ {print $3}' /opt/stack/neutron/setup.cfg awk: fatal: cannot open file `/opt/stack/neutron/setup.cfg' for reading (No such file or directory) +inc/python:_setup_package_with_constraints_edit:317 name= +inc/python:_setup_package_with_constraints_edit:1 exit_trap +./stack.sh:exit_trap:487 local r=2 ++./stack.sh:exit_trap:488 jobs -p +./stack.sh:exit_trap:488 jobs= +./stack.sh:exit_trap:491 [[ -n '' ]] +./stack.sh:exit_trap:497 kill_spinner +./stack.sh:kill_spinner:383 '[' '!' -z '' ']' +./stack.sh:exit_trap:499 [[ 2 -ne 0 ]] +./stack.sh:exit_trap:500 echo 'Error on exit' Error on exit +./stack.sh:exit_trap:501 generate-subunit 1474126342 140 fail +./stack.sh:exit_trap:502 [[ -z /opt/stack/logs ]] +./stack.sh:exit_trap:505 /home/stack/openstack/devstack/tools/worlddump.py -d /opt/stack/logs World dumping... see /opt/stack/logs/worlddump-2016-09-17-153442.txt for details +./stack.sh:exit_trap:511 exit 2
Following are my queries/clarifications:-
- Currently I am using master branchon https://git.openstack.org/openstack-dev/devstack (https://git.openstack.org/openstack-d...). Is it correct ? or any issues in master branch ?
- Do I need to any other branch or tag for success installation ?
If you anyone got success in installing openstack recently. Kindly provide me step by step procedure or any recorded videos ?
why not use the steps here http://docs.openstack.org/developer/d... ?
I still get same error after following your step in the above link.