ssh command limits for toci virsh don't match ironic commands

Bug #1298731 reported by Robert Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
Triaged
Medium
Unassigned

Bug Description

The testenv hosts run a command limited ssh environment - see elements/testenv-worker/bin/ci_commands in tripleo-ci - but this doesn't yet support ironic's ssh driver.

Tags: toci
Revision history for this message
Robert Collins (lifeless) wrote :

(ironic.conductor.manager): 2014-03-27 18:32:31,852 WARNING During sync_power_state, could not get power state for node e0951bb2-1f3f-4542-ab21-a61ca6543991. Error: Failed to execute command via SSH: /usr/bin/virsh --connect qemu:///system list --all|grep running | awk -v qc='"' -F" " '{print qc$2qc}'..
(ironic.conductor.manager): 2014-03-27 18:33:31,497 WARNING During sync_power_state, could not get power state for node e0951bb2-1f3f-4542-ab21-a61ca6543991. Error: Failed to execute command via SSH: /usr/bin/virsh --connect qemu:///system list --all|grep running | awk -v qc='"' -F" " '{print qc$2qc}'..
(ironic.conductor.manager): 2014-03-27 18:34:31,505 WARNING During sync_power_state, could not get power state for node e0951bb2-1f3f-4542-ab21-a61ca6543991. Error: Failed to execute command via SSH: /usr/bin/virsh --connect qemu:///system list --all|grep running | awk -v qc='"' -F" " '{print qc$2qc}'..
(ironic.conductor.manager): 2014-03-27 18:34:31,511 ERROR (u"During sync_power_state, max retries exceeded for node %(node)s, node state %(actual)s does not match expected state '%(state)s'. Updating DB state to '%(actual)s' Switching node to maintenance mode.", {'node': u'e0951bb2-1f3f-4542-ab21-a61ca6543991', 'state': None, 'actual': None})

Revision history for this message
Chris Krelle (nobodycam) wrote :

Looking at the ci_commands file what is failing is the regex on the commands. Ironic is setting the virsh "--connect" option where Nova BM is not. Also on ironic has a couple of additional spaces in the list --all command. I will put up a patch shortly that should modify the regex to allow for these differences.

Jeremy Stanley (fungi)
tags: added: toci
Jeremy Stanley (fungi)
Changed in openstack-ci:
status: New → Triaged
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.