Skip to content

Make Ironic node management steps configurable#1225

Open
hjensas wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
hjensas:OSPRH-25988-alt1
Open

Make Ironic node management steps configurable#1225
hjensas wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
hjensas:OSPRH-25988-alt1

Conversation

@hjensas
Copy link
Contributor

@hjensas hjensas commented Feb 2, 2026

Add configurable toggles for Ironic baremetal node management operations to support scenarios where IGMP snooping conflicts with DHCPv6 multicast, preventing pre-adoption node provisioning.

Pre-adoption role (development_environment):

  • Add pre_launch_ironic_manage_nodes toggle (default: true)
  • Add pre_launch_ironic_inspect_nodes toggle (default: true)
  • Add pre_launch_ironic_provide_nodes toggle (default: true)
  • Add pre_launch_ironic_create_instance toggle (default: true)

Post-adoption role (ironic_adoption):

  • Add ironic_post_adoption_manage_nodes toggle (default: false)
  • Add ironic_post_adoption_inspect_nodes toggle (default: false)
  • Add ironic_post_adoption_provide_nodes toggle (default: false)

This allows deferring baremetal workload setup until after adoption when IGMP snooping prevents DHCPv6 from working in the source cloud. All defaults maintain backward compatibility with existing configurations.

Related: OSPRH-20021
Related: OSPRH-25988
Assisted-By: Claude (claude-4.5-sonnet)

@openshift-ci
Copy link

openshift-ci bot commented Feb 2, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign archana203 for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hjensas hjensas force-pushed the OSPRH-25988-alt1 branch 2 times, most recently from 67d214c to cae9d28 Compare February 3, 2026 09:04
@hjensas
Copy link
Contributor Author

hjensas commented Feb 4, 2026

Including some log data from test project, this seems to work as intended.

