Problem on running "nova boot myserver"

Stephen Liu satimis at yahoo.com
Thu Aug 2 15:30:36 UTC 2012



- snip -

> Ok, requests to 10.0.0.2 are going somewhere, you may need to fire up
> traceroute to see where the requests are going, 10.0.0.2 might clash
> with the IP range on your local network or across a VPN. If that the
> case then you should use another range in the call to

$ traceroute 10.0.0.2
traceroute to 10.0.0.2 (10.0.0.2), 30 hops max, 60 byte packets
 1  * * *
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
.......


> "Failed to schedule_run_instance: No valid host was found."
> 
> this usually means the scheduler couldn't find a suitable compute host
> on which to run a VM, an example of why this could happen is that your
> compute node doesn't have enough memory to run a VM on. Can you delete
> the VM in the error state and try nova boot with --flavor 1 which will
> request less memory.

Pls explain in more detail on "which VM to be deleted"?  All other VMs were not running when I tested Fedora 17

>>  nova delete <uuid>
>>  nova boot ....
> 
> If memory isn't the problem it may also have something todo with the
> error logged in cert.log above

memory assigned to Fedora 17 is 1536M.  I can assign more memory to it.  I have 8G memory onboard.

$ tail /var/log/nova/cert.log 
Command: sh /usr/lib/python2.7/site-packages/nova/CA/genrootca.sh
Exit code: 1
Stdout: ''
Stderr: "cp: cannot create regular file `openssl.cnf': Permission denied\nsed: can't read openssl.cnf: No such file or directory\nerror on line -1 of ./openssl.cnf\n139858879027040:error:02001002:system library:fopen:No such file or directory:bss_file.c:169:fopen('./openssl.cnf','rb')\n139858879027040:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:172:\n139858879027040:error:0E078072:configuration file routines:DEF_LOAD:no such file:conf_def.c:197:\ntouch: cannot touch `index.txt': Permission denied\n/usr/lib/python2.7/site-packages/nova/CA/genrootca.sh: line 28: serial: Permission denied\nUsing configuration from ./openssl.cnf\nerror loading the config file './openssl.cnf'\n140352122591072:error:02001002:system library:fopen:No such file or directory:bss_file.c:169:fopen('./openssl.cnf','rb')\n140352122591072:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:172:\n140352122591072:error:0E078072:configuration file
 routines:DEF_LOAD:no such file:conf_def.c:197:\n"
2012-08-02 23:18:45 AUDIT nova.service [-] Starting cert node (version 2012.1.1-LOCALBRANCH:LOCALREVISION)
2012-08-02 23:18:46 CRITICAL nova [-] Unexpected error while running command.
Command: sh /usr/lib/python2.7/site-packages/nova/CA/genrootca.sh
Exit code: 1
Stdout: ''
Stderr: "cp: cannot create regular file `openssl.cnf': Permission denied\nsed: can't read openssl.cnf: No such file or directory\nerror on line -1 of ./openssl.cnf\n140246334736224:error:02001002:system library:fopen:No such file or directory:bss_file.c:169:fopen('./openssl.cnf','rb')\n140246334736224:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:172:\n140246334736224:error:0E078072:configuration file routines:DEF_LOAD:no such file:conf_def.c:197:\ntouch: cannot touch `index.txt': Permission denied\n/usr/lib/python2.7/site-packages/nova/CA/genrootca.sh: line 28: serial: Permission denied\nUsing configuration from ./openssl.cnf\nerror loading the config file './openssl.cnf'\n139644563687264:error:02001002:system library:fopen:No such file or directory:bss_file.c:169:fopen('./openssl.cnf','rb')\n139644563687264:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:172:\n139644563687264:error:0E078072:configuration file
 routines:DEF_LOAD:no such file:conf_def.c:197:\n"


B.R
SL


More information about the cloud mailing list