Ask Your Question
0

lp:~annegentle/nova/fixnewscript --> Tried but failed

asked 2011-01-12 15:21:39 -0500

dkang gravatar image

I followed directions in https://code.launchpad.net/~annegentle/nova/fixnewscript (https://code.launchpad.net/~annegentl...) . But, installation failed at step 4. The error messages and the commands used are shown below.

--- error message --- root@island107:/etc/nova# /usr/bin/python /usr/bin/nova-manage user admin dkang Traceback (most recent call last):

File "/usr/bin/nova-manage", line 596, in <module>

    main()

File "/usr/bin/nova-manage", line 575, in main

    command_object = fn()

File "/usr/bin/nova-manage", line 264, in init

    self.manager = manager.AuthManager?()

File "/usr/lib/pymodules/python2.6/nova/auth/manager.py", line 213, in init

    self.network_manager = utils.import_object(FLAGS.network_manager)

File "/usr/lib/pymodules/python2.6/nova/utils.py", line 63, in import_object

    cls = import_class(import_str)

File "/usr/lib/pymodules/python2.6/nova/utils.py", line 54, in import_class

    raise exception.NotFound?(_('Class %s cannot be found') % class_str)

nova.exception.NotFound?: Class conf cannot be found root@island107:/etc/nova#

--- the instructions that I used ---

893 sudo apt-get install python-software-properties
894 sudo apt-get install nova-common nova-doc python-nova nova-api nova-network nova-objectstore nova-scheduler
895 ls /etc/nova
896 pushd /etc/nova
897 vi nova.conf
898 ls -l
899 date
900 vi nova.conf
901 ifconfig
902 vi nova.conf
903 vi /etc/group
904 addgroup nova
905 chown -R root:nova /etc/nova
906 chmod 644 /etc/nova/nova.conf
907 MYSQL_PASS=nova
908 cat <<MYSQL_PRESEED | debconf-set-selections

    mysql-server-5.1 mysql-server/root_password password $MYSQL_PASS
    mysql-server-5.1 mysql-server/root_password_again password $MYSQL_PASS
    mysql-server-5.1 mysql-server/start_on_boot boolean true

MYSQL_PRESEED

909 vi /etc/mysql/my.cnf
910 ps aux | grep mysql
911 cat <<MYSQL_PRESEED | debconf-set-selections

    mysql-server-5.1 mysql-server/root_password password $MYSQL_PASS
    mysql-server-5.1 mysql-server/root_password_again password $MYSQL_PASS
    mysql-server-5.1 mysql-server/start_on_boot boolean true

MYSQL_PRESEED

912 /usr/bin/python /usr/bin/nova-manage user admin dkang
913 sudo apt-get install nova-common nova-doc python-nova nova-api nova-network nova-objectstore nova-scheduler
914 vi nova.conf
915 /usr/bin/python /usr/bin/nova-manage user dkang
916 sudo /etc/init.d/networking restart
917 ls
918 /usr/bin/python /usr/bin/nova-manage user admin dkang
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2011-01-12 16:17:34 -0500

dkang gravatar image

I followed the directions in doc/source/adminguide/multi.node.install.rst

edit flag offensive delete link more
0

answered 2011-01-12 19:02:17 -0500

dkang gravatar image

A comment following --network_manager=nva.network.manager.FlatManager caused the problem.

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: 2011-01-12 15:21:39 -0500

Seen: 27 times

Last updated: Jan 12 '11