[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Wg-test-framework] test server VM setup



On Thu, 22 Jan 2015 17:09:06 +0000
Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> wrote:

> Don, how are you getting on with xen-create-image ?

It hates me.

Command line:
xen-create-image --hostname=infra --lvm=vg1 --bridge=xenbr1 --ip=172.16.148.4 
--netmask=255.255.255.0 --mac=11:22:33:16:48:04 --arch=amd64 
--partitions=/home/dkoch/infra.part --memory=512M --pygrub --force --cache=no
with or without: --install-method=cdebootstrap (default=debootstrap)

Partitions are 300MB ext2 for /boot, 9.7G for /, no swap.

Get the following errors:
[...]
Installation method: debootstrap
P: Retrieving InRelease
W: Couldn't download InRelease!
P: Retrieving Release
P: Retrieving Release.gpg
P: Validating Release
[...more retrieving/validating/extracting...]
P: Extracting sysvinit
P: Extracting xz-utils
E: Execution failed: Exec format error
E: Internal error: install
Done

Running hooks
Running hook 01-disable-daemons
hook 01-disable-daemons: done.
Running hook 05-shadowconfig-on
chroot: failed to run command `/sbin/shadowconfig': Exec format error
hook 05-shadowconfig-on: done.
Running hook 15-disable-hwclock
chroot: failed to run command `/usr/sbin/update-rc.d': Exec format error
hook 15-disable-hwclock: done.
Running hook 20-setup-apt
chroot: failed to run command `/usr/bin/apt-get': No such file or directory
mv: cannot stat `/tmp/ZzQW02xJyL/sbin/initctl': No such file or directory
chroot: failed to run command `/usr/bin/apt-get': No such file or directory
hook 20-setup-apt: done.
Running hook 30-disable-gettys
hook 30-disable-gettys: done.
Running hook 35-setup-users
chroot: failed to run command `/usr/sbin/pwconv': Exec format error
chroot: failed to run command `/usr/sbin/grpconv': Exec format error
hook 35-setup-users: done.
[...]
Running hook 70-install-ssh
Generating public/private rsa key pair.
[...]
The key's randomart image is:
[pretty ascii art picture]
chroot: failed to run command `/usr/bin/apt-get': No such file or directory
hook 70-install-ssh: done.
Running hook 75-fixup-securetty
hook 75-fixup-securetty: done.
Running hook 80-install-kernel
hook 80-install-kernel failed: 256
Running command 'xt-customize-image --dist=wheezy --location=/tmp/ZzQW02xJyL 2>&
1' failed with exit code 256.
Aborting

It almost sounds like it's trying to execute 64-bit binaries in 32-bit mode
or vice-versa. Some of the "Exec format error" messages are on scripts.

Debootstrap claims it can do cross-architecture installs.

-d

> Yesterday I said
> 
> > 21:09 <Diziet> If you want to suggest a command line here or by
> >                email I could review it.
> 
> I still think that would be a good idea.
> 
> Ian.
> 

_______________________________________________
Wg-test-framework mailing list
Wg-test-framework@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/wg-test-framework


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.