running VM manually

asked 2014-05-13 08:22:07 -0600

Sonia gravatar image

updated 2014-05-13 08:40:07 -0600

I have installed 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 ... (more)

edit retag flag offensive close merge delete

Comments

Please , format your text . Buttons ( located above text area window) B,I,Q(internet), Next Button does formating of highlighted area of your input.

dbaxps gravatar imagedbaxps ( 2014-05-13 08:35:45 -0600 )edit

In general :-

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

Runs on compute node. Did start openstack-nova-compute service on Controller ?

dbaxps gravatar imagedbaxps ( 2014-05-13 09:04:57 -0600 )edit

Yes, I see you did. What is your problem ?

dbaxps gravatar imagedbaxps ( 2014-05-13 09:06:43 -0600 )edit

Actually i want to run another instance with some specific mac address using the above command on the controller node which i'm not able to do. Everytime i type the above command with changed parameters,I'm getting

chardev: opening backend "file" failed: No such file or directory

Sonia gravatar imageSonia ( 2014-05-13 09:10:49 -0600 )edit

How you launch instance ? How you use glance image, ssh keypair, does instance get a private IP at startup ?

dbaxps gravatar imagedbaxps ( 2014-05-13 09:17:09 -0600 )edit