Ask Your Question
0

how to use nova boot with -nographic?

asked 2014-06-23 04:17:09 -0500

jmppok gravatar image

updated 2014-06-23 05:12:57 -0500

dbaxps gravatar image
2014-06-23 11:22:30.469 19129 ERROR nova.virt.libvirt.driver [req-c02e76aa-003f-4d85-a0c3-2771bcb795b5 c62992ae336d4dadb227cdea812d0996 3c5903af59994146b4cbcd5338231fe1] An error occurred while trying to launch a defined domain with xml: <domain type='qemu'>
  <name>instance-00000011</name>
  <uuid>8e6b3045-0b73-4583-a6bc-dc778c625a82</uuid>
  <memory unit='KiB'>2097152</memory>
  <currentMemory unit='KiB'>2097152</currentMemory>
  <vcpu placement='static'>1</vcpu>
  <os>
    <type arch='aarch64' machine='virt'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-model'>
    <model fallback='allow'/>
  </cpu>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-system-aarch64</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='none'/>
      <source file='/var/lib/nova/instances/8e6b3045-0b73-4583-a6bc-dc778c625a82/disk'/>
      <target dev='vda' bus='virtio'/>
      <address type='virtio-mmio'/>
    </disk>
    <interface type='bridge'>
      <mac address='fa:16:3e:58:a8:d3'/>
      <source bridge='br100'/>
      <model type='virtio'/>
      <driver name='qemu'/>
      <filterref filter='nova-instance-instance-00000011-fa163e58a8d3'/>
      <address type='virtio-mmio'/>
    </interface>
    <serial type='file'>
      <source path='/var/lib/nova/instances/8e6b3045-0b73-4583-a6bc-dc778c625a82/console.log'/>
      <target port='0'/>
    </serial>
    <serial type='pty'>
      <target port='1'/>
    </serial>
    <console type='file'>
      <source path='/var/lib/nova/instances/8e6b3045-0b73-4583-a6bc-dc778c625a82/console.log'/>
      <target type='serial' port='0'/>
    </console>
    <input type='tablet' bus='usb'/>
    <graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0' keymap='en-us'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='cirrus' vram='9216' heads='1'/>
    </video>
  </devices>
</domain>
2014-06-23 11:22:30.470 19129 TRACE nova.compute.manager [instance: 8e6b3045-0b73-4583-a6bc-dc778c625a82] **libvirtError: internal error: process exited while connecting to monitor: Error: Cirrus VGA not available**


I had try with :
sudo qemu-system-aarch64 -enable-kvm -nographic ./trusty-server-cloudimg-arm64-disk1.img  -m 1024 -machine virt -cpu host

and it's ok.

How can I use nova boot with -nographic?
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-09-30 00:23:32 -0500

Prateek gravatar image

If you want boot with --no-graphic option you have to comment out parameter vnc_enabled = True in /etc/nova/nova.conf

Before : vnc_enabled = True After : #vnc_enabled = True

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-06-23 04:17:09 -0500

Seen: 882 times

Last updated: Jun 23 '14