Creating vagrant box from fedora-cloud-base-vagrant.ks

Amit Saha asaha at redhat.com
Fri May 8 03:37:18 UTC 2015



----- Original Message -----
> From: "Colin Walters" <walters at verbum.org>
> To: cloud at lists.fedoraproject.org
> Sent: Tuesday, April 28, 2015 10:51:17 PM
> Subject: Re: Creating vagrant box from fedora-cloud-base-vagrant.ks
> 
> On Mon, Apr 27, 2015, at 12:14 AM, Amit Saha wrote:
> > 
> > Image build FAILED with error: Timed out waiting for guest to boot
> 
> There are a number of causes for that unfortunately.  So...what i tend
> to do is hand-mirror the installer media locally, and then edit the
> TDL to point to it.  This is a lot more reliable if you're using ImageFactory
> often.

Thanks, I tried using the local mirror here. Here are some logs:

2015-05-08 13:34:51,655 DEBUG imgfac.ReservationManager.ReservationManager thread(4e74494d) Message: Releasing named lock (libguestfs_launch)
2015-05-08 13:34:51,656 DEBUG oz.Guest.FedoraGuest thread(4e74494d) Message: Inspecting guest OS
2015-05-08 13:34:52,349 DEBUG oz.Guest.FedoraGuest thread(4e74494d) Message: Getting mountpoints
2015-05-08 13:34:52,349 DEBUG oz.Guest.FedoraGuest thread(4e74494d) Message: Root device: /dev/sda1
2015-05-08 13:34:52,360 DEBUG oz.Guest.FedoraGuest thread(4e74494d) Message: Step 1: Uploading ssh keys
2015-05-08 13:34:52,363 INFO oz.Guest.FedoraGuest thread(4e74494d) Message: Generating new openssh key
2015-05-08 13:34:52,363 DEBUG oz.Guest.FedoraGuest thread(4e74494d) Message: Step 2: setup sshd
2015-05-08 13:34:52,372 DEBUG oz.Guest.FedoraGuest thread(4e74494d) Message: Step 3: Open up the firewall
2015-05-08 13:34:52,373 DEBUG oz.Guest.FedoraGuest thread(4e74494d) Message: Step 4: Guest announcement
2015-05-08 13:34:52,377 DEBUG oz.Guest.FedoraGuest thread(4e74494d) Message: Step 5: Set SELinux to permissive mode
2015-05-08 13:34:52,380 INFO oz.Guest.FedoraGuest thread(4e74494d) Message: Cleaning up guestfs handle for factory-build-e3b4692f-c024-4fae-989f-9512ba800f2d
2015-05-08 13:34:52,380 DEBUG oz.Guest.FedoraGuest thread(4e74494d) Message: Syncing
2015-05-08 13:34:52,766 DEBUG oz.Guest.FedoraGuest thread(4e74494d) Message: Unmounting all
2015-05-08 13:34:53,578 INFO oz.Guest.FedoraGuest thread(4e74494d) Message: Waiting for guest factory-build-e3b4692f-c024-4fae-989f-9512ba800f2d to boot
2015-05-08 13:34:53,579 DEBUG oz.Guest.FedoraGuest thread(4e74494d) Message: Waiting for guest factory-build-e3b4692f-c024-4fae-989f-9512ba800f2d to boot, 300/300
2015-05-08 13:35:03,598 DEBUG oz.Guest.FedoraGuest thread(4e74494d) Message: Waiting for guest factory-build-e3b4692f-c024-4fae-989f-9512ba800f2d to boot, 290/300
2015-05-08 13:35:13,615 DEBUG oz.Guest.FedoraGuest thread(4e74494d) Message: Waiting for guest factory-build-e3b4692f-c024-4fae-989f-9512ba800f2d to boot, 280/300


..
 and finally it times out.

Does that give more ideas where it is going wrong?

Thanks,
Amit.


-- 
Amit Saha <http://echorand.me> 


More information about the cloud mailing list