From owner-freebsd-cloud@FreeBSD.ORG Tue Jun 16 20:31:35 2015 Return-Path: Delivered-To: freebsd-cloud@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E6DD4662; Tue, 16 Jun 2015 20:31:34 +0000 (UTC) (envelope-from collin.forbes@gmail.com) Received: from mail-pa0-x233.google.com (mail-pa0-x233.google.com [IPv6:2607:f8b0:400e:c03::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B190EFAB; Tue, 16 Jun 2015 20:31:34 +0000 (UTC) (envelope-from collin.forbes@gmail.com) Received: by pacyx8 with SMTP id yx8so19452601pac.2; Tue, 16 Jun 2015 13:31:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=71ZHPBZTXUYjLy7Nbm+GfbpftuS9NpVUVHwr2MYyleA=; b=lQ23o4CZOlSMovdXKFrA3oA+BhQM1WbteTr1lvdCn/cjf7rK3FGgt10msjkkDHXRAH Rq7YUix3AO78njeLNMJW3+eoD+iDnU/OLBS+u0ClNg95p4zg28hLGQazwBcRi6qg5aHz JiSyqfJ3Y/Bwyb+cFDoKf+FEsVfYsTlsCf+m3U9z+dK4zI7ak3wTL3LYAjRsIRnjbDre acGyVOLnfg4d1Kc2zjrSrVy4Q4C9keNh/cJ8uuTALkNMsD1u+AmGyvMeHNd0TVn5Sl2M k9dSa0f1nYNlIlwYlaKf2GrqARl4Udl0+at+rH47QDuQHNCFhGmCc8Jb9DIxF+/MnIKa I5sQ== X-Received: by 10.70.96.139 with SMTP id ds11mr3861993pdb.98.1434486693964; Tue, 16 Jun 2015 13:31:33 -0700 (PDT) Received: from gmail.com (ec2-54-244-237-46.us-west-2.compute.amazonaws.com. [54.244.237.46]) by mx.google.com with ESMTPSA id q4sm2317474pdo.42.2015.06.16.13.31.31 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jun 2015 13:31:32 -0700 (PDT) Date: Tue, 16 Jun 2015 13:33:38 -0700 From: Collin Forbes To: Colin Percival Cc: Steve Wills , Glen Barber , freebsd-cloud@freebsd.org Subject: Re: EC2 AMIs will be available from snapshot builds Message-ID: <20150616203338.GA48451@gmail.com> References: <55512E50.7010702@freebsd.org> <20150616134619.GB97471@mouf.net> <20150616160340.GB1387@hub.FreeBSD.org> <20150616183423.GB21206@mouf.net> <20150616184748.GA43498@gmail.com> <5580751A.4060306@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="mYCpIKhGyMATD0i+" Content-Disposition: inline In-Reply-To: <5580751A.4060306@freebsd.org> X-Message-Flag: Beep Beep! User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-cloud@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "FreeBSD on cloud platforms \(EC2, GCE, Azure, etc.\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2015 20:31:35 -0000 --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jun 16, 2015 at 12:12:26PM -0700, Colin Percival wrote: > On 06/16/15 11:47, Collin Forbes wrote: > > > > I was seeing this with ami-53fcb763 over the weekend. That one isn't a > > even a snapshot release. It's the AMI for FreeBSD 10.1-RELEASE for current > > generation instances on us-west-2. I was trying to use t2.small and > > t2.medium instances and had the same behavior. > > Works for me... takes about 5 minutes before you can SSH in though, since the > image downloads security patches first. I've attached a copy/paste from the system log of an instance I just tried launching. It was a t2.small with ami-53fcb763 (10.1-RELEASE) I have a note about behavior in the middle of the log. It seems to hang at: freebsd-update: Fetching public key from update6.freebsd.org... failed. I waited about 15 minutes and then gave it a reboot command from the AWS console. The remaining lines appeared in the log after that. However, the instance is not accessible after the reboot and there are no other log lines indicating the instance rebooted. -- Collin Forbes collin.forbes@gmail.com --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ec2-system-log.txt" Content-Transfer-Encoding: quoted-printable # ---------------------------------------------------------------------- AMI: ami-53fcb763 (EC2 10.1-RELEASE Current Generation, us-west-2a) Instance type: t2.small # ---------------------------------------------------------------------- Booting [/boot/kernel/kernel]... =20 =08=08Copyright (c) 1992-2014 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 XEN: Hypervisor version 4.2 detected. CPU: Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz (2500.05-MHz K8-class CPU) Origin =3D "GenuineIntel" Id =3D 0x306e4 Family =3D 0x6 Model =3D 0x3e= Stepping =3D 4 Features=3D0x1783fbff Features2=3D0xffba2203 AMD Features=3D0x28100800 AMD Features2=3D0x1 Structured Extended Features=3D0x200 real memory =3D 2147483648 (2048 MB) avail memory =3D 2050904064 (1955 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: random device not loaded; using insecure entropy ioapic0: Changing APIC ID to 1 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-47 on motherboard kbd1 at kbdmux0 random: initialized xen_et0: on motherboard Event timer "XENTIMER" frequency 1000000000 Hz quality 950 Timecounter "XENTIMER" frequency 1000000000 Hz quality 950 acpi0: on motherboard acpi0: Power Button (fixed) acpi0: Sleep Button (fixed) acpi0: reservation of 0, a0000 (3) failed cpu0: on acpi0 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 62500000 Hz quality 950 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: port 0x70-0x71 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <32-bit timer at 3.579545MHz> port 0xb008-0xb00b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 isab0: at device 1.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,= 0x376,0xc100-0xc10f at device 1.1 on pci0 ata0: at channel 0 on atapci0 ata1: at channel 1 on atapci0 pci0: at device 1.3 (no driver attached) vgapci0: mem 0xf0000000-0xf1ffffff,0xf3000000-0xf3= 000fff at device 2.0 on pci0 vgapci0: Boot video device xenpci0: port 0xc000-0xc0ff mem 0xf2000000-0xf2ffffff= irq 28 at device 3.0 on pci0 xenstore0: on xenpci0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse Explorer, device ID 4 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: does not respond device_attach: fdc0 attach returned 6 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: console (9600,n,8,1) sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x100> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 fdc0: No FDOUT register! ppc0: cannot reserve I/O port range Timecounters tick every 10.000 msec xctrl0: on xenstore0 xenbusb_front0: on xenstore0 xn0: at device/vif/0 on xenbusb_front0 xn0: Ethernet address: 06:11:44:91:75:fb xenbusb_back0: on xenstore0 xn0: backend features: feature-sg feature-gso-tcp4 xbd0: 16384MB at device/vbd/768 on xenbusb_front0 xbd0: attaching as ada0 random: unblocking device. Timecounter "TSC-low" frequency 1250023790 Hz quality 800 Trying to mount root from ufs:/dev/ada0a [rw]... Setting hostuuid: ec2fe5f7-370d-831d-dfb6-fefbbe441379. Setting hostid: 0x6eba36f5. No suitable dump device was found. Entropy harvesting: interrupts ethernet point_to_point swi. Starting file system checks: /dev/ada0a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ada0a: clean, 2080614 free (838 frags, 259972 blocks, 0.0% fragmentati= on) Mounting local file systems:. Writing entropy file:. xn0: link state changed to DOWN xn0: link state changed to UP Starting Network: lo0 xn0. lo0: flags=3D8049 metric 0 mtu 16384 options=3D600003 inet6 ::1 prefixlen 128=20 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1=20 inet 127.0.0.1 netmask 0xff000000=20 nd6 options=3D21 xn0: flags=3D8843 metric 0 mtu 1500 options=3D503 ether 06:11:44:91:75:fb nd6 options=3D29 media: Ethernet manual status: active Starting devd. Starting dhclient. DHCPDISCOVER on xn0 to 255.255.255.255 port 67 interval 5 DHCPOFFER from 172.30.0.1 DHCPREQUEST on xn0 to 255.255.255.255 port 67 DHCPACK from 172.30.0.1 bound to 172.30.0.88 -- renewal in 1800 seconds. add net fe80::: gateway ::1 add net ff02::: gateway ::1 add net ::ffff:0.0.0.0: gateway ::1 add net ::0.0.0.0: gateway ::1 Generating host.conf. ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib 32-bit compatibility ldconfig path: /usr/lib32 Creating and/or trimming log files. Starting syslogd. Fetching EC2 user-data failed. No ephemeral disks are available, so no swap space is being created. Clearing /tmp (X related). Updating motd:. Mounting late file systems:. Creating user ec2-user Fetching SSH public key for ec2-user freebsd-update: Looking up update.FreeBSD.org mirrors... 5 mirrors found. freebsd-update: Fetching public key from update6.freebsd.org... failed. [after sending a reboot command from the AWS Console, these lines appea= r] freebsd-update: Fetching public key from update4.freebsd.org... failed. freebsd-update: Fetching public key from update2.freebsd.org... failed. freebsd-update: Fetching public key from update5.freebsd.org... failed. freebsd-update: Fetching public key from update3.freebsd.org... failed. freebsd-update: No mirrors remaining, giving up. pkg: Error fetching http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/Latest/= pkg.txz: No route to host A pre-built version of pkg could not be found for your system. Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'. Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/freebsd:10:x86:64/latest,= please wait... pkg: Error fetching http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/Latest/= pkg.txz: No route to host A pre-built version of pkg could not be found for your system. Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'. Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/freebsd:10:x86:64/latest,= please wait... Starting sendmail_submit. Starting sendmail_msp_queue. Generating RSA1 host key. 2048 c2:d7:da:d2:aa:90:73:df:ee:26:d7:2d:10:f6:e1:79 root@ip-172-30-0-88 (= RSA1) Generating RSA host key. 2048 a2:2d:5a:c8:1c:76:ef:10:43:ad:f1:29:9f:a0:b7:50 root@ip-172-30-0-88 (= RSA) Generating DSA host key. 1024 17:a7:ef:e9:f3:da:cb:b7:a0:ed:58:3e:27:2d:67:e2 root@ip-172-30-0-88 (= DSA) Generating ECDSA host key. 256 56:1a:44:3f:72:e5:b5:84:21:2b:8c:d0:29:52:33:56 root@ip-172-30-0-88 (E= CDSA) Generating ED25519 host key. 256 c3:31:4e:5e:20:68:4f:2d:6a:d3:62:44:80:dc:b2:58 root@ip-172-30-0-88 (E= D25519) Performing sanity check on sshd configuration. Starting sshd. ec2: ############################################################# ec2: -----BEGIN SSH HOST KEY FINGERPRINTS----- ec2: 1024 17:a7:ef:e9:f3:da:cb:b7:a0:ed:58:3e:27:2d:67:e2 root@ip-172-30-0= -88 (DSA) ec2: 256 56:1a:44:3f:72:e5:b5:84:21:2b:8c:d0:29:52:33:56 root@ip-172-30-0-= 88 (ECDSA) ec2: 256 c3:31:4e:5e:20:68:4f:2d:6a:d3:62:44:80:dc:b2:58 root@ip-172-30-0-= 88 (ED25519) ec2: 2048 c2:d7:da:d2:aa:90:73:df:ee:26:d7:2d:10:f6:e1:79 root@ip-172-30-0= -88 (RSA1) ec2: 2048 a2:2d:5a:c8:1c:76:ef:10:43:ad:f1:29:9f:a0:b7:50 root@ip-172-30-0= -88 (RSA) ec2: -----END SSH HOST KEY FINGERPRINTS----- ec2: ############################################################# Configuring syscons: blanktime. Starting cron. Starting background file system checks in 60 seconds. Tue Jun 16 20:14:08 UTC 2015 Stopping cron. Stopping sshd. Stopping devd. Writing entropy file:. Terminated =2E Jun 16 20:19:23 ip-172-30-0-88 syslogd: exiting on signal 15 Waiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining...3 3 1 0 done All buffers synced. Uptime: 19m25s Rebooting... --mYCpIKhGyMATD0i+--