Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cobbler/koan (master) creates (kvm) vms without video #42

Open
igalic opened this issue Sep 14, 2014 · 5 comments
Open

cobbler/koan (master) creates (kvm) vms without video #42

igalic opened this issue Sep 14, 2014 · 5 comments

Comments

@igalic
Copy link

igalic commented Sep 14, 2014

makes it kinda hard to diagnose exactly why it's failing to boot.

@igalic
Copy link
Author

igalic commented Sep 15, 2014

koan executes virt-install with --nographics

@jmaas
Copy link
Member

jmaas commented Sep 15, 2014

what version are you on?

this is in master:
cobbler/cobbler@2fdd9fc

@igalic
Copy link
Author

igalic commented Sep 15, 2014

i've now tried explicitly passing -g to koan

root@chorizo ~ # koan -g vnc --server=localhost --virt   --system=ns03.esat
- looking for Cobbler at http://localhost:80/cobbler_api
install_tree: http://188.40.114.151/distros/ubuntu-12.04.5-x86_64
- ['/usr/bin/virt-install', '--version']
- ['virt-install', '--version']
vgs -o vg_name
File descriptor 3 (/var/log/koan/koan.log) leaked on vgs invocation. Parent PID 18506: /bin/sh
File descriptor 6 (socket:[468522]) leaked on vgs invocation. Parent PID 18506: /bin/sh
  VG    
  vg_sys
  vg_vms

LANG=C vgs --noheadings -o vg_free --units g vg_vms
File descriptor 3 (/var/log/koan/koan.log) leaked on vgs invocation. Parent PID 18508: /bin/sh
File descriptor 6 (socket:[468522]) leaked on vgs invocation. Parent PID 18508: /bin/sh
(1291.13)
lvs --noheadings -o lv_name vg_vms
File descriptor 3 (/var/log/koan/koan.log) leaked on lvs invocation. Parent PID 18510: /bin/sh
File descriptor 6 (socket:[468522]) leaked on lvs invocation. Parent PID 18510: /bin/sh
  ns03.esat-disk0

- adding disk: /dev/mapper/vg_vms-ns03.esat--disk0 of size 5 (driver type=raw)
- ['virt-install', '--connect', 'qemu:///system', '--name', 'ns03.esat', '--ram', '2048', '--vcpus', '2', '--autostart', '--True', '--virt-type', 'kvm', '--machine', 'pc', '--location', 'http://188.40.114.151/distros/ubuntu-12.04.5-x86_64/', '--extra-args=ksdevice=link lang= url=http://188.40.114.151/cblr/svc/op/ks/system/ns03.esat text auto-install/enable=true priority=critical ', '--arch', 'x86_64', '--os-variant', 'ubuntuprecise', '--disk', 'path=/dev/mapper/vg_vms-ns03.esat--disk0,size=5,format=raw', '--network', 'bridge=br0', '--wait', '0', '--noautoconsole']
Usage: virt-install --name NAME --ram RAM STORAGE INSTALL [options]

virt-install: error: no such option: --True
command failed (2)
root@chorizo ~ # koan -g  --server=localhost --virt   --system=ns03.esat
- looking for Cobbler at http://localhost:80/cobbler_api
install_tree: http://188.40.114.151/distros/ubuntu-12.04.5-x86_64
- ['/usr/bin/virt-install', '--version']
- ['virt-install', '--version']
vgs -o vg_name
File descriptor 3 (/var/log/koan/koan.log) leaked on vgs invocation. Parent PID 18566: /bin/sh
File descriptor 6 (socket:[443095]) leaked on vgs invocation. Parent PID 18566: /bin/sh
  VG    
  vg_sys
  vg_vms

LANG=C vgs --noheadings -o vg_free --units g vg_vms
File descriptor 3 (/var/log/koan/koan.log) leaked on vgs invocation. Parent PID 18568: /bin/sh
File descriptor 6 (socket:[443095]) leaked on vgs invocation. Parent PID 18568: /bin/sh
(1291.13)
lvs --noheadings -o lv_name vg_vms
File descriptor 3 (/var/log/koan/koan.log) leaked on lvs invocation. Parent PID 18570: /bin/sh
File descriptor 6 (socket:[443095]) leaked on lvs invocation. Parent PID 18570: /bin/sh
  ns03.esat-disk0

- adding disk: /dev/mapper/vg_vms-ns03.esat--disk0 of size 5 (driver type=raw)
- ['virt-install', '--connect', 'qemu:///system', '--name', 'ns03.esat', '--ram', '2048', '--vcpus', '2', '--autostart', '--True', '--virt-type', 'kvm', '--machine', 'pc', '--location', 'http://188.40.114.151/distros/ubuntu-12.04.5-x86_64/', '--extra-args=ksdevice=link lang= url=http://188.40.114.151/cblr/svc/op/ks/system/ns03.esat text auto-install/enable=true priority=critical ', '--arch', 'x86_64', '--os-variant', 'ubuntuprecise', '--disk', 'path=/dev/mapper/vg_vms-ns03.esat--disk0,size=5,format=raw', '--network', 'bridge=br0', '--wait', '0', '--noautoconsole']
Usage: virt-install --name NAME --ram RAM STORAGE INSTALL [options]

virt-install: error: no such option: --True
command failed (2)
root@chorizo ~ # 

@igalic
Copy link
Author

igalic commented Sep 15, 2014

re version:

root@chorizo ~ # cobbler version
Cobbler 2.9.0
  source: 8a789ba, Sun Sep 14 13:52:02 2014 +0200
  build time: Sun Sep 14 12:17:53 2014
root@chorizo ~ # 

@igalic
Copy link
Author

igalic commented Sep 15, 2014

reverting to 2.6.5 also fixes this…

@jmaas jmaas self-assigned this Sep 16, 2014
awiddersheim referenced this issue in awiddersheim/koan Nov 1, 2016
@SchoolGuy SchoolGuy transferred this issue from cobbler/cobbler Oct 16, 2019
@SchoolGuy SchoolGuy added this to Koan Sep 26, 2022
@SchoolGuy SchoolGuy moved this to Inbox in Koan Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Inbox
Development

No branches or pull requests

2 participants