[openstack-dev] [XenAPI] One issue on xenapi environment setup

Mate Lakat mate.lakat at citrix.com
Tue Jan 22 13:45:40 UTC 2013


Hi Jiang,

>From the provided log, it is not clear, at which phase is failing for
you. This wait_for_VM_to_halt function is called at two points during
the setup:

1st) Wait until the machine installs the base os, and halts
2nd) Start the machine and wait until it finished running rc.local (that
is actually running prepare_guest.sh)

Could you provide some more context, so that I could help you?
http://paste.openstack.org/

ps.: You can access the VM console with vncviewer:
http://support.citrix.com/article/CTX124451

Thanks,
Mate

On Tue, Jan 22, 2013 at 12:30:21PM +0000, Jiang, Yunhong wrote:
> Bob, I'm using the VirtualBox to setup the environment, however always waiting at :
> 
> + sleep 20
> + true
> ++ xe_min vm-list name-label=DevStackOSDomU power-state=halted
> ++ local cmd=vm-list
> ++ shift
> ++ xe vm-list --minimal name-label=DevStackOSDomU power-state=halted
> + state=
> + '[' -n '' ']'
> + echo 'Waiting for DevStackOSDomU to finish installation...'
> Waiting for DevStackOSDomU to finish installation...
> + sleep 20
> 
> I tried to "xl console XX" to attach to the VM (xl will miss some character, but it do can show the progress), seems the VM failed to configure the network (I'm not very sure it's the eth3, although I do see some character like configuring eth0 flash away). Do you have any hints on it?
> 
> Thanks
> --jyh
> 
> > -----Original Message-----
> > From: Bob Ball [mailto:bob.ball at citrix.com]
> > Sent: Friday, January 18, 2013 5:51 PM
> > To: OpenStack Development Mailing List
> > Subject: Re: [openstack-dev] [XenAPI] One issue on xenapi environment setup
> > 
> > Hi Jiang,
> > 
> > You can set the proxy used for installations on a per-VM basis, in the
> > other-config field for the VM
> > 
> > Try setting your proxy by using:
> > xe vm-param-set uuid=<vm_uuid> other-config:install-proxy=<proxy_url>
> > 
> > That should enable the download of the vmlinuz and successful installation.
> > 
> > Thanks,
> > 
> > Bob
> > 
> > > -----Original Message-----
> > > From: Jiang, Yunhong [mailto:yunhong.jiang at intel.com]
> > > Sent: 18 January 2013 05:45
> > > To: openstack-dev at lists.openstack.org
> > > Subject: [openstack-dev] [XenAPI] One issue on xenapi environment setup
> > >
> > > I'm trying to setup the xenapi environment through devstack to add support
> > > in ceilometer side.
> > > However, I always get followed error when I start the ./install_os_domU.sh:
> > >
> > > Starting VM... + xe vm-start uuid=a428f69e-d2ef-25df-58fe-c835fe1070a6
> > > Error code: INVALID_SOURCE
> > > Error parameters: Unable to access a required file in the specified repository:
> > > http://archive.ubuntu.net/ubuntu/dists/oneiric/main/installer-
> > > amd64/current/images/netboot/xen/vmlinuz., ,
> > >
> > > My system requires proxy, but I have set the
> > > http_proxy/https_proxy/ftp_proxy already. I also try to use wget to retrieve
> > > this file and it succeed.
> > >
> > > Can anyone give some hints on it?
> > >
> > > Thanks
> > > --jyh
> > >
> > > _______________________________________________
> > > OpenStack-dev mailing list
> > > OpenStack-dev at lists.openstack.org
> > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> > 
> > _______________________________________________
> > OpenStack-dev mailing list
> > OpenStack-dev at lists.openstack.org
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-- 
Mate Lakat



More information about the OpenStack-dev mailing list