maas-enlist does not show on latest 12.04.1

Bug #1070190 reported by Shang Wu
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
maas (Ubuntu)
Won't Fix
Critical
Andres Rodriguez

Bug Description

Issue:
A fresh installed maas with latest updates will not have maas-enlist shows up on the maas menu.

Steps to reproduce:

1. Fresh install maas with latest update to 12.04.1

2. Install the necessary packages:
$ sudo apt-get install maas
$ sudo apt-get install maas-dhcp
$ sudo maas-import-isos

3. Reboot

4. Check the maas menu by running the command:

$ sudo cobbler profile list

5. It only shows:

profiles:
   maas-precise-i386
   maas-precise-i386-commissioning
   maas-precise-x86_64
   maas-precise-x86_64-commissioning
   precise-i386
   precise-i386-auto
   precise-x86_64
   precise-x86_64-auto

Root Cause:

After enabling the -x in the maas-import-isos, it gives the error below:

+ PARENT_PROFILE=quantal-i386
+ grep -qs maas-enlist
+ cobbler profile list
+ cobbler profile add --name=maas-enlist --parent=quantal-i386 --kopts=priority=critical locale=en_US netcfg/choose_interface=auto log_host=10.232.36.101 log_port=514 --kickstart=/var/lib/cobbler/kickstarts/maas-enlist.preseed
profile quantal-i386 not found, inheritance not possible
+ grep -qs default
+ cobbler system list
+ cobbler system add --name=default --profile=maas-enlist
invalid profile name: maas-enlist
+ cobbler sync

Workaround:

Open the file /usr/sbin/maas-import-isos with your favourite editor, at line 106, Where it says STABLE=$(distro-info --stable), change it to "precise"

add_enlist_profile(){
        STABLE=precise
        DEVEL=$(distro-info --devel)

Run the command again, then the issue is resolved.

P.S. Credit to Dann Frazier's help to solve this issue.

Shang Wu (shangwu)
description: updated
Revision history for this message
dann frazier (dannf) wrote :

Just a note about severity - from what I can tell, this looks like a time bomb that should've broken every existing precise/MAAS once the weekly cronjob detected quantal's release.

Robie Basak (racb)
Changed in maas (Ubuntu):
importance: Undecided → Critical
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in maas (Ubuntu):
status: New → Confirmed
Changed in maas (Ubuntu):
assignee: nobody → Andres Rodriguez (andreserl)
Revision history for this message
Lei Wang (raywang) wrote :

Hello, Is anyone working on this bug? Since it's been about one more month without update?

Changed in maas (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.