[Openstack] running VM manually using openstack
sonia verma
soniaverma9727 at gmail.com
Tue May 13 10:21:05 UTC 2014
HI
I have install openstack using devstack.I'm using multinode setup with one
controller node and one compute node.I'm able to launch VM from openstack
dashboard onto the controller node.
At the controller node when i do ps -ef | grep nova,the following appears..
ps -ef | grep nova
root 799 798 0 11:48 pts/22 00:00:00 sg libvirtd
/usr/local/bin/nova-compute --config-file /etc/nova/nova.conf
shiv 801 799 0 11:48 pts/22 00:00:55 /usr/bin/python
/usr/local/bin/nova-compute --config-file /etc/nova/nova.conf
shiv 1233 1232 1 11:48 pts/23 00:03:45 /usr/bin/python
/usr/local/bin/nova-conductor --config-file /etc/nova/nova.conf
shiv 1457 1233 0 11:48 pts/23 00:00:45 /usr/bin/python
/usr/local/bin/nova-conductor --config-file /etc/nova/nova.conf
shiv 1458 1233 0 11:48 pts/23 00:00:45 /usr/bin/python
/usr/local/bin/nova-conductor --config-file /etc/nova/nova.conf
shiv 1459 1233 0 11:48 pts/23 00:00:45 /usr/bin/python
/usr/local/bin/nova-conductor --config-file /etc/nova/nova.conf
shiv 1460 1233 0 11:48 pts/23 00:00:45 /usr/bin/python
/usr/local/bin/nova-conductor --config-file /etc/nova/nova.conf
shiv 1578 1577 0 11:48 pts/24 00:00:09 /usr/bin/python
/usr/local/bin/nova-cert --config-file /etc/nova/nova.conf
shiv 1880 1879 0 11:48 pts/25 00:00:10 /usr/bin/python
/usr/local/bin/nova-scheduler --config-file /etc/nova/nova.conf
shiv 2221 2219 0 11:48 pts/26 00:00:05 /usr/bin/python
/usr/local/bin/nova-novncproxy --config-file /etc/nova/nova.conf --web
/opt/stack/noVNC
shiv 2431 2429 0 11:48 pts/27 00:00:00 /usr/bin/python
/usr/local/bin/nova-xvpvncproxy --config-file /etc/nova/nova.conf
shiv 2670 2669 0 11:48 pts/28 00:00:09 /usr/bin/python
/usr/local/bin/nova-consoleauth --config-file /etc/nova/nova.conf
shiv 2897 2895 0 11:48 pts/29 00:00:00 /usr/bin/python
/usr/local/bin/nova-objectstore --config-file /etc/nova/nova.conf
122 13484 1 19 15:43 ? 00:00:02 /usr/bin/kvm -S -M pc-1.0
-enable-kvm -m 512 -smp 1,sockets=1,cores=1,threads=1 -name
instance-00000003 -uuid cec324c7-2398-49b8-844b-08c6cca7fff3 -smbios
type=1,manufacturer=OpenStack Foundation,product=OpenStack
Nova,version=2014.2,serial=44454c4c-5600-1039-804c-c7c04f595831,uuid=cec324c7-2398-49b8-844b-08c6cca7fff3
-nodefconfig -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-00000003.monitor,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc
base=utc,driftfix=slew -no-kvm-pit-reinjection -no-hpet -no-shutdown -drive
file=/opt/stack/data/nova/instances/cec324c7-2398-49b8-844b-08c6cca7fff3/disk,if=none,id=drive-virtio-disk0,format=qcow2,cache=none
-device
virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
-drive
file=/opt/stack/data/nova/instances/cec324c7-2398-49b8-844b-08c6cca7fff3/disk.config,if=none,media=cdrom,id=drive-ide0-1-1,readonly=on,format=raw,cache=none
-device ide-drive,bus=ide.1,unit=1,drive=drive-ide0-1-1,id=ide0-1-1 -netdev
tap,fd=19,id=hostnet0,vhost=on,vhostfd=20 -device
virtio-net-pci,netdev=hostnet0,id=net0,mac=fa:16:3e:9b:09:3b,bus=pci.0,addr=0x3
-chardev
file,id=charserial0,path=/opt/stack/data/nova/instances/cec324c7-2398-49b8-844b-08c6cca7fff3/console.log
-device isa-serial,chardev=charserial0,id=serial0 -chardev
pty,id=charserial1 -device isa-serial,chardev=charserial1,id=serial1 -usb
-vnc 127.0.0.1:1 -k en-us -vga cirrus -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
shiv 14867 20602 0 15:43 pts/7 00:00:00 grep --color=auto nova
shiv 31444 31443 1 11:47 pts/16 00:03:45 /usr/bin/python
/usr/local/bin/nova-api
shiv 31469 31444 0 11:47 pts/16 00:00:00 /usr/bin/python
/usr/local/bin/nova-api
shiv 31470 31444 0 11:47 pts/16 00:00:00 /usr/bin/python
/usr/local/bin/nova-api
shiv 31471 31444 0 11:47 pts/16 00:00:00 /usr/bin/python
/usr/local/bin/nova-api
I see the VM instance booted using KVM utility on to the controller node.
However when i try to launch VM manually using the similar command but
changing the instances id and name as above..
sudo /usr/bin/kvm -S -M pc-1.0 -enable-kvm -m 512 -smp
1,sockets=1,cores=1,threads=1 -name instance-00000002 -uuid
3765ec4d-48d0-4f0b-9f7d-2f73ee3a3852 -smbios type=1,manufacturer=OpenStack
Foundation,product=OpenStack
Nova,version=2014.2,serial=44454c4c-4400-1034-8042-c7c04f313032,uuid=3765ec4d-48d0-4f0b-9f7d-2f73ee3a3852
-nodefconfig -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-00000002.monitor,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc
base=utc,driftfix=slew -no-kvm-pit-reinjection -no-hpet -no-shutdown -drive
file=/opt/stack/data/nova/instances/3765ec4d-48d0-4f0b-9f7d-2f73ee3a3852/disk,if=none,id=drive-virtio-disk0,format=qcow2,cache=none
-device
virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
-drive
file=/opt/stack/data/nova/instances/3765ec4d-48d0-4f0b-9f7d-2f73ee3a3852/disk.config,if=none,media=cdrom,id=drive-ide0-1-1,readonly=on,format=raw,cache=none
-device ide-drive,bus=ide.1,unit=1,drive=drive-ide0-1-1,id=ide0-1-1 -netdev
tap,fd=18,id=hostnet0 -device
virtio-net-pci,netdev=hostnet0,id=net0,mac=fa:16:3e:1f:6e:47,bus=pci.0,addr=0x3
-chardev
file,id=charserial0,path=/opt/stack/data/nova/instances/3765ec4d-48d0-4f0b-9f7d-2f73ee3a3852/console.log
-device isa-serial,chardev=charserial0,id=serial0 -chardev
pty,id=charserial1 -device isa-serial,chardev=charserial1,id=serial1 -usb
-vnc 0.0.0.0:1 -k en-us -vga cirrus -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
I'm getting below error..
chardev: opening backend "file" failed: No such file or directory
Please help regarding this.
Thanks..
Sonia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140513/95a45031/attachment.html>
More information about the Openstack
mailing list