Public bug reported:

I have a NUC with the current version of 14.04 and MAAS installed on it.

Today, I completely removed the contents of boot-resources and re-
imported the various boot/image files to remove old daily images and
older versions I didn't need.

If you look at the current image streams dir at maas-images.ubuntu.com,
you'll see that there are actually two image versions for trusty:

Index of /images/ephemeral-v2/releases/trusty/amd64

        Name    Last modified   Size    Description
        Parent Directory                 -       
        20140410/       10-Apr-2014 22:22        -       
        20140416.1/     17-Apr-2014 18:22        -       
        di/     17-Apr-2014 18:22        -       

The older 0410 image is the RC image and the newer 0416.1 image is the
release version of 14.04.

Because of this, the "current" snapshot has both images available:
ubuntu@critical-maas:/var/lib/maas/boot-resources/current/amd64/generic/trusty$ 
ls -l *
rc:
total 1812444
-rw-r--r-- 2 root root   24654011 Apr 18 12:57 boot-initrd
-rw-r--r-- 2 root root    5774304 Apr 18 12:57 boot-kernel
-rw-r--r-- 2 root root   21256334 Apr 18 12:58 di-initrd
-rw-r--r-- 2 root root    5776216 Apr 18 12:57 di-kernel
-rw-r--r-- 2 root root 1476395008 Apr 18 12:56 root-image
-rw-r--r-- 2 root root  322069555 Apr 18 12:57 root-tgz

release:
total 1812428
-rw-r--r-- 2 root root   24663072 Apr 18 12:50 boot-initrd
-rw-r--r-- 2 root root    5777056 Apr 18 12:49 boot-kernel
-rw-r--r-- 2 root root   21256771 Apr 18 12:50 di-initrd
-rw-r--r-- 2 root root    5778968 Apr 18 12:50 di-kernel
-rw-r--r-- 2 root root 1476395008 Apr 18 12:49 root-image
-rw-r--r-- 2 root root  322042698 Apr 18 12:49 root-tgz

And MAAS shows both the RC and Release images available as bootable for
Trusty (**See attached screen shot**)

However, in the MAAS ui, the ONLY option for setting the installation
image is "Trusty" there is no setting for choosing between RC and
Release images for Trusty.

And MAAS is choosing to install the older version when booting.

I noticed quickly during boot that my node is getting the rc image via
iscsi... but have no way of capturing that other than maybe a crappy
cell phone image..., so the following will have to suffice:

Installing using the fast path, MAAS is choosing the older 0410 RC
images over the 0416.1 Release images, and we get a system installed
with the Development version of Trusty instead, as bore out by the
kernel version and /etc/lsb-release. Here's some data from a node
installed via FastPath:

ubuntu@supermicro:~$ uname -a
Linux supermicro 3.13.0-23-generic #45-Ubuntu SMP Fri Apr 4 06:58:38 UTC 2014 
x86_64 x86_64 x86_64 GNU/Linux
ubuntu@supermicro:~$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu Trusty Tahr (development branch)"

This is immediately following a fast-path install of Trusty.

I'm now trying to do a d-i install, which worked before I deleted and
re-imported but that is now failing with the "No kernel modules found"
message and looking at alternate consoles, that too appears to be the
3.13.0-23 boot image, not the 3.13.0-24 image... so that could be the
issue there...  not sure though.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: maas 1.5+bzr2252-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
Date: Fri Apr 18 16:58:55 2014
InstallationDate: Installed on 2014-01-13 (95 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140113)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: maas
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: maas (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

** Attachment added: "maas-re-import.png"
   
https://bugs.launchpad.net/bugs/1309761/+attachment/4088105/+files/maas-re-import.png

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1309761

Title:
  MAAS installing older 14.04 image instead of newer one

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1309761/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to