Ask Your Question
0

Problem deploying Kilo devstack on Ubuntu 14.0.4

asked 2015-08-24 11:36:08 -0500

naman31 gravatar image

Hi Team,

I am new to openstack and i am trying to learn it by setting up through devstack.

My environment: I am running on my laptop as VM (VMware workstation), i have installed Ubuntu 14.0.4 LTS already.

I am following below guides http://docs.openstack.org/developer/devstack/guides/single-machine.html (http://docs.openstack.org/developer/d...)

http://fosshelp.blogspot.com/2015/04/devstack-install-stable-openstack-kilo.html (http://fosshelp.blogspot.com/2015/04/...)

I created another user with name stack and when i try to run ./stack.sh below is the error. Can anyone help me?

stack@naman-virtual-machine:~/devstack$ git branch * stable/kilo stack@naman-virtual-machine:~/devstack$ stack@naman-virtual-machine:~/devstack$ ls clean.sh extras.d inc README.md stack.sh doc files lib rejoin-stack.sh tests driver_certs functions LICENSE run_tests.sh tools eucarc functions-common MAINTAINERS.rst samples tox.ini exerciserc FUTURE.rst Makefile setup.cfg unstack.sh exercises gate openrc setup.py exercise.sh HACKING.rst pkg stackrc stack@naman-virtual-machine:~/devstack$ ./stack.sh [sudo] password for stack: stack is not in the sudoers file. This incident will be reported.

thanks naman

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-08-26 12:29:41 -0500

Balagopal gravatar image

updated 2015-08-26 12:32:43 -0500

Seems it is the problem with stack user creation. Initially in the devstack folder run the ./stack.sh it will asks you for stack user creation for example, root@openstack:~/devstack# ./stack.sh You are running this script as root. If you need an account to run DevStack, do this (as root, heh) to create a non-root account: /root/devstack/tools/create-stack-user.sh then run the file root@openstack:~/devstack# /root/devstack/tools/create-stack-user.sh It will create stack user and adds the stack user to sudoers file. Now follow this steps 1. su stack 2. clone devstack 3. switch to stable/kilo 4. ./stack.sh

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

Stats

Asked: 2015-08-24 11:36:08 -0500

Seen: 271 times

Last updated: Aug 26 '15