From owner-freebsd-stable@freebsd.org Fri May 26 12:26:51 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 924AFD7B83F for ; Fri, 26 May 2017 12:26:51 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 8083A1607 for ; Fri, 26 May 2017 12:26:51 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: by mailman.ysv.freebsd.org (Postfix) id 7FD38D7B83D; Fri, 26 May 2017 12:26:51 +0000 (UTC) Delivered-To: stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7F7A6D7B83C for ; Fri, 26 May 2017 12:26:51 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from constantine.ingresso.co.uk (unknown [IPv6:2a02:b90:3002:411::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2CB081606 for ; Fri, 26 May 2017 12:26:51 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from dilbert.ingresso.co.uk ([2a02:b90:3002:411::6]) by constantine.ingresso.co.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89 (FreeBSD)) (envelope-from ) id 1dEEKM-0007Xq-F7 for stable@freebsd.org; Fri, 26 May 2017 12:26:46 +0000 Received: from petefrench by dilbert.ingresso.co.uk with local (Exim 4.89 (FreeBSD)) (envelope-from ) id 1dEEKM-000J2F-5V for stable@freebsd.org; Fri, 26 May 2017 13:26:46 +0100 To: stable@freebsd.org Subject: 11.1-PRERELEASE, waagent crashes attaching reosurce disc in Azure Message-Id: From: Pete French Date: Fri, 26 May 2017 13:26:46 +0100 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 May 2017 12:26:51 -0000 Have upgraded one of my Azure boxes to 11.1-PRERELEASE yesterday, and I now find the below backtrace from waagent when it tries to attach the resource disc. It looks as if it is finding 'pass1' as the device, when it should be finding 'da1'. As the waagents hasnt changed I am wondering what might have chnaged in FreeBSD to make this stop working. I consider this to be an Azure bug not a FreeBSD bug, and have filed an issue, but would be nice to get to the bottom of it myself. cheers, -pete. 2017/05/25 10:09:00.745944 INFO Activate resource disk 2017/05/25 10:09:00.788944 INFO Resource disk device pass1 found. 2017/05/25 10:09:00.794396 ERROR Event: name=WALinuxAgent, op=UnhandledError, message=Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/azurelinuxagent/daemon/main.py", line 77, in run self.daemon(child_args) File "/usr/local/lib/python2.7/site-packages/azurelinuxagent/daemon/main.py", line 117, in daemon self.resourcedisk_handler.run() File "/usr/local/lib/python2.7/site-packages/azurelinuxagent/daemon/resourcedisk/default.py", line 59, in run mount_point = self.activate_resource_disk() File "/usr/local/lib/python2.7/site-packages/azurelinuxagent/daemon/resourcedisk/default.py", line 68, in activate_resource_disk mount_point = self.mount_resource_disk(mount_point) File "/usr/local/lib/python2.7/site-packages/azurelinuxagent/daemon/resourcedisk/freebsd.py", line 85, in mount_resource_disk partition_table_type = disks[device] KeyError: u'pass1'