Chiradeep (others), Pedro Marques is working on a POC for an integration of Juniper's Contrail technology. He's Cc'ed on this thread.
There are a number of questions related to system VM's below. Can someone please help answer them for him? On Tuesday, May 14, 2013, Pedro Marques wrote: > Chip, > Perhaps you can help me a bit... > > I'm trying to understand how to get the system vms working and i'm very > confused... > > The cloudstack install instructions tell one to download a .vhd image that > is installed as a template in the secondary storage. This template is > instantiated when CS tries to start the SSVM. > > Cloudstack also has a systemvm.iso that is present in console-proxy/dist > > When CS initializes it goes through a process in which it tries to mount > this iso and change the SSH keys in it. This process fails since the > scripts that it uses assume sudo which requires console access. > > How is the systemvm.iso image supposed to actually get launched on a > server ? i'm not seen any way in which this image gets copied... and there > is no way to create a Xen VM from this (non-bootable iso), correct ? > > Given that the SSVM is a .vhd image that is downloaded from citrix how is > CS expected to be able to place its keys in it and be able to login ? > > The tools/appliance scripts don't work for me. > > I managed to work around an auth failure... the > definitions/systemvmtemplate scripts assume user root with password > "password" but preseed.cfg doesn't create a root account... and would use > "vagrant" as the password... > > But after this auth failure i see that the post install script does the > following... > > ++ chroot . apt-get --no-install-recommends -q -y --force-yes install > rsyslog logrotate cron chkconfig insserv net-tools ifupdown vim-tiny > netbase iptables openssh-server grub-legacy e2fsprogs dhcp3-client dnsmasq > tcpdump socat wget python bzip2 sed gawk diff grep gzip less tar telnet ftp > rsync traceroute psmisc lsof procps monit inetutils-ping iputils-arping > httping dnsutils zip unzip ethtool uuid file iproute acpid > iptables-persistent virt-what sudo > chroot: failed to run command `apt-get': No such file or directory > ERROR: exit code 127 > Error executing command ./postinstall.sh : Exitcode was not what we > expected > Exitcode was not what we expected > > I'm assuming that "." is supposed to be /root on the VM... what is this > attempting to do ? > There is no apt-get in /root/usr/bin so the command will fail... what is > the intent here... > > Saving this VM in this state, i can start it in the compute node, but it > comes up with a single interface (eth0)... > > I'm trying to figure out how it is possible to build an SSVM that CS would > be able to log into... but i'm confused... > > Pedro. >