[Bug 961232] [NEW] running multiple 'cobbler system reboot --name=xxx' at the same time, fence_cdu lists ALL reboots

Launchpad Bug Tracker 961232 at bugs.launchpad.net
Fri Mar 30 16:02:13 UTC 2012


You have been subscribed to a public bug:

I am running a Jenkins matrix job with four instances. Each instance
will reboot the bare-metal it controls. The output of *each* fence_cdu
command shows ALL systems being operated on, not only the one we are
driving in this instance.

example output (from a shell script run with '-x'):

+ ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o CheckHostIP=no -i /var/lib/ubuntu-iso-testing/kernel-sru/ssh-keys/qa-ubuntu 10.189.74.2 'sudo cobbler system reboot --name=tarf'
Warning: Permanently added '10.189.74.2' (ECDSA) to the list of known hosts.
task started: 2012-03-20_214707_power
task started (id=Power management (reboot), time=Tue Mar 20 21:47:07 2012)
cobbler power configuration is:
      type   : sentryswitch_cdu
      address: 10.189.74.200
      user   : ubuntu
      id     : Tarf
- fence_cdu -a "10.189.74.200" -n "Tarf" -l "ubuntu" -p "ubuntu" -o "off"
running: ['/bin/sh', '-c', u'fence_cdu -a "10.189.74.200" -n "Tarf" -l "ubuntu" -p "ubuntu" -o "off"']
cobbler power configuration is:
      type   : sentryswitch_cdu
      address: 10.189.74.200
      user   : ubuntu
      id     : Rukbah
- fence_cdu -a "10.189.74.200" -n "Rukbah" -l "ubuntu" -p "ubuntu" -o "off"
running: ['/bin/sh', '-c', u'fence_cdu -a "10.189.74.200" -n "Rukbah" -l "ubuntu" -p "ubuntu" -o "off"']
cobbler power configuration is:
      type   : sentryswitch_cdu
cobbler power configuration is:
      address: 10.189.74.200
      user   : ubuntu
      type   : sentryswitch_cdu
      id     : Alkaid
- fence_cdu -a "10.189.74.200" -n "Alkaid" -l "ubuntu" -p "ubuntu" -o "off"
running: ['/bin/sh', '-c', u'fence_cdu -a "10.189.74.200" -n "Alkaid" -l "ubuntu" -p "ubuntu" -o "off"']
      address: 10.189.74.200
      user   : ubuntu
      id     : Phact
- fence_cdu -a "10.189.74.200" -n "Phact" -l "ubuntu" -p "ubuntu" -o "off"
running: ['/bin/sh', '-c', u'fence_cdu -a "10.189.74.200" -n "Phact" -l "ubuntu" -p "ubuntu" -o "off"']
received on stdout: Success: Powered OFF

received on stderr: 
received on stdout: Success: Powered OFF

received on stderr: 
received on stdout: Success: Powered OFF

received on stderr: 
received on stdout: Success: Powered OFF

received on stderr: 
cobbler power configuration is:
      type   : sentryswitch_cdu
      address: 10.189.74.200
      user   : ubuntu
      id     : Tarf
- fence_cdu -a "10.189.74.200" -n "Tarf" -l "ubuntu" -p "ubuntu" -o "on"
running: ['/bin/sh', '-c', u'fence_cdu -a "10.189.74.200" -n "Tarf" -l "ubuntu" -p "ubuntu" -o "on"']
cobbler power configuration is:
      type   : sentryswitch_cdu
      address: 10.189.74.200
      user   : ubuntu
      id     : Alkaid
- fence_cdu -a "10.189.74.200" -n "Alkaid" -l "ubuntu" -p "ubuntu" -o "on"
running: ['/bin/sh', '-c', u'fence_cdu -a "10.189.74.200" -n "Alkaid" -l "ubuntu" -p "ubuntu" -o "on"']
cobbler power configuration is:
      type   : sentryswitch_cdu
      address: 10.189.74.200
      user   : ubuntu
      id     : Rukbah
- fence_cdu -a "10.189.74.200" -n "Rukbah" -l "ubuntu" -p "ubuntu" -o "on"
running: ['/bin/sh', '-c', u'fence_cdu -a "10.189.74.200" -n "Rukbah" -l "ubuntu" -p "ubuntu" -o "on"']
cobbler power configuration is:
      type   : sentryswitch_cdu
      address: 10.189.74.200
      user   : ubuntu
      id     : Phact
- fence_cdu -a "10.189.74.200" -n "Phact" -l "ubuntu" -p "ubuntu" -o "on"
running: ['/bin/sh', '-c', u'fence_cdu -a "10.189.74.200" -n "Phact" -l "ubuntu" -p "ubuntu" -o "on"']
received on stdout: Success: Powered ON

received on stderr: 
*** TASK COMPLETE ***

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: fence-agents (not installed)
ProcVersionSignature: Ubuntu 3.0.0-16.28-server 3.0.17
Uname: Linux 3.0.0-16-server x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Wed Mar 21 14:26:24 2012
SourcePackage: fence-agents
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: cobbler (Ubuntu)
     Importance: Undecided
     Assignee: Canonical Server Team (canonical-server)
         Status: New


** Tags: amd64 apport-bug oneiric qa-manual-testing
-- 
running multiple 'cobbler system reboot --name=xxx' at the same time, fence_cdu lists ALL reboots
https://bugs.launchpad.net/bugs/961232
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cobbler in Ubuntu.



More information about the Ubuntu-server-bugs mailing list