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

Mate Lakat mate.lakat at citrix.com
Tue Jan 22 15:53:48 UTC 2013


Hi,

I meant the output of your install_os_domU.sh run. It should print out
the variable assignments.

Mate

On Tue, Jan 22, 2013 at 03:52:28PM +0000, Jiang, Yunhong wrote:
> Mate, thanks for your reply.
> For " Networking: look at the logs", where is the logs?
> 
> --jyh
> 
> > -----Original Message-----
> > From: Mate Lakat [mailto:mate.lakat at citrix.com]
> > Sent: Tuesday, January 22, 2013 11:28 PM
> > To: OpenStack Development Mailing List
> > Subject: Re: [openstack-dev] [XenAPI] One issue on xenapi environment setup
> > 
> > Hi Jiang,
> > 
> > This makes sense, you are stuck at #1. So what happens, is that the
> > install_os_domU script is starting a new VM with a preseed file. Your
> > problem, is that the automated installation fails during the dhcp
> > request. You should never need to interact with the installer.
> > 
> > Are you sure, the networking settings are correct?
> > 
> > If the DHCP request succeded manually, maybe, you need to increase the
> > dhcp timeout. Please look at your preseed file:
> > devstack/tools/xen/devstackubuntupreseed.cfg
> > 
> > And try to increase:
> > netcfg/dhcp_timeout
> > 
> > That might help.
> > 
> > Networking: look at the logs, and see what is the value of:
> > HOST_IP_IFACE - this will be the interface within the VM, that will be
> > used during the installation. Make sure it has the proper value.
> > 
> > Mate
> > 
> > On Tue, Jan 22, 2013 at 03:04:50PM +0000, Jiang, Yunhong wrote:
> > > I can't use vncviewer at home, but I do try to get some screenshot, please
> > check http://snag.gy/XMLHB.jpg and http://snag.gy/9tCuG.jpg
> > http://snag.gy/KPSPC.jpg
> > >
> > > So I think it should your first point.
> > >
> > > --jyh
> > >
> > > > -----Original Message-----
> > > > From: Mate Lakat [mailto:mate.lakat at citrix.com]
> > > > Sent: Tuesday, January 22, 2013 9:46 PM
> > > > To: OpenStack Development Mailing List
> > > > Subject: Re: [openstack-dev] [XenAPI] One issue on xenapi environment
> > setup
> > > >
> > > > 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
> > > >
> > > > _______________________________________________
> > > > 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
> > 
> > _______________________________________________
> > 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