Installing Nova on a Single Host

Asked by shihangwei

now ,i have 1 computer,and i install Nova a Single Host,but i cannot understand that the nova-manage create network use for what?
for instance ? and must i have 2 computers,or must have i my private network?
newbie ,thanks for any help.

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
shihangwei
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
Jesse Andrews (anotherjesse) said :
#1

The command "nova-manage network create" creates networks / IP addresses that are allocated to virtual machines. Even if you are running on a single box you will need them.

Two computers aren't needed.

Revision history for this message
shihangwei (shihangwei) said :
#2

To anotherjesse :
"nova-manage network create" creates networks / IP addresses,but when i euca-upload-bundle ,
socket.error:(113,'No route to host')
there is a problem with my mysql ?

Revision history for this message
shihangwei (shihangwei) said :
#3

To anotherjesse :
"nova-manage network create" creates networks / IP addresses,but when i euca-upload-bundle ,
socket.error:(113,'No route to host')
there is a problem with my mysql ?

Revision history for this message
Christian Berendt (berendt) said :
#4

please paste your /etc/nova/nova.conf and take a look into the logfiles located in /var/log/nova/.

you can create a new network for example with "nova-manage network create 192.168.0.0/24 1 256". Afterwards check if there is a new network with "nova-manage network list".

Revision history for this message
shihangwei (shihangwei) said :
#5

To Christian Berendt:

[root@localhost nova]# nova-manage network list
list does not match any options:
           create
[root@localhost nova]#

i did not create the network ?
and i cannot find the logfile =.=

Revision history for this message
Christian Berendt (berendt) said :
#6

I thought my patch for nova-manage network list were already included in the upstream.. ;)

Login to your database and run "select * from networks;" in your nova-database, this will do the same and you can verify the creation.

you can define the logdir in /etc/nova/nova.conf with "--logdir=/var/log/nova". I think you have to create /var/log/nova manually. Also it's useful to use "--use_syslog" and "--verbose".

have you set the flag "--s3_host=HOST"? Is nova-objectstore running (if not using some other object storage..)? I think euca-upload-bundle does not need a an entry in the networks table, because it's talking with the S3 or Glance and not with the database in any way.

Revision history for this message
shihangwei (shihangwei) said :
#7

oh~ nova-objectstore is not running , and i have set --s3_host,- -logdir=/var/log/nova ,but there is nothing.
 and now nova-objectstore is running,but new error ,
 BotoServerError : 500 Internal Service Error ...

Revision history for this message
Christian Berendt (berendt) said :
#8

What version of python-boto are you using? You have to use the one in the PPA. And it's always useful to paste the full error.

Revision history for this message
shihangwei (shihangwei) said :
#9

the boto version is boto-2.0b4,and what is the PPA ?

Revision history for this message
shihangwei (shihangwei) said :
#10

my OS is centos5.5

Revision history for this message
Christian Berendt (berendt) said :
#11

That's the wrong boto version, I thing you have to use 1.9 with a patch. Please check the PPA yourself. You can find it here: http://ppa.launchpad.net/openstack/.

Revision history for this message
shihangwei (shihangwei) said :
#12

now i use 1.9 version,but also BotoServerError : 500 Internal Service Error ...

Revision history for this message
shihangwei (shihangwei) said :
#13

and i can not nova-api,nova-compute,nova-network,nova-scheduler.
when i update
BotoServerError : 500 Internal Service Error ...

Revision history for this message
shihangwei (shihangwei) said :
#14

and i can not nova-api,nova-compute,nova-network,nova-scheduler.
when i euca-upload-bundle
BotoServerError : 500 Internal Service Error ...

Revision history for this message
Sandy Walsh (sandy-walsh) said :
#15

Could you please post your nova.conf file?

Revision history for this message
shihangwei (shihangwei) said :
#16

i have solved this,i did 'nova-network' ...