Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

i would guess problems with dnsmasq. It looks like you are trying to put instances on the same network as your host machine which may be difficult to get working if you have an external router or gateway responding to dnsmasq queries. I would check the process list for dnsmasq and make sure that there are exactly two running and that the command line for them is the same and it looks reasonable.

Vish

On Apr 22, 2011, at 3:58 AM, Brian Amedro wrote:

Question #153827 on OpenStack Compute (nova) changed: https://answers.launchpad.net/nova/+question/153827

Brian Amedro gave more information on the question: I already saw https://answers.launchpad.net/nova/+question/145820 which looks like to be a similar problem, but I am already with FlatDHCPManager. I also tried to connect to the VM through a serial console, but it fails:

==== $ virsh console instance-00000019 ==== Connected to domain instance-00000019 Escape character is ^] error: internal error character device (null) is not using a PTY

==== $ cat /var/lib/nova/instances/instance-00000019/libvirt.xml ==== <domain type="kvm"> <name>instance-00000019</name> <memory>524288</memory> <os> <type>hvm</type> <kernel>/var/lib/nova/instances/instance-00000019/kernel</kernel> <cmdline>root=/dev/vda console=ttyS0</cmdline> </os> <features> <acpi/> </features> <vcpu>1</vcpu> <devices> <disk type="file"> <driver type="qcow2"/> <source file="/var/lib/nova/instances/instance-00000019/disk"/> <target dev="vda" bus="virtio"/> </disk>

   <interface type='bridge'>
       <source bridge='br100'/>
       <mac address='02:16:3e:1b:62:26'/>
       <!--   <model type='virtio'/>  CANT RUN virtio network right now -->
       <filterref filter="nova-instance-instance-00000019-02163e1b6226">
           <parameter name="IP" value="138.96.126.201" />
           <parameter name="DHCPSERVER" value="138.96.126.1" />
       </filterref>
   </interface>
   <!-- The order is significant here.  File must be defined first -->
   <serial type="file">
       <source path='/var/lib/nova/instances/instance-00000019/console.log'/>
       <target port='1'/>
   </serial>

   <console type='pty' tty='/dev/pts/2'>
       <source path='/dev/pts/2'/>
       <target port='0'/>
   </console>

   <serial type='pty'>
       <source path='/dev/pts/2'/>
       <target port='0'/>
   </serial>

   <graphics type='vnc' port='-1' autoport='yes' keymap='en-us' listen='0.0.0.0'/>

</devices> </domain>

You received this question notification because you are a member of Nova Core, which is an answer contact for OpenStack Compute (nova).