[Bug 1171988] Re: MAAS fails to use virsh when managing virtual nodes

2013-07-11 Thread Launchpad Bug Tracker
This bug was fixed in the package maas - 1.3+bzr1461+dfsg-0ubuntu2.1

---
maas (1.3+bzr1461+dfsg-0ubuntu2.1) raring-proposed; urgency=low

  * debian/patches:
- 99-fix-ipmi-stat-lp1086160.patch: Drop. The following patch removes
  the need for this fix. (LP: #1171988)
- 99-fix-ipmi-lp1171418.patch: Do not check current node state when
  executing an ipmi command, which ensures that nodes are always
  turned on/off regardless of their power state. This fixes corner
  cases found when running automated tests. (LP: #1171418)
- 99-fix-comissioning-lp1131418.patch: Fixes the commissioning process,
  allowing nodes to successfully commission, when tag's with no
  definition have been created. This issue will only appear when these
  special tags are created. (LP: #1131418)
- 99-import-raring-images-lp1182642.patch: Enables the import of raring
  images by default (LP: #1182642)
- 99-fix-new-image-install-lp1182646.patch: Fixes the installation of
  new ephemeral images, that fail due to not being able to overwrite
  a symlink. (LP: #1182646)
 -- Andres RodriguezTue, 23 Apr 2013 14:02:33 -0400

** Changed in: maas (Ubuntu Raring)
   Status: Fix Committed => Fix Released

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

Title:
  MAAS fails to use virsh when managing virtual nodes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1171988/+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


[Bug 1171988] Re: MAAS fails to use virsh when managing virtual nodes

2013-07-09 Thread Andres Rodriguez
I have tested this and works as expected.

** Tags removed: verification-needed
** Tags added: verification-done

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

Title:
  MAAS fails to use virsh when managing virtual nodes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1171988/+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


[Bug 1171988] Re: MAAS fails to use virsh when managing virtual nodes

2013-06-04 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/raring-proposed/maas

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

Title:
  MAAS fails to use virsh when managing virtual nodes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1171988/+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


[Bug 1171988] Re: MAAS fails to use virsh when managing virtual nodes

2013-06-04 Thread Chris Halse Rogers
Hello Andres, or anyone else affected,

Accepted maas into raring-proposed. The package will build now and be
available at http://launchpad.net/ubuntu/+source/maas/1.3+bzr1461+dfsg-
0ubuntu2.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: maas (Ubuntu Raring)
   Status: Confirmed => Fix Committed

** Tags added: verification-needed

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

Title:
  MAAS fails to use virsh when managing virtual nodes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1171988/+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


[Bug 1171988] Re: MAAS fails to use virsh when managing virtual nodes

2013-05-28 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: maas (Ubuntu Raring)
   Status: New => Confirmed

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

Title:
  MAAS fails to use virsh when managing virtual nodes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1171988/+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


[Bug 1171988] Re: MAAS fails to use virsh when managing virtual nodes

2013-05-21 Thread Launchpad Bug Tracker
This bug was fixed in the package maas - 1.3+bzr1461+dfsg-0ubuntu3

---
maas (1.3+bzr1461+dfsg-0ubuntu3) saucy; urgency=low

  * debian/patches:
- 99-fix-ipmi-stat-lp1086160.patch: Drop. The following patch removes
  the need for this fix. (LP: #1171988)
- 99-fix-ipmi-lp1171418.patch: Do not check current node state when
  executing an ipmi command, which ensures that nodes are always
  turned on/off regardless of their power state. This fixes corner
  cases found when running automated tests. (LP: #1171418)
- 99-fix-comissioning-lp1131418.patch: Fixes the commissioning process,
  allowing nodes to successfully commission, when tag's with no
  definition have been created. This issue will only appear when these
  special tags are created. (LP: #1131418)
- 99-import-raring-images-lp1182642.patch: Enables the import of raring
  images by default (LP: #1182642)
- 99-fix-new-image-install-lp1182646.patch: Fixes the installation of
  new ephemeral images, that fail due to not being able to overwrite
  a symlink. (LP: #1182646)
 -- Andres RodriguezTue, 23 Apr 2013 14:02:33 -0400

** Changed in: maas (Ubuntu)
   Status: Confirmed => Fix Released

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

Title:
  MAAS fails to use virsh when managing virtual nodes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1171988/+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


[Bug 1171988] Re: MAAS fails to use virsh when managing virtual nodes

2013-05-21 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/saucy-proposed/maas

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

Title:
  MAAS fails to use virsh when managing virtual nodes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1171988/+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


[Bug 1171988] Re: MAAS fails to use virsh when managing virtual nodes

2013-04-25 Thread Andres Rodriguez
** Description changed:

  [Impact]
  MAAS fails to start/stop virtual nodes when using virsh. This is because MAAS 
lacks permissions to run virsh.
  
  [Solution]
  The solution is to run virsh with sudo, as well as allowing the 'maas' user 
to run 'virsh' in the sudoers file.
  
  [Test Case]
  To reproduce do the following:
  
  1. install MAAS and configure local KVM nodes with it.
  2. Confiugure the power pameters in MAAS.
  3. Deploy a node.
  
  Without the fix the node will be never turned on/off and
  /var/log/maas/maas.log will show:
  
+ [Regression Potential]
+ Minimal. This has been tested in our labs. And this actually fixes something 
that is currently broken and won't work out of the box. The MAAS team and 
Server team are dedicated to perform any corrective actions in the events of a 
regression.
+ 
  [2013-04-23 11:20:21,482: ERROR/MainProcess] Task 
provisioningserver.tasks.power_off[926784f3-d90d-4277-bbfc-0471b2c82e80] raised 
exception: UnpickleableExceptionWrapper('provisioningserver.power.poweraction', 
'PowerActionFail', (), 'PowerActionFail()')
  Traceback (most recent call last):
-   File "/usr/lib/python2.7/dist-packages/celery/execute/trace.py", line 181, 
in trace_task
- R = retval = fun(*args, **kwargs)
-   File "/usr/lib/python2.7/dist-packages/provisioningserver/tasks.py", line 
146, in power_off
- issue_power_action(power_type, 'off', **kwargs)
-   File "/usr/lib/python2.7/dist-packages/provisioningserver/tasks.py", line 
126, in issue_power_action
- pa.execute(**kwargs)
-   File 
"/usr/lib/python2.7/dist-packages/provisioningserver/power/poweraction.py", 
line 138, in execute
- self.run_shell(rendered)
-   File 
"/usr/lib/python2.7/dist-packages/provisioningserver/power/poweraction.py", 
line 126, in run_shell
- raise PowerActionFail(self, e)
+   File "/usr/lib/python2.7/dist-packages/celery/execute/trace.py", line 181, 
in trace_task
+ R = retval = fun(*args, **kwargs)
+   File "/usr/lib/python2.7/dist-packages/provisioningserver/tasks.py", line 
146, in power_off
+ issue_power_action(power_type, 'off', **kwargs)
+   File "/usr/lib/python2.7/dist-packages/provisioningserver/tasks.py", line 
126, in issue_power_action
+ pa.execute(**kwargs)
+   File 
"/usr/lib/python2.7/dist-packages/provisioningserver/power/poweraction.py", 
line 138, in execute
+ self.run_shell(rendered)
+   File 
"/usr/lib/python2.7/dist-packages/provisioningserver/power/poweraction.py", 
line 126, in run_shell
+ raise PowerActionFail(self, e)
  PowerActionFail: PowerActionFail()
  
  With the fix, nodes will be turned on/off successfully.

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

Title:
  MAAS fails to use virsh when managing virtual nodes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1171988/+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


[Bug 1171988] Re: MAAS fails to use virsh when managing virtual nodes

2013-04-25 Thread Clint Byrum
Hi, this is missing Regression Potential. Please see
https://wiki.ubuntu.com/StableReleaseUpdates#Procedure for more
information.

** Also affects: maas (Ubuntu Raring)
   Importance: Undecided
   Status: New

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

Title:
  MAAS fails to use virsh when managing virtual nodes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1171988/+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


[Bug 1171988] Re: MAAS fails to use virsh when managing virtual nodes

2013-04-23 Thread Andres Rodriguez
** Attachment added: "debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1171988/+attachment/3651798/+files/debdiff

** Changed in: maas (Ubuntu)
   Status: New => Confirmed

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

Title:
  MAAS fails to use virsh when managing virtual nodes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1171988/+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