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

Asked by David Kang

I followed directions in https://code.launchpad.net/~annegentle/nova/fixnewscript.
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

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
David Kang
Solved:
Last query:
Last reply:
Revision history for this message
David Kang (dkang) said :
#1

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

Revision history for this message
David Kang (dkang) said :
#2

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