[Bug 1070190] [NEW] maas-enlist does not show on latest 12.04.1

Shang Wu shang at canonical.com
Tue Oct 23 06:16:41 UTC 2012


Public bug reported:

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.

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

** Description changed:

  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 
+ $ 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
+    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)
+         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.

-- 
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/1070190

Title:
  maas-enlist does not show on latest 12.04.1

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



More information about the Ubuntu-server-bugs mailing list