ovb install fails due to instackenv.json not validating

Bug #1715400 reported by Matthias Runge on 2017-09-06
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Medium
Unassigned

Bug Description

devmode on rdocloud fails currently:

[stack@215-mrunge--undercloud ~]$ sh validate-overcloud-ipmi-connection.sh
+ [[ ! -f /home/stack/instackenv.json ]]
+ sudo yum install -y git OpenIPMI OpenIPMI-tools
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
216 packages excluded due to repository priority protections
Package git-1.8.3.1-6.el7_2.1.x86_64 already installed and latest version
Package OpenIPMI-2.0.19-15.el7.x86_64 already installed and latest version
Package ipmitool-1.8.15-7.el7.x86_64 already installed and latest version
Nothing to do
+ '[' -d /home/stack/clapper ']'
+ rm -rf /home/stack/clapper
+ git clone https://github.com/rthallisey/clapper.git /home/stack/clapper
Cloning into '/home/stack/clapper'...
remote: Counting objects: 1697, done.
remote: Total 1697 (delta 0), reused 0 (delta 0), pack-reused 1697
Receiving objects: 100% (1697/1697), 296.00 KiB | 0 bytes/s, done.
Resolving deltas: 100% (1053/1053), done.
++ python /home/stack/clapper/instackenv-validator.py -f /home/stack/instackenv.json
INFO:__main__:Checking node 10.0.1.14
DEBUG:__main__:Identified baremetal node
DEBUG:__main__:Executing: ipmitool -R 1 -I lanplus -H 10.0.1.14 -U admin -P password chassis status
Error: Unable to establish IPMI v2 / RMCP+ session
ERROR:__main__:ERROR: ipmitool failed
INFO:__main__:Checking node 10.0.1.12
DEBUG:__main__:Identified baremetal node
DEBUG:__main__:Executing: ipmitool -R 1 -I lanplus -H 10.0.1.12 -U admin -P password chassis status
Error: Unable to establish IPMI v2 / RMCP+ session
ERROR:__main__:ERROR: ipmitool failed
DEBUG:__main__:Baremetal IPs are all unique.
DEBUG:__main__:MAC addresses are all unique.
+ export 'IPMI_VALIDATE=
--------------------
FAILURE: instackenv validator found 2 errors
Failure to contact below addresses
IPMI Address : 10.0.1.14
IPMI Address : 10.0.1.12'
+ IPMI_VALIDATE='
--------------------
FAILURE: instackenv validator found 2 errors
Failure to contact below addresses
IPMI Address : 10.0.1.14
IPMI Address : 10.0.1.12'
+ [[
--------------------
FAILURE: instackenv validator found 2 errors
Failure to contact below addresses
IPMI Address : 10.0.1.14
IPMI Address : 10.0.1.12 != *SUCCESS* ]]
+ echo 'instackenv.json did not validate.'
instackenv.json did not validate.
+ echo -------------------- FAILURE: instackenv validator found 2 errors Failure to contact below addresses IPMI Address : 10.0.1.14 IPMI Address : 10.0.1.12
-------------------- FAILURE: instackenv validator found 2 errors Failure to contact below addresses IPMI Address : 10.0.1.14 IPMI Address : 10.0.1.12
+ exit 1

The instackenv.json itself looks like this:
[stack@215-mrunge--undercloud ~]$ cat instackenv.json
{
  "nodes": [
    {
      "pm_password": "password",
      "name": "215-mrunge--baremetal-0",
      "memory": 8192,
      "pm_addr": "10.0.1.14",
      "mac": [
        "fa:16:3e:53:b2:c8"
      ],
      "capabilities": "boot_option:local",
      "pm_type": "pxe_ipmitool",
      "disk": 80,
      "arch": "x86_64",
      "cpu": 4,
      "pm_user": "admin"
    },
    {
      "pm_password": "password",
      "name": "215-mrunge--baremetal-1",
      "memory": 8192,
      "pm_addr": "10.0.1.12",
      "mac": [
        "fa:16:3e:d3:67:77"
      ],
      "capabilities": "boot_option:local",
      "pm_type": "pxe_ipmitool",
      "disk": 80,
      "arch": "x86_64",
      "cpu": 4,
      "pm_user": "admin"
    }
  ]
}

Matthias Runge (mrunge) on 2017-09-06
tags: added: quickstart
Changed in tripleo:
status: New → Triaged
milestone: none → queens-1
importance: Undecided → Medium
Changed in tripleo:
milestone: queens-1 → queens-2
Changed in tripleo:
milestone: queens-2 → queens-3
Changed in tripleo:
milestone: queens-3 → queens-rc1
Changed in tripleo:
milestone: queens-rc1 → rocky-1
Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
milestone: stein-2 → stein-3
Changed in tripleo:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers