Comment 0 for bug 1724357

Revision history for this message
Vivek (vivekgarg) wrote : 3.2.6 - RHOSP10 Issue provisioning DPDK compute using ansible script

facing an issue with DPDK bring up for redhat in 3.2.6. The power state is going to none for DPDK compute.

Hypervisor: 10.87.67.44
Ansible directory: /root/vivek/contrail-ooo-deployer/

changed: [192.168.122.233] => (item=42aba8a8-c9cf-4fde-9803-406516d21975)
changed: [192.168.122.233] => (item=fd36d7bf-1c7b-4011-9eb9-97e22a25d457)
changed: [192.168.122.233] => (item=ab979bb5-2ce8-45ab-8e8d-6435e0091020)
changed: [192.168.122.233] => (item=56e46518-120a-43ea-8368-a28c933de6b8)
changed: [192.168.122.233] => (item=ff74b52a-af9c-4b48-b236-8c0daebae085)
changed: [192.168.122.233] => (item=35fea0e8-f023-4abc-96ff-e50041483a42)
changed: [192.168.122.233] => (item=e46f7570-ec03-4ad4-8d8f-597dfa8b05e6)
changed: [192.168.122.233] => (item=3c2f7f44-d2fd-422f-a589-9193615041c9)

TASK [undercloud_deployer : configure boot mode for ironic nodes] ***********************************************************************************************
fatal: [192.168.122.233]: FAILED! => {"changed": true, "cmd": "source /home/stack/stackrc &&\n /bin/openstack baremetal configure boot", "delta": "0:02:15.859783
", "end": "2017-10-16 18:09:24.628781", "failed": true, "rc": 1, "start": "2017-10-16 18:07:08.768998", "stderr": "Node ab979bb5-2ce8-45ab-8e8d-6435e0091020 powe
r state is in transition. Waiting up to 120 seconds for it to complete.\nTimed out waiting for node ab979bb5-2ce8-45ab-8e8d-6435e0091020 power state.", "stderr_l
ines": ["Node ab979bb5-2ce8-45ab-8e8d-6435e0091020 power state is in transition. Waiting up to 120 seconds for it to complete.", "Timed out waiting for node ab97
9bb5-2ce8-45ab-8e8d-6435e0091020 power state."], "stdout": "", "stdout_lines": []}
        to retry, use: --limit @/root/vivek/contrail-ooo-deployer/playbooks/start.retry

PLAY RECAP ******************************************************************************************************************************************************
192.168.122.233 : ok=83 changed=52 unreachable=0 failed=1
localhost : ok=8 changed=6 unreachable=0 failed=0

[stack@uc-newtonX ~]$ ironic node-list
+--------------------------------------+-----------------------------------------------+---------------+-------------+--------------------+-------------+
| UUID | Name | Instance UUID | Power State | Provisioning State | Maintenance |
+--------------------------------------+-----------------------------------------------+---------------+-------------+--------------------+-------------+
| 42aba8a8-c9cf-4fde-9803-406516d21975 | contrail-analytics-database-1-at-5b9s13-node4 | None | power off | available | False |
| fd36d7bf-1c7b-4011-9eb9-97e22a25d457 | compute-2-at-5b9s13-node3 | None | power off | available | False |
| ab979bb5-2ce8-45ab-8e8d-6435e0091020 | compute-dpdk-1-at-5b10s15-4 | None | None | available | False |
| 56e46518-120a-43ea-8368-a28c933de6b8 | compute-1-at-5b9s13-node3 | None | power off | available | False |
| ff74b52a-af9c-4b48-b236-8c0daebae085 | contrail-controller-1-at-5b9s13-node4 | None | power off | available | False |
| 35fea0e8-f023-4abc-96ff-e50041483a42 | contrail-analytics-1-at-5b9s13-node4 | None | power off | available | False |
| e46f7570-ec03-4ad4-8d8f-597dfa8b05e6 | compute-1-at-5b9s13-node4 | None | power off | available | False |
| 3c2f7f44-d2fd-422f-a589-9193615041c9 | control-1-at-5b9s13-node4 | None | power off | available | False |
+--------------------------------------+-----------------------------------------------+---------------+-------------+--------------------+-------------+

Created [stack@uc-newtonX ~]$/home/stack/dpdk.json to verify if the DPDK node boots up, it comes up fine.
[stack@uc-newtonX ~]$ cat dpdk.json
{
  "nodes": [
    {
      "mac": [
        "90:e2:ba:4c:67:3d"
      ],
      "name": "compute3-dpdk",
      "capabilities" : "profile:compute-dpdk",
      "pm_user": "admin",
      "pm_addr": "10.87.122.164",
      "pm_password": "admin",
      "pm_type": "pxe_ipmitool"
    }
  ]
}