Problem on running "nova boot myserver"
Stephen Liu
satimis at yahoo.com
Fri Aug 3 16:13:05 UTC 2012
- snip -
>> $ 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 * * *
>> .......
>
> All of the packets are timing out, do you still get a ssh response to
> this ipaddress?
$ sudo ifconfig
[sudo] password for satimis:
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 196 bytes 17481 (17.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 196 bytes 17481 (17.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
p2p1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255
inet6 fe80::a00:27ff:fead:a11f prefixlen 64 scopeid 0x20<link>
ether 08:00:27:ad:a1:1f txqueuelen 1000 (Ethernet)
RX packets 10 bytes 1735 (1.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 34 bytes 5192 (5.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 4e:f4:94:20:d4:44 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
On host
---------
$ ping 10.0.0.2
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
64 bytes from 10.0.0.2: icmp_req=1 ttl=61 time=3.09 ms
64 bytes from 10.0.0.2: icmp_req=2 ttl=61 time=3.08 ms
64 bytes from 10.0.0.2: icmp_req=3 ttl=61 time=3.06 ms
64 bytes from 10.0.0.2: icmp_req=4 ttl=61 time=3.06 ms
64 bytes from 10.0.0.2: icmp_req=5 ttl=61 time=3.08 ms
it works.
$ ssh -X satimis at 10.0.0.2
satimis at 10.0.0.2's password:
Permission denied, please try again.
satimis at 10.0.0.2's password:
Permission denied, please try again.
satimis at 10.0.0.2's password:
Permission denied (publickey,gssapi-with-mic,password).
No password can satisfy it.
At this junction I expect to clarify whether it needs 2 NICs, one for 10.0.0.2 and one for 192.168.x.x?
It YES I have to create vboxnet0 and vboxnet1, the virtual NIC. There is only ONE physical NIC on this PC.
Also I have to edit /etc/sysconfig/network-scripts/
ifcfg-lo
ifcfg-p2p1
$ cat /etc/sysconfig/network-scripts/ifcfg-lo
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback
$ cat /etc/sysconfig/network-scripts/ifcfg-p2p1
UUID="a145edf3-1d26-43cd-be09-140de3df2d6f"
NM_CONTROLLED="yes"
HWADDR="08:00:27:AD:A1:1F"
BOOTPROTO="dhcp"
DEVICE="p2p1"
ONBOOT="yes"
It will becomes a little bid complicate.
- snip -
>> Pls explain in more detail on "which VM to be deleted"? All
> other VMs were not running when I tested Fedora 17
>
> Sorry, what I meant was, can you delete the openstack instance that that
> failed to start. Run
>> nova list
>> nova delete <uuid of instance in Error state>
$ nova list
ERROR: You must provide a username via either --os_username or env[OS_USERNAME]
none of follows can work
$ nova list --os_username ADMIN
--os_username=ADMIN
env[ADMIN]
etc.
$ nova delete d08a6804-3532-4611-81b3-5d8cc8f2a321
ERROR: You must provide a username via either --os_username or env[OS_USERNAME]
Same here. Please help. Thanks
> then start a new instance with flavor = 1
- snip -
>> $ tail /var/log/nova/cert.log
>
> my previous email mentioned checking permission of /var/lib/nova/CA to
> make sure everything is owned by nova, can you check that also please
> and if it isn't change the owner and restart nova-cert
$ ls -al /var/lib/nova/CA
total 44
drwxr-xr-x 8 root root 4096 Jul 31 19:35 .
drwxr-xr-x 9 nova nova 4096 Jul 31 19:43 ..
drwxr-xr-x 2 root root 4096 Jul 30 10:53 certs
drwxr-xr-x 2 root root 4096 Jul 30 10:53 crl
-rwxr-xr-x 1 root root 1787 Jun 22 07:52 geninter.sh
-rwxr-xr-x 1 root root 1200 Jun 22 07:52 genrootca.sh
drwxr-xr-x 2 root root 4096 Jul 30 10:53 newcerts
-rw-r--r-- 1 root root 2901 Jun 22 07:52 openssl.cnf.tmpl
drwxr-x--- 2 root root 4096 Jul 30 10:53 private
drwxr-xr-x 2 root root 4096 Jul 30 10:53 projects
drwxr-xr-x 2 root root 4096 Jul 30 10:53 reqs
Whether to run;
$ sudo chown nova:nova -R /var/lib/nova/CA/*
Then;
sudo nova-manage nova-cert
?
Thanks
B.R.
SL
More information about the cloud
mailing list