TASK [development_environment : pre-launch test Ironic instance] ***************
changed: [localhost] => {"changed": true, "cmd": "set -euxo pipefail\n\nexport OPENSTACK_COMMAND=\"ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack\"\nexport ENROLL_BMAAS_IRONIC_NODES=false\nexport PRE_LAUNCH_IRONIC_RESTART_CHRONY=false\nexport PRE_LAUNCH_IRONIC_MANAGE_NODES=true\nexport PRE_LAUNCH_IRONIC_INSPECT_NODES=true\nexport PRE_LAUNCH_IRONIC_PROVIDE_NODES=false\nexport PRE_LAUNCH_IRONIC_CREATE_INSTANCE=false\nset -euxo pipefail\n\nalias openstack=\"$OPENSTACK_COMMAND\"\n\nfunction wait_node_state() {\n  local node_state=$1\n  local retries=120\n  local counter=0\n  set +e\n  until ! ${BASH_ALIASES[openstack]} baremetal node list -f value -c \"Provisioning\\ State\" | grep -P \"^(?!${node_state}).*$\"; do\n    if [[ \"$counter\" -eq \"$retries\" ]]; then\n      echo \"ERROR: Timeout. Nodes did not reach provisioning state: ${node_state}\"\n      exit 1\n    fi\n    echo \"Waiting for nodes to reach provisioning state: ${node_state}\"\n    sleep 10\n    ((counter++))\n  done\n  set -euxo pipefail\n}\n\nfunction wait_image_active() {\n  local image_name=$1\n  local retries=100\n  local counter=0\n  set +e\n  until ! ${BASH_ALIASES[openstack]} image show  Fedora-Cloud-Base-38 -f value -c status | grep -P \"^(?!active).*$\"; do\n    if [[ \"$counter\" -eq \"$retries\" ]]; then\n      echo \"ERROR: Timeout. Image: ${image_name} did not reach state: active\"\n      exit 1\n    fi\n    echo \"Waiting for image \\\"${image_name}\\\" to reach state \\\"active\\\"\"\n    sleep 10\n    ((counter++))\n  done\n  set -euxo pipefail\n}\n\n\n# If the snapshot was reverted, and time is way off we get SSL issues in agent<->ironic connection\n# Workaround by restarting chronyd.service\nif [[ \"${PRE_LAUNCH_IRONIC_RESTART_CHRONY,,}\" != \"false\" ]]; then\n  ssh -i $EDPM_PRIVATEKEY_PATH root@192.168.122.100 systemctl restart chronyd.service\n  ssh -i $EDPM_PRIVATEKEY_PATH root@192.168.122.100 chronyc -a makestep\nfi\n\n# Enroll baremetal nodes\nif [[ \"${ENROLL_BMAAS_IRONIC_NODES,,}\" != \"false\" ]]; then\n  pushd ${INSTALL_YAMLS_PATH}/devsetup\n  make --silent bmaas_generate_nodes_yaml | tail -n +2 | tee /tmp/ironic_nodes.yaml\n  popd\n\n  scp -i $EDPM_PRIVATEKEY_PATH /tmp/ironic_nodes.yaml root@192.168.122.100:/root/ironic_nodes.yaml\n  ssh -i $EDPM_PRIVATEKEY_PATH root@192.168.122.100 OS_CLOUD=standalone openstack baremetal create /root/ironic_nodes.yaml\nfi\n\nexport IRONIC_PYTHON_AGENT_RAMDISK_ID=$(${BASH_ALIASES[openstack]} image show deploy-ramdisk -c id -f value)\nexport IRONIC_PYTHON_AGENT_KERNEL_ID=$(${BASH_ALIASES[openstack]} image show deploy-kernel -c id -f value)\nfor node in $(${BASH_ALIASES[openstack]} baremetal node list -c UUID -f value); do\n  ${BASH_ALIASES[openstack]} baremetal node set $node \\\n    --driver-info deploy_ramdisk=${IRONIC_PYTHON_AGENT_RAMDISK_ID} \\\n    --driver-info deploy_kernel=${IRONIC_PYTHON_AGENT_KERNEL_ID} \\\n    --resource-class baremetal \\\n    --property capabilities='boot_mode:uefi'\ndone\n\n# Create a baremetal flavor\n${BASH_ALIASES[openstack]} flavor delete baremetal || true\n${BASH_ALIASES[openstack]} flavor create baremetal --ram 1024 --vcpus 1 --disk 15 \\\n  --property resources:VCPU=0 \\\n  --property resources:MEMORY_MB=0 \\\n  --property resources:DISK_GB=0 \\\n  --property resources:CUSTOM_BAREMETAL=1 \\\n  --property capabilities:boot_mode=\"uefi\"\n\n# Create image\nIMG=CentOS-Stream-GenericCloud-x86_64-9-latest.x86_64.qcow2\nURL=https://cloud.centos.org/centos/9-stream/x86_64/images/$IMG\ncurl --silent --show-error -o /tmp/${IMG} -L $URL\nDISK_FORMAT=$(qemu-img info /tmp/${IMG} | grep \"file format:\" | awk '{print $NF}')\n${BASH_ALIASES[openstack]} image delete CentOS-Stream-GenericCloud-x86_64-9 || true\n${BASH_ALIASES[openstack]} image create \\\n  --container-format bare \\\n  --disk-format ${DISK_FORMAT} \\\n  --property hw_firmware_type=uefi \\\n  --property hw_machine_type=q35 \\\n  CentOS-Stream-GenericCloud-x86_64-9 < /tmp/${IMG}\nwait_image_active CentOS-Stream-GenericCloud-x86_64-9\n\n\nexport BAREMETAL_NODES=$(${BASH_ALIASES[openstack]} baremetal node list -c UUID -f value)\n\n# Check if any nodes are active (in use by instances)\nACTIVE_NODES=$(${BASH_ALIASES[openstack]} baremetal node list -c \"Provisioning State\" -f value | grep -c \"active\" || true)\n\nif [ \"$ACTIVE_NODES\" -eq 0 ]; then\n  echo \"No active nodes found, proceeding with node management operations\"\n\n  # Manage nodes\n  if [[ \"${PRE_LAUNCH_IRONIC_MANAGE_NODES,,}\" != \"false\" ]]; then\n    for node in $BAREMETAL_NODES; do\n      ${BASH_ALIASES[openstack]} baremetal node manage $node\n    done\n    wait_node_state \"manageable\"\n\n    # Inspect baremetal nodes\n    if [[ \"${PRE_LAUNCH_IRONIC_INSPECT_NODES,,}\" != \"false\" ]]; then\n      for node in $BAREMETAL_NODES; do\n        ${BASH_ALIASES[openstack]} baremetal node inspect $node\n        sleep 10\n      done\n      wait_node_state \"manageable\"\n    else\n      echo \"Skipping inspect nodes (PRE_LAUNCH_IRONIC_INSPECT_NODES=false)\"\n    fi\n\n    # Provide nodes\n    if [[ \"${PRE_LAUNCH_IRONIC_PROVIDE_NODES,,}\" != \"false\" ]]; then\n      for node in $BAREMETAL_NODES; do\n        ${BASH_ALIASES[openstack]} baremetal node provide $node\n        sleep 10\n      done\n      wait_node_state \"available\"\n    else\n      echo \"Skipping provide nodes (PRE_LAUNCH_IRONIC_PROVIDE_NODES=false)\"\n    fi\n  else\n    echo \"Skipping all node management operations (PRE_LAUNCH_IRONIC_MANAGE_NODES=false)\"\n    echo \"Note: Inspect and Provide steps require nodes to be in manageable state first\"\n  fi\nelse\n  echo \"Found $ACTIVE_NODES active node(s), skipping node management operations\"\nfi\n\n# Create test instance on baremetal\nif [[ \"${PRE_LAUNCH_IRONIC_CREATE_INSTANCE,,}\" != \"false\" ]]; then\n  # Wait for nova to be aware of the node\n  sleep 60\n\n  # Create an instance on baremetal\n  ${BASH_ALIASES[openstack]} server show test-baremetal || {\n      ${BASH_ALIASES[openstack]} server create test-baremetal --flavor baremetal --image CentOS-Stream-GenericCloud-x86_64-9 --nic net-id=provisioning --wait\n  }\n\n  # Wait for node to boot\n  sleep 60\n\n  # Check instance status and network connectivity\n  ${BASH_ALIASES[openstack]} server show test-baremetal\n  ping -c 4 $(${BASH_ALIASES[openstack]} server show test-baremetal -f json -c addresses | jq -r .addresses.provisioning[0])\nelse\n  echo \"Skipping test instance creation (PRE_LAUNCH_IRONIC_CREATE_INSTANCE=false)\"\nfi\n", "delta": "0:09:18.356901", "end": "2026-02-04 04:39:49.762672", "msg": "", "rc": 0, "start": "2026-02-04 04:30:31.405771", "stderr": "+ export 'OPENSTACK_COMMAND=ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack'\n+ OPENSTACK_COMMAND='ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack'\n+ export ENROLL_BMAAS_IRONIC_NODES=false\n+ ENROLL_BMAAS_IRONIC_NODES=false\n+ export PRE_LAUNCH_IRONIC_RESTART_CHRONY=false\n+ PRE_LAUNCH_IRONIC_RESTART_CHRONY=false\n+ export PRE_LAUNCH_IRONIC_MANAGE_NODES=true\n+ PRE_LAUNCH_IRONIC_MANAGE_NODES=true\n+ export PRE_LAUNCH_IRONIC_INSPECT_NODES=true\n+ PRE_LAUNCH_IRONIC_INSPECT_NODES=true\n+ export PRE_LAUNCH_IRONIC_PROVIDE_NODES=false\n+ PRE_LAUNCH_IRONIC_PROVIDE_NODES=false\n+ export PRE_LAUNCH_IRONIC_CREATE_INSTANCE=false\n+ PRE_LAUNCH_IRONIC_CREATE_INSTANCE=false\n+ set -euxo pipefail\n+ alias 'openstack=ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack'\n+ [[ false != \\f\\a\\l\\s\\e ]]\n+ [[ false != \\f\\a\\l\\s\\e ]]\n++ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack image show deploy-ramdisk -c id -f value\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ export IRONIC_PYTHON_AGENT_RAMDISK_ID=8618774a-e7c1-4cd8-a62f-df0cc7958327\n+ IRONIC_PYTHON_AGENT_RAMDISK_ID=8618774a-e7c1-4cd8-a62f-df0cc7958327\n++ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack image show deploy-kernel -c id -f value\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ export IRONIC_PYTHON_AGENT_KERNEL_ID=24acacb9-0a1c-44d0-af72-f9da50dc0917\n+ IRONIC_PYTHON_AGENT_KERNEL_ID=24acacb9-0a1c-44d0-af72-f9da50dc0917\n++ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -c UUID -f value\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ for node in $(${BASH_ALIASES[openstack]} baremetal node list -c UUID -f value)\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node set a1244170-032b-4c62-9e51-8604d1edc593 --driver-info deploy_ramdisk=8618774a-e7c1-4cd8-a62f-df0cc7958327 --driver-info deploy_kernel=24acacb9-0a1c-44d0-af72-f9da50dc0917 --resource-class baremetal --property capabilities=boot_mode:uefi\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ for node in $(${BASH_ALIASES[openstack]} baremetal node list -c UUID -f value)\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node set 159cbf81-3c29-44ef-94a0-654707b0be1a --driver-info deploy_ramdisk=8618774a-e7c1-4cd8-a62f-df0cc7958327 --driver-info deploy_kernel=24acacb9-0a1c-44d0-af72-f9da50dc0917 --resource-class baremetal --property capabilities=boot_mode:uefi\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack flavor delete baremetal\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\nFailed to delete flavor with name or ID 'baremetal': No Flavor found for baremetal\n1 of 1 flavors failed to delete.\n+ true\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack flavor create baremetal --ram 1024 --vcpus 1 --disk 15 --property resources:VCPU=0 --property resources:MEMORY_MB=0 --property resources:DISK_GB=0 --property resources:CUSTOM_BAREMETAL=1 --property capabilities:boot_mode=uefi\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ IMG=CentOS-Stream-GenericCloud-x86_64-9-latest.x86_64.qcow2\n+ URL=https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-x86_64-9-latest.x86_64.qcow2\n+ curl --silent --show-error -o /tmp/CentOS-Stream-GenericCloud-x86_64-9-latest.x86_64.qcow2 -L https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-x86_64-9-latest.x86_64.qcow2\n++ qemu-img info /tmp/CentOS-Stream-GenericCloud-x86_64-9-latest.x86_64.qcow2\n++ grep 'file format:'\n++ awk '{print $NF}'\n+ DISK_FORMAT=qcow2\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack image delete CentOS-Stream-GenericCloud-x86_64-9\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\nFailed to delete image with name or ID 'CentOS-Stream-GenericCloud-x86_64-9': No Image found for CentOS-Stream-GenericCloud-x86_64-9\nFailed to delete 1 of 1 images.\n+ true\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack image create --container-format bare --disk-format qcow2 --property hw_firmware_type=uefi --property hw_machine_type=q35 CentOS-Stream-GenericCloud-x86_64-9\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ wait_image_active CentOS-Stream-GenericCloud-x86_64-9\n+ local image_name=CentOS-Stream-GenericCloud-x86_64-9\n+ local retries=100\n+ local counter=0\n+ set +e\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack image show Fedora-Cloud-Base-38 -f value -c status\n+ grep -P '^(?!active).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\nNo Image found for Fedora-Cloud-Base-38\n+ set -euxo pipefail\n++ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -c UUID -f value\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ export 'BAREMETAL_NODES=a1244170-032b-4c62-9e51-8604d1edc593\n159cbf81-3c29-44ef-94a0-654707b0be1a'\n+ BAREMETAL_NODES='a1244170-032b-4c62-9e51-8604d1edc593\n159cbf81-3c29-44ef-94a0-654707b0be1a'\n++ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -c 'Provisioning State' -f value\n++ grep -c active\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\nusage: openstack baremetal node list [-h] [-f {csv,json,table,value,yaml}]\n                                     [-c COLUMN]\n                                     [--quote {all,minimal,none,nonnumeric}]\n                                     [--noindent] [--max-width <integer>]\n                                     [--fit-width] [--print-empty]\n                                     [--sort-column SORT_COLUMN]\n                                     [--sort-ascending | --sort-descending]\n                                     [--limit <limit>] [--marker <node>]\n                                     [--sort <key>[:<direction>]]\n                                     [--maintenance | --no-maintenance]\n                                     [--retired | --no-retired]\n                                     [--fault <fault>]\n                                     [--associated | --unassociated]\n                                     [--provision-state <provision state>]\n                                     [--driver <driver>]\n                                     [--resource-class <resource class>]\n                                     [--conductor-group <conductor_group>]\n                                     [--conductor <conductor>]\n                                     [--chassis <chassis UUID>]\n                                     [--owner <owner>] [--lessee <lessee>]\n                                     [--description-contains <description_contains>]\n                                     [--long | --fields <field> [<field> ...]]\nopenstack baremetal node list: error: unrecognized arguments: State\n\n++ true\n+ ACTIVE_NODES=0\n+ '[' 0 -eq 0 ']'\n+ echo 'No active nodes found, proceeding with node management operations'\n+ [[ true != \\f\\a\\l\\s\\e ]]\n+ for node in $BAREMETAL_NODES\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node manage a1244170-032b-4c62-9e51-8604d1edc593\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ for node in $BAREMETAL_NODES\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node manage 159cbf81-3c29-44ef-94a0-654707b0be1a\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ wait_node_state manageable\n+ local node_state=manageable\n+ local retries=120\n+ local counter=0\n+ set +e\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ set -euxo pipefail\n+ [[ true != \\f\\a\\l\\s\\e ]]\n+ for node in $BAREMETAL_NODES\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node inspect a1244170-032b-4c62-9e51-8604d1edc593\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ sleep 10\n+ for node in $BAREMETAL_NODES\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node inspect 159cbf81-3c29-44ef-94a0-654707b0be1a\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ sleep 10\n+ wait_node_state manageable\n+ local node_state=manageable\n+ local retries=120\n+ local counter=0\n+ set +e\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 0 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 1 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 2 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 3 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 4 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 5 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 6 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 7 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 8 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 9 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 10 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 11 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 12 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 13 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 14 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 15 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 16 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 17 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 18 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 19 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 20 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 21 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 22 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 23 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 24 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 25 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 26 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 27 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 28 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 29 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ [[ 30 -eq 120 ]]\n+ echo 'Waiting for nodes to reach provisioning state: manageable'\n+ sleep 10\n+ (( counter++ ))\n+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'\n+ grep -P '^(?!manageable).*$'\nWarning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.\r\n+ set -euxo pipefail\n+ [[ false != \\f\\a\\l\\s\\e ]]\n+ echo 'Skipping provide nodes (PRE_LAUNCH_IRONIC_PROVIDE_NODES=false)'\n+ [[ false != \\f\\a\\l\\s\\e ]]\n+ echo 'Skipping test instance creation (PRE_LAUNCH_IRONIC_CREATE_INSTANCE=false)'", "stderr_lines": ["+ export 'OPENSTACK_COMMAND=ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack'", "+ OPENSTACK_COMMAND='ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack'", "+ export ENROLL_BMAAS_IRONIC_NODES=false", "+ ENROLL_BMAAS_IRONIC_NODES=false", "+ export PRE_LAUNCH_IRONIC_RESTART_CHRONY=false", "+ PRE_LAUNCH_IRONIC_RESTART_CHRONY=false", "+ export PRE_LAUNCH_IRONIC_MANAGE_NODES=true", "+ PRE_LAUNCH_IRONIC_MANAGE_NODES=true", "+ export PRE_LAUNCH_IRONIC_INSPECT_NODES=true", "+ PRE_LAUNCH_IRONIC_INSPECT_NODES=true", "+ export PRE_LAUNCH_IRONIC_PROVIDE_NODES=false", "+ PRE_LAUNCH_IRONIC_PROVIDE_NODES=false", "+ export PRE_LAUNCH_IRONIC_CREATE_INSTANCE=false", "+ PRE_LAUNCH_IRONIC_CREATE_INSTANCE=false", "+ set -euxo pipefail", "+ alias 'openstack=ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack'", "+ [[ false != \\f\\a\\l\\s\\e ]]", "+ [[ false != \\f\\a\\l\\s\\e ]]", "++ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack image show deploy-ramdisk -c id -f value", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ export IRONIC_PYTHON_AGENT_RAMDISK_ID=8618774a-e7c1-4cd8-a62f-df0cc7958327", "+ IRONIC_PYTHON_AGENT_RAMDISK_ID=8618774a-e7c1-4cd8-a62f-df0cc7958327", "++ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack image show deploy-kernel -c id -f value", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ export IRONIC_PYTHON_AGENT_KERNEL_ID=24acacb9-0a1c-44d0-af72-f9da50dc0917", "+ IRONIC_PYTHON_AGENT_KERNEL_ID=24acacb9-0a1c-44d0-af72-f9da50dc0917", "++ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -c UUID -f value", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ for node in $(${BASH_ALIASES[openstack]} baremetal node list -c UUID -f value)", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node set a1244170-032b-4c62-9e51-8604d1edc593 --driver-info deploy_ramdisk=8618774a-e7c1-4cd8-a62f-df0cc7958327 --driver-info deploy_kernel=24acacb9-0a1c-44d0-af72-f9da50dc0917 --resource-class baremetal --property capabilities=boot_mode:uefi", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ for node in $(${BASH_ALIASES[openstack]} baremetal node list -c UUID -f value)", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node set 159cbf81-3c29-44ef-94a0-654707b0be1a --driver-info deploy_ramdisk=8618774a-e7c1-4cd8-a62f-df0cc7958327 --driver-info deploy_kernel=24acacb9-0a1c-44d0-af72-f9da50dc0917 --resource-class baremetal --property capabilities=boot_mode:uefi", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack flavor delete baremetal", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "Failed to delete flavor with name or ID 'baremetal': No Flavor found for baremetal", "1 of 1 flavors failed to delete.", "+ true", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack flavor create baremetal --ram 1024 --vcpus 1 --disk 15 --property resources:VCPU=0 --property resources:MEMORY_MB=0 --property resources:DISK_GB=0 --property resources:CUSTOM_BAREMETAL=1 --property capabilities:boot_mode=uefi", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ IMG=CentOS-Stream-GenericCloud-x86_64-9-latest.x86_64.qcow2", "+ URL=https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-x86_64-9-latest.x86_64.qcow2", "+ curl --silent --show-error -o /tmp/CentOS-Stream-GenericCloud-x86_64-9-latest.x86_64.qcow2 -L https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-x86_64-9-latest.x86_64.qcow2", "++ qemu-img info /tmp/CentOS-Stream-GenericCloud-x86_64-9-latest.x86_64.qcow2", "++ grep 'file format:'", "++ awk '{print $NF}'", "+ DISK_FORMAT=qcow2", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack image delete CentOS-Stream-GenericCloud-x86_64-9", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "Failed to delete image with name or ID 'CentOS-Stream-GenericCloud-x86_64-9': No Image found for CentOS-Stream-GenericCloud-x86_64-9", "Failed to delete 1 of 1 images.", "+ true", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack image create --container-format bare --disk-format qcow2 --property hw_firmware_type=uefi --property hw_machine_type=q35 CentOS-Stream-GenericCloud-x86_64-9", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ wait_image_active CentOS-Stream-GenericCloud-x86_64-9", "+ local image_name=CentOS-Stream-GenericCloud-x86_64-9", "+ local retries=100", "+ local counter=0", "+ set +e", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack image show Fedora-Cloud-Base-38 -f value -c status", "+ grep -P '^(?!active).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "No Image found for Fedora-Cloud-Base-38", "+ set -euxo pipefail", "++ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -c UUID -f value", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ export 'BAREMETAL_NODES=a1244170-032b-4c62-9e51-8604d1edc593", "159cbf81-3c29-44ef-94a0-654707b0be1a'", "+ BAREMETAL_NODES='a1244170-032b-4c62-9e51-8604d1edc593", "159cbf81-3c29-44ef-94a0-654707b0be1a'", "++ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -c 'Provisioning State' -f value", "++ grep -c active", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "usage: openstack baremetal node list [-h] [-f {csv,json,table,value,yaml}]", "                                     [-c COLUMN]", "                                     [--quote {all,minimal,none,nonnumeric}]", "                                     [--noindent] [--max-width <integer>]", "                                     [--fit-width] [--print-empty]", "                                     [--sort-column SORT_COLUMN]", "                                     [--sort-ascending | --sort-descending]", "                                     [--limit <limit>] [--marker <node>]", "                                     [--sort <key>[:<direction>]]", "                                     [--maintenance | --no-maintenance]", "                                     [--retired | --no-retired]", "                                     [--fault <fault>]", "                                     [--associated | --unassociated]", "                                     [--provision-state <provision state>]", "                                     [--driver <driver>]", "                                     [--resource-class <resource class>]", "                                     [--conductor-group <conductor_group>]", "                                     [--conductor <conductor>]", "                                     [--chassis <chassis UUID>]", "                                     [--owner <owner>] [--lessee <lessee>]", "                                     [--description-contains <description_contains>]", "                                     [--long | --fields <field> [<field> ...]]", "openstack baremetal node list: error: unrecognized arguments: State", "", "++ true", "+ ACTIVE_NODES=0", "+ '[' 0 -eq 0 ']'", "+ echo 'No active nodes found, proceeding with node management operations'", "+ [[ true != \\f\\a\\l\\s\\e ]]", "+ for node in $BAREMETAL_NODES", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node manage a1244170-032b-4c62-9e51-8604d1edc593", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ for node in $BAREMETAL_NODES", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node manage 159cbf81-3c29-44ef-94a0-654707b0be1a", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ wait_node_state manageable", "+ local node_state=manageable", "+ local retries=120", "+ local counter=0", "+ set +e", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ set -euxo pipefail", "+ [[ true != \\f\\a\\l\\s\\e ]]", "+ for node in $BAREMETAL_NODES", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node inspect a1244170-032b-4c62-9e51-8604d1edc593", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ sleep 10", "+ for node in $BAREMETAL_NODES", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node inspect 159cbf81-3c29-44ef-94a0-654707b0be1a", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ sleep 10", "+ wait_node_state manageable", "+ local node_state=manageable", "+ local retries=120", "+ local counter=0", "+ set +e", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 0 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 1 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 2 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 3 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 4 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 5 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 6 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 7 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 8 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 9 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 10 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 11 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 12 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 13 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 14 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 15 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 16 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 17 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 18 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 19 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 20 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 21 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 22 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 23 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 24 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 25 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 26 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 27 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 28 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 29 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ [[ 30 -eq 120 ]]", "+ echo 'Waiting for nodes to reach provisioning state: manageable'", "+ sleep 10", "+ (( counter++ ))", "+ ssh -i /home/zuul/.ssh/id_cifw -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no zuul@2620:cf:cf:aaaa::76 OS_CLOUD=overcloud openstack baremetal node list -f value -c 'Provisioning\\ State'", "+ grep -P '^(?!manageable).*$'", "Warning: Permanently added '2620:cf:cf:aaaa::76' (ED25519) to the list of known hosts.", "+ set -euxo pipefail", "+ [[ false != \\f\\a\\l\\s\\e ]]", "+ echo 'Skipping provide nodes (PRE_LAUNCH_IRONIC_PROVIDE_NODES=false)'", "+ [[ false != \\f\\a\\l\\s\\e ]]", "+ echo 'Skipping test instance creation (PRE_LAUNCH_IRONIC_CREATE_INSTANCE=false)'"], "stdout": "+----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+\n| Field                      | Value                                                                                                                             |\n+----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+\n| OS-FLV-DISABLED:disabled   | False                                                                                                                             |\n| OS-FLV-EXT-DATA:ephemeral  | 0                                                                                                                                 |\n| description                | None                                                                                                                              |\n| disk                       | 15                                                                                                                                |\n| id                         | 2ddfe755-de07-4a84-a4b4-76d6847c880d                                                                                              |\n| name                       | baremetal                                                                                                                         |\n| os-flavor-access:is_public | True                                                                                                                              |\n| properties                 | capabilities:boot_mode='uefi', resources:CUSTOM_BAREMETAL='1', resources:DISK_GB='0', resources:MEMORY_MB='0', resources:VCPU='0' |\n| ram                        | 1024                                                                                                                              |\n| rxtx_factor                | 1.0                                                                                                                               |\n| swap                       |                                                                                                                                   |\n| vcpus                      | 1                                                                                                                                 |\n+----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+\n+------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| Field            | Value                                                                                                                                                                                                                   |\n+------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| container_format | bare                                                                                                                                                                                                                    |\n| created_at       | 2026-02-04T04:31:21Z                                                                                                                                                                                                    |\n| disk_format      | qcow2                                                                                                                                                                                                                   |\n| file             | /v2/images/b2f98578-6195-4dee-9432-ae944e9d6628/file                                                                                                                                                                    |\n| id               | b2f98578-6195-4dee-9432-ae944e9d6628                                                                                                                                                                                    |\n| min_disk         | 0                                                                                                                                                                                                                       |\n| min_ram          | 0                                                                                                                                                                                                                       |\n| name             | CentOS-Stream-GenericCloud-x86_64-9                                                                                                                                                                                     |\n| owner            | 98b7be8ac87c4efe971cbfe392c69eca                                                                                                                                                                                        |\n| properties       | hw_firmware_type='uefi', hw_machine_type='q35', os_hidden='False', owner_specified.openstack.md5='', owner_specified.openstack.object='images/CentOS-Stream-GenericCloud-x86_64-9', owner_specified.openstack.sha256='' |\n| protected        | False                                                                                                                                                                                                                   |\n| schema           | /v2/schemas/image                                                                                                                                                                                                       |\n| status           | queued                                                                                                                                                                                                                  |\n| tags             |                                                                                                                                                                                                                         |\n| updated_at       | 2026-02-04T04:31:21Z                                                                                                                                                                                                    |\n| visibility       | shared                                                                                                                                                                                                                  |\n+------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\nNo active nodes found, proceeding with node management operations\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\ninspect wait\ninspect wait\nWaiting for nodes to reach provisioning state: manageable\nSkipping provide nodes (PRE_LAUNCH_IRONIC_PROVIDE_NODES=false)\nSkipping test instance creation (PRE_LAUNCH_IRONIC_CREATE_INSTANCE=false)", "stdout_lines": ["+----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+", "| Field                      | Value                                                                                                                             |", "+----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+", "| OS-FLV-DISABLED:disabled   | False                                                                                                                             |", "| OS-FLV-EXT-DATA:ephemeral  | 0                                                                                                                                 |", "| description                | None                                                                                                                              |", "| disk                       | 15                                                                                                                                |", "| id                         | 2ddfe755-de07-4a84-a4b4-76d6847c880d                                                                                              |", "| name                       | baremetal                                                                                                                         |", "| os-flavor-access:is_public | True                                                                                                                              |", "| properties                 | capabilities:boot_mode='uefi', resources:CUSTOM_BAREMETAL='1', resources:DISK_GB='0', resources:MEMORY_MB='0', resources:VCPU='0' |", "| ram                        | 1024                                                                                                                              |", "| rxtx_factor                | 1.0                                                                                                                               |", "| swap                       |                                                                                                                                   |", "| vcpus                      | 1                                                                                                                                 |", "+----------------------------+-----------------------------------------------------------------------------------------------------------------------------------+", "+------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+", "| Field            | Value                                                                                                                                                                                                                   |", "+------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+", "| container_format | bare                                                                                                                                                                                                                    |", "| created_at       | 2026-02-04T04:31:21Z                                                                                                                                                                                                    |", "| disk_format      | qcow2                                                                                                                                                                                                                   |", "| file             | /v2/images/b2f98578-6195-4dee-9432-ae944e9d6628/file                                                                                                                                                                    |", "| id               | b2f98578-6195-4dee-9432-ae944e9d6628                                                                                                                                                                                    |", "| min_disk         | 0                                                                                                                                                                                                                       |", "| min_ram          | 0                                                                                                                                                                                                                       |", "| name             | CentOS-Stream-GenericCloud-x86_64-9                                                                                                                                                                                     |", "| owner            | 98b7be8ac87c4efe971cbfe392c69eca                                                                                                                                                                                        |", "| properties       | hw_firmware_type='uefi', hw_machine_type='q35', os_hidden='False', owner_specified.openstack.md5='', owner_specified.openstack.object='images/CentOS-Stream-GenericCloud-x86_64-9', owner_specified.openstack.sha256='' |", "| protected        | False                                                                                                                                                                                                                   |", "| schema           | /v2/schemas/image                                                                                                                                                                                                       |", "| status           | queued                                                                                                                                                                                                                  |", "| tags             |                                                                                                                                                                                                                         |", "| updated_at       | 2026-02-04T04:31:21Z                                                                                                                                                                                                    |", "| visibility       | shared                                                                                                                                                                                                                  |", "+------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+", "No active nodes found, proceeding with node management operations", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "inspect wait", "inspect wait", "Waiting for nodes to reach provisioning state: manageable", "Skipping provide nodes (PRE_LAUNCH_IRONIC_PROVIDE_NODES=false)", "Skipping test instance creation (PRE_LAUNCH_IRONIC_CREATE_INSTANCE=false)"]}
TASK [ironic_adoption : Reset node driver_info to use new deploy images] *******
changed: [localhost] => {"changed": true, "cmd": "set -euxo pipefail\n\n\nalias openstack=\"oc exec -t openstackclient -- openstack\"\n\nfor node in $(${BASH_ALIASES[openstack]} baremetal node list -c UUID -f value); do\n  ${BASH_ALIASES[openstack]} baremetal node set $node    --driver-info deploy_ramdisk=    --driver-info deploy_kernel=\ndone\n", "delta": "0:00:05.771121", "end": "2026-02-04 05:16:23.202396", "msg": "", "rc": 0, "start": "2026-02-04 05:16:17.431275", "stderr": "+ alias 'openstack=oc exec -t openstackclient -- openstack'\n++ oc exec -t openstackclient -- openstack baremetal node list -c UUID -f value\n+ for node in $(${BASH_ALIASES[openstack]} baremetal node list -c UUID -f value)\n+ oc exec -t openstackclient -- openstack baremetal node set a1244170-032b-4c62-9e51-8604d1edc593 --driver-info deploy_ramdisk= --driver-info deploy_kernel=\n+ for node in $(${BASH_ALIASES[openstack]} baremetal node list -c UUID -f value)\n+ oc exec -t openstackclient -- openstack baremetal node set 159cbf81-3c29-44ef-94a0-654707b0be1a --driver-info deploy_ramdisk= --driver-info deploy_kernel=", "stderr_lines": ["+ alias 'openstack=oc exec -t openstackclient -- openstack'", "++ oc exec -t openstackclient -- openstack baremetal node list -c UUID -f value", "+ for node in $(${BASH_ALIASES[openstack]} baremetal node list -c UUID -f value)", "+ oc exec -t openstackclient -- openstack baremetal node set a1244170-032b-4c62-9e51-8604d1edc593 --driver-info deploy_ramdisk= --driver-info deploy_kernel=", "+ for node in $(${BASH_ALIASES[openstack]} baremetal node list -c UUID -f value)", "+ oc exec -t openstackclient -- openstack baremetal node set 159cbf81-3c29-44ef-94a0-654707b0be1a --driver-info deploy_ramdisk= --driver-info deploy_kernel="], "stdout": "", "stdout_lines": []}

TASK [ironic_adoption : Post-adoption baremetal node management] ***************
changed: [localhost] => {"changed": true, "cmd": "set -euxo pipefail\n\n\nexport OPENSTACK_COMMAND=\"oc exec -t openstackclient -- openstack\"\nexport IRONIC_POST_ADOPTION_MANAGE_NODES=false\nexport IRONIC_POST_ADOPTION_INSPECT_NODES=false\nexport IRONIC_POST_ADOPTION_PROVIDE_NODES=true\nset -euxo pipefail\n\nalias openstack=\"$OPENSTACK_COMMAND\"\n\nfunction wait_node_state() {\n  local target_state=$1\n  local nodes=$2\n  local retries=120\n  local counter=0\n  set +e\n\n  until true; do\n    local all_in_state=true\n    for node in $nodes; do\n      local current_state=$(${BASH_ALIASES[openstack]} baremetal node show $node -c provision_state -f value)\n      if [[ \"$current_state\" != \"$target_state\" ]]; then\n        all_in_state=false\n        break\n      fi\n    done\n\n    if [[ \"$all_in_state\" == \"true\" ]]; then\n      break\n    fi\n\n    if [[ \"$counter\" -eq \"$retries\" ]]; then\n      echo \"ERROR: Timeout. Nodes did not reach provisioning state: ${target_state}\"\n      exit 1\n    fi\n\n    echo \"Waiting for nodes to reach provisioning state: ${target_state}\"\n    sleep 10\n    ((counter++))\n  done\n\n  set -euxo pipefail\n}\n\n# Manage nodes\nif [[ \"${IRONIC_POST_ADOPTION_MANAGE_NODES,,}\" == \"true\" ]]; then\n  echo \"Managing baremetal nodes...\"\n\n  # Get list of nodes that are not in active state\n  BAREMETAL_NODES=$(${BASH_ALIASES[openstack]} baremetal node list -c UUID -c \"Provisioning State\" -f value | awk '$2 != \"active\" {print $1}')\n\n  # Manage nodes\n  for node in $BAREMETAL_NODES; do\n    ${BASH_ALIASES[openstack]} baremetal node manage $node\n  done\n\n  # Allow time for state transitions to begin\n  sleep 10\n\n  # Wait for nodes to reach manageable state\n  wait_node_state \"manageable\" \"$BAREMETAL_NODES\"\n\n  echo \"Nodes successfully managed\"\nfi\n\n# Inspect baremetal nodes\nif [[ \"${IRONIC_POST_ADOPTION_INSPECT_NODES,,}\" == \"true\" ]]; then\n  echo \"Inspecting baremetal nodes...\"\n\n  # Get list of nodes in manageable state\n  BAREMETAL_NODES=$(${BASH_ALIASES[openstack]} baremetal node list -c UUID -c \"Provisioning State\" -f value | awk '$2 == \"manageable\" {print $1}')\n\n  # Inspect nodes\n  for node in $BAREMETAL_NODES; do\n    ${BASH_ALIASES[openstack]} baremetal node inspect $node\n    sleep 10\n  done\n\n  # Allow time for inspection to begin\n  sleep 10\n\n  # Wait for nodes to reach manageable state (after inspection)\n  wait_node_state \"manageable\" \"$BAREMETAL_NODES\"\n\n  echo \"Nodes successfully inspected\"\nfi\n\n# Provide nodes\nif [[ \"${IRONIC_POST_ADOPTION_PROVIDE_NODES,,}\" == \"true\" ]]; then\n  echo \"Providing baremetal nodes...\"\n\n  # Get list of nodes in manageable state\n  BAREMETAL_NODES=$(${BASH_ALIASES[openstack]} baremetal node list -c UUID -c \"Provisioning State\" -f value | awk '$2 == \"manageable\" {print $1}')\n\n  # Provide nodes\n  for node in $BAREMETAL_NODES; do\n    ${BASH_ALIASES[openstack]} baremetal node provide $node\n    sleep 10\n  done\n\n  # Allow time for cleaning to begin\n  sleep 10\n\n  # Wait for nodes to reach available state\n  wait_node_state \"available\" \"$BAREMETAL_NODES\"\n\n  echo \"Nodes successfully provided\"\nfi\n", "delta": "0:00:35.710920", "end": "2026-02-04 05:16:59.177378", "msg": "", "rc": 0, "start": "2026-02-04 05:16:23.466458", "stderr": "+ export 'OPENSTACK_COMMAND=oc exec -t openstackclient -- openstack'\n+ OPENSTACK_COMMAND='oc exec -t openstackclient -- openstack'\n+ export IRONIC_POST_ADOPTION_MANAGE_NODES=false\n+ IRONIC_POST_ADOPTION_MANAGE_NODES=false\n+ export IRONIC_POST_ADOPTION_INSPECT_NODES=false\n+ IRONIC_POST_ADOPTION_INSPECT_NODES=false\n+ export IRONIC_POST_ADOPTION_PROVIDE_NODES=true\n+ IRONIC_POST_ADOPTION_PROVIDE_NODES=true\n+ set -euxo pipefail\n+ alias 'openstack=oc exec -t openstackclient -- openstack'\n+ [[ false == \\t\\r\\u\\e ]]\n+ [[ false == \\t\\r\\u\\e ]]\n+ [[ true == \\t\\r\\u\\e ]]\n+ echo 'Providing baremetal nodes...'\n++ oc exec -t openstackclient -- openstack baremetal node list -c UUID -c 'Provisioning State' -f value\n++ awk '$2 == \"manageable\" {print $1}'\n+ BAREMETAL_NODES='a1244170-032b-4c62-9e51-8604d1edc593\n159cbf81-3c29-44ef-94a0-654707b0be1a'\n+ for node in $BAREMETAL_NODES\n+ oc exec -t openstackclient -- openstack baremetal node provide a1244170-032b-4c62-9e51-8604d1edc593\n+ sleep 10\n+ for node in $BAREMETAL_NODES\n+ oc exec -t openstackclient -- openstack baremetal node provide 159cbf81-3c29-44ef-94a0-654707b0be1a\n+ sleep 10\n+ sleep 10\n+ wait_node_state available 'a1244170-032b-4c62-9e51-8604d1edc593\n159cbf81-3c29-44ef-94a0-654707b0be1a'\n+ local target_state=available\n+ local 'nodes=a1244170-032b-4c62-9e51-8604d1edc593\n159cbf81-3c29-44ef-94a0-654707b0be1a'\n+ local retries=120\n+ local counter=0\n+ set +e\n+ true\n+ set -euxo pipefail\n+ echo 'Nodes successfully provided'", "stderr_lines": ["+ export 'OPENSTACK_COMMAND=oc exec -t openstackclient -- openstack'", "+ OPENSTACK_COMMAND='oc exec -t openstackclient -- openstack'", "+ export IRONIC_POST_ADOPTION_MANAGE_NODES=false", "+ IRONIC_POST_ADOPTION_MANAGE_NODES=false", "+ export IRONIC_POST_ADOPTION_INSPECT_NODES=false", "+ IRONIC_POST_ADOPTION_INSPECT_NODES=false", "+ export IRONIC_POST_ADOPTION_PROVIDE_NODES=true", "+ IRONIC_POST_ADOPTION_PROVIDE_NODES=true", "+ set -euxo pipefail", "+ alias 'openstack=oc exec -t openstackclient -- openstack'", "+ [[ false == \\t\\r\\u\\e ]]", "+ [[ false == \\t\\r\\u\\e ]]", "+ [[ true == \\t\\r\\u\\e ]]", "+ echo 'Providing baremetal nodes...'", "++ oc exec -t openstackclient -- openstack baremetal node list -c UUID -c 'Provisioning State' -f value", "++ awk '$2 == \"manageable\" {print $1}'", "+ BAREMETAL_NODES='a1244170-032b-4c62-9e51-8604d1edc593", "159cbf81-3c29-44ef-94a0-654707b0be1a'", "+ for node in $BAREMETAL_NODES", "+ oc exec -t openstackclient -- openstack baremetal node provide a1244170-032b-4c62-9e51-8604d1edc593", "+ sleep 10", "+ for node in $BAREMETAL_NODES", "+ oc exec -t openstackclient -- openstack baremetal node provide 159cbf81-3c29-44ef-94a0-654707b0be1a", "+ sleep 10", "+ sleep 10", "+ wait_node_state available 'a1244170-032b-4c62-9e51-8604d1edc593", "159cbf81-3c29-44ef-94a0-654707b0be1a'", "+ local target_state=available", "+ local 'nodes=a1244170-032b-4c62-9e51-8604d1edc593", "159cbf81-3c29-44ef-94a0-654707b0be1a'", "+ local retries=120", "+ local counter=0", "+ set +e", "+ true", "+ set -euxo pipefail", "+ echo 'Nodes successfully provided'"], "stdout": "Providing baremetal nodes...\nNodes successfully provided", "stdout_lines": ["Providing baremetal nodes...", "Nodes successfully provided"]}

@hjensas hjensas requested review from fyanac and jistr February 4, 2026 10:56
@jistr
Copy link
Contributor

jistr commented Feb 5, 2026

Looks good but should some of the additions be reflected in docs also? Or is this all CI-specific?

@hjensas
Copy link
Contributor Author

hjensas commented Feb 5, 2026

Looks good but should some of the additions be reflected in docs also? Or is this all CI-specific?

So, the - name: Reset node driver_info to use new deploy images is something to check in docs.
Let'me drop that part, and propose that as a separate PR and ensure the docs are update as well.

Add configurable toggles for Ironic baremetal node management
operations to support scenarios where IGMP snooping conflicts
with DHCPv6 multicast, preventing pre-adoption node provisioning.

Pre-adoption role (development_environment):
- Add pre_launch_ironic_manage_nodes toggle (default: true)
- Add pre_launch_ironic_inspect_nodes toggle (default: true)
- Add pre_launch_ironic_provide_nodes toggle (default: true)
- Add pre_launch_ironic_create_instance toggle (default: true)

Post-adoption role (ironic_adoption):
- Add ironic_post_adoption_manage_nodes toggle (default: false)
- Add ironic_post_adoption_inspect_nodes toggle (default: false)
- Add ironic_post_adoption_provide_nodes toggle (default: false)

This allows deferring baremetal workload setup until after adoption
when IGMP snooping prevents DHCPv6 from working in the source cloud.
All defaults maintain backward compatibility with existing
configurations.

Related: OSPRH-20021
Related: OSPRH-25988
Assisted-By: Claude (claude-4.5-sonnet)
Signed-off-by: Harald Jensås <hjensas@redhat.com>
@hjensas
Copy link
Contributor Author

hjensas commented Feb 5, 2026

Looks good but should some of the additions be reflected in docs also? Or is this all CI-specific?

So, the - name: Reset node driver_info to use new deploy images is something to check in docs. Let'me drop that part, and propose that as a separate PR and ensure the docs are update as well.

New PR with test automation and relevant docs updated in #1232

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants