Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

can anybody help me in installing devstack

I had installed Ubuntu 12.10 on my PC and Following the steps given on the site http://devstack.org/guides/single-machine.html but I get the following error:

root@anita:~# cd devstack root@anita:~/devstack# ./stack.sh You are running this script as root. In 10 seconds, we will create a user 'stack' and run as that user Giving stack user passwordless sudo privileges Copying files to stack user cp: cannot create directory /opt/stack/devstack': No such file or directory chown: cannot access/opt/stack/devstack': No such file or directory ./stack.sh: line 205: cd: /opt/stack/devstack: No such file or directory bash: /root/.bash_profile: Permission denied stack.sh: line 28: /root/devstack/functions: Permission denied stack.sh: line 33: GetDistro: command not found stack.sh: line 98: log_error: command not found stack.sh: line 100: /root/devstack/stackrc: Permission denied stack.sh: line 107: export_proxy_variables: command not found stack.sh: line 125: log_error: command not found stack.sh: line 131: log_error: command not found stack.sh: line 135: /root/devstack/lib/database: Permission denied stack.sh: line 136: /root/devstack/lib/rpc_backend: Permission denied stack.sh: line 141: disable_negated_services: command not found WARNING: this script has not been tested on stack.sh: line 148: die: command not found stack.sh: line 154: check_rpc_backend: command not found stack.sh: line 166: trueorfalse: command not found stack.sh: line 214: is_package_installed: command not found stack.sh: line 214: die: command not found sudo: parse error in /etc/sudoers.d/50_stack_sh near line 1 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin sudo: parse error in /etc/sudoers.d/50_stack_sh near line 1 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin sudo: parse error in /etc/sudoers.d/50_stack_sh near line 1 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin stack.sh: line 239: check_path_perm_sanity: command not found stack.sh: line 244: trueorfalse: command not found stack.sh: line 249: trueorfalse: command not found sudo: parse error in /etc/sudoers.d/50_stack_sh near line 1 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin sudo: parse error in /etc/sudoers.d/50_stack_sh near line 1 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin stack.sh: line 269: get_default_host_ip: command not found stack.sh: line 271: die: command not found stack.sh: line 281: trueorfalse: command not found stack.sh: line 290: trueorfalse: command not found stack.sh: line 300: /root/devstack/lib/tls: Permission denied stack.sh: line 301: /root/devstack/lib/horizon: Permission denied stack.sh: line 302: /root/devstack/lib/keystone: Permission denied stack.sh: line 303: /root/devstack/lib/glance: Permission denied stack.sh: line 304: /root/devstack/lib/nova: Permission denied stack.sh: line 305: /root/devstack/lib/cinder: Permission denied stack.sh: line 306: /root/devstack/lib/swift: Permission denied stack.sh: line 307: /root/devstack/lib/ceilometer: Permission denied stack.sh: line 308: /root/devstack/lib/heat: Permission denied stack.sh: line 309: /root/devstack/lib/quantum: Permission denied stack.sh: line 310: /root/devstack/lib/baremetal: Permission denied stack.sh: line 311: /root/devstack/lib/ldap: Permission denied stack.sh: line 376: initialize_database_backends: command not found No database enabled stack.sh: line 382: is_service_enabled: command not found stack.sh: line 390: is_service_enabled: command not found stack.sh: line 416: is_service_enabled: command not found Installing package prerequisites...[/]root@anita:~/devstack#

can anybody help me in installing devstack

I had installed Ubuntu 12.10 on my PC and Following the steps given on the site http://devstack.org/guides/single-machine.html but I get the following error:

root@anita:~# cd devstack root@anita:~/devstack# ./stack.sh You are running this script as root. In 10 seconds, we will create a user 'stack' and run as that user Giving stack user passwordless sudo privileges Copying files to stack user cp: cannot create directory /opt/stack/devstack': No such file or directory chown: cannot access/opt/stack/devstack': No such file or directory ./stack.sh: line 205: cd: /opt/stack/devstack: No such file or directory bash: /root/.bash_profile: Permission denied stack.sh: line 28: /root/devstack/functions: Permission denied stack.sh: line 33: GetDistro: command not found stack.sh: line 98: log_error: command not found stack.sh: line 100: /root/devstack/stackrc: Permission denied stack.sh: line 107: export_proxy_variables: command not found stack.sh: line 125: log_error: command not found stack.sh: line 131: log_error: command not found stack.sh: line 135: /root/devstack/lib/database: Permission denied stack.sh: line 136: /root/devstack/lib/rpc_backend: Permission denied stack.sh: line 141: disable_negated_services: command not found WARNING: this script has not been tested on stack.sh: line 148: die: command not found stack.sh: line 154: check_rpc_backend: command not found stack.sh: line 166: trueorfalse: command not found stack.sh: line 214: is_package_installed: command not found stack.sh: line 214: die: command not found sudo: parse error in /etc/sudoers.d/50_stack_sh near line 1 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin sudo: parse error in /etc/sudoers.d/50_stack_sh near line 1 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin sudo: parse error in /etc/sudoers.d/50_stack_sh near line 1 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin stack.sh: line 239: check_path_perm_sanity: command not found stack.sh: line 244: trueorfalse: command not found stack.sh: line 249: trueorfalse: command not found sudo: parse error in /etc/sudoers.d/50_stack_sh near line 1 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin sudo: parse error in /etc/sudoers.d/50_stack_sh near line 1 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin stack.sh: line 269: get_default_host_ip: command not found stack.sh: line 271: die: command not found stack.sh: line 281: trueorfalse: command not found stack.sh: line 290: trueorfalse: command not found stack.sh: line 300: /root/devstack/lib/tls: Permission denied stack.sh: line 301: /root/devstack/lib/horizon: Permission denied stack.sh: line 302: /root/devstack/lib/keystone: Permission denied stack.sh: line 303: /root/devstack/lib/glance: Permission denied stack.sh: line 304: /root/devstack/lib/nova: Permission denied stack.sh: line 305: /root/devstack/lib/cinder: Permission denied stack.sh: line 306: /root/devstack/lib/swift: Permission denied stack.sh: line 307: /root/devstack/lib/ceilometer: Permission denied stack.sh: line 308: /root/devstack/lib/heat: Permission denied stack.sh: line 309: /root/devstack/lib/quantum: Permission denied stack.sh: line 310: /root/devstack/lib/baremetal: Permission denied stack.sh: line 311: /root/devstack/lib/ldap: Permission denied stack.sh: line 376: initialize_database_backends: command not found No database enabled stack.sh: line 382: is_service_enabled: command not found stack.sh: line 390: is_service_enabled: command not found stack.sh: line 416: is_service_enabled: command not found Installing package prerequisites...[/]root@anita:~/devstack#

click to hide/show revision 3
No.3 Revision

can anybody help me in installing devstack

I had installed Ubuntu 12.10 on my PC and Following the steps given on the site http://devstack.org/guides/single-machine.html but I get the following error:

root@anita:~#  cd devstack
root@anita:~/devstack# ./stack.sh
You are running this script as root.
In 10 seconds, we will create a user 'stack' and run as that user
Giving stack user passwordless sudo privileges
Copying files to stack user
cp: cannot create directory /opt/stack/devstack': `/opt/stack/devstack': No such file or directory
chown: cannot access/opt/stack/devstack': access `/opt/stack/devstack': No such file or directory
./stack.sh: line 205: cd: /opt/stack/devstack: No such file or directory
bash: /root/.bash_profile: Permission denied
stack.sh: line 28: /root/devstack/functions: Permission denied
stack.sh: line 33: GetDistro: command not found
stack.sh: line 98: log_error: command not found
stack.sh: line 100: /root/devstack/stackrc: Permission denied
stack.sh: line 107: export_proxy_variables: command not found
stack.sh: line 125: log_error: command not found
stack.sh: line 131: log_error: command not found
stack.sh: line 135: /root/devstack/lib/database: Permission denied
stack.sh: line 136: /root/devstack/lib/rpc_backend: Permission denied
stack.sh: line 141: disable_negated_services: command not found
WARNING: this script has not been tested on 
stack.sh: line 148: die: command not found
stack.sh: line 154: check_rpc_backend: command not found
stack.sh: line 166: trueorfalse: command not found
stack.sh: line 214: is_package_installed: command not found
stack.sh: line 214: die: command not found
sudo: parse error in /etc/sudoers.d/50_stack_sh near line 1
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin
sudo: parse error in /etc/sudoers.d/50_stack_sh near line 1
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin
sudo: parse error in /etc/sudoers.d/50_stack_sh near line 1
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin
stack.sh: line 239: check_path_perm_sanity: command not found
stack.sh: line 244: trueorfalse: command not found
stack.sh: line 249: trueorfalse: command not found
sudo: parse error in /etc/sudoers.d/50_stack_sh near line 1
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin
sudo: parse error in /etc/sudoers.d/50_stack_sh near line 1
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin
stack.sh: line 269: get_default_host_ip: command not found
stack.sh: line 271: die: command not found
stack.sh: line 281: trueorfalse: command not found
stack.sh: line 290: trueorfalse: command not found
stack.sh: line 300: /root/devstack/lib/tls: Permission denied
stack.sh: line 301: /root/devstack/lib/horizon: Permission denied
stack.sh: line 302: /root/devstack/lib/keystone: Permission denied
stack.sh: line 303: /root/devstack/lib/glance: Permission denied
stack.sh: line 304: /root/devstack/lib/nova: Permission denied
stack.sh: line 305: /root/devstack/lib/cinder: Permission denied
stack.sh: line 306: /root/devstack/lib/swift: Permission denied
stack.sh: line 307: /root/devstack/lib/ceilometer: Permission denied
stack.sh: line 308: /root/devstack/lib/heat: Permission denied
stack.sh: line 309: /root/devstack/lib/quantum: Permission denied
stack.sh: line 310: /root/devstack/lib/baremetal: Permission denied
stack.sh: line 311: /root/devstack/lib/ldap: Permission denied
stack.sh: line 376: initialize_database_backends: command not found
No database enabled
stack.sh: line 382: is_service_enabled: command not found
stack.sh: line 390: is_service_enabled: command not found
stack.sh: line 416: is_service_enabled: command not found
Installing package prerequisites...[/]root@anita:~/devstack# 

prerequisites...[/]root@anita:~/devstack#