running multiple 'cobbler system reboot --name=xxx' at the same time, fence_cdu lists ALL reboots

Bug #961232 reported by C de-Avillez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cobbler (Ubuntu)
New
Medium
Unassigned

Bug Description

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)

Revision history for this message
C de-Avillez (hggdh2) wrote :
Changed in fence-agents (Ubuntu):
assignee: nobody → Canonical Server Team (canonical-server)
affects: fence-agents (Ubuntu) → cobbler (Ubuntu)
Dave Walker (davewalker)
Changed in cobbler (Ubuntu):
assignee: Canonical Server Team (canonical-server) → nobody
importance: Undecided → Medium
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.