Bug 1209153

Summary: ERROR: openstack string indices must be integers
Product: [Community] RDO Reporter: Ola Pavlenko <opavlenk>
Component: rdo-manager-cliAssignee: Dougal Matthews <dmatthew>
Status: CLOSED CURRENTRELEASE QA Contact: yeylon <yeylon>
Severity: low Docs Contact:
Priority: unspecified    
Version: trunkCC: apevec, jcoufal, jruzicka, srevivo
Target Milestone: ---   
Target Release: Kilo   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-30 23:01:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
default instackenv.json none

Description Ola Pavlenko 2015-04-06 13:36:12 UTC
Created attachment 1011385 [details]
default instackenv.json

Description of problem:
Running $ openstack baremetal import instackenv.json --json and got ERROR: openstack string indices must be integers

json file is a default one that comes with instack vm installation should work out of the box

Version-Release number of selected component (if applicable):

$ rpm -qa | grep rdo
python-rdomanager-oscplugin-0.0.1-6ede03c.el7.centos.noarch
rubygem-rdoc-4.0.0-24.el7.noarch
rdo-release-kilo-0.noarch

How reproducible:
always

Steps to Reproduce:
1.install with instack using sphinx internal docs - Vm installation
2. access the undercloud VM and import nodes using json file:
openstack baremetal import instackenv.json --json

3.

Actual results:
]$ openstack baremetal import instackenv.json --json
/usr/lib/python2.7/site-packages/novaclient/v1_1/__init__.py:30: UserWarning: Module novaclient.v1_1 is deprecated (taken as a basis for novaclient.v2). The preferable way to get client class or object you can find in novaclient.client module.
  warnings.warn("Module novaclient.v1_1 is deprecated (taken as a basis for "
ERROR: openstack string indices must be integers


Expected results:

nodes were successfully imported
Additional info:
the default instackenv.json file is attached.

Workaround: remove pxe_ssh access details (ssh-user, ssh-key, seed-ip, power-manager, host-ip, arch, )

Comment 1 Dougal Matthews 2015-04-14 12:56:55 UTC
This change has been merged into midstream.

Comment 2 Ana Krivokapic 2015-05-05 13:25:27 UTC
*** Bug 1211474 has been marked as a duplicate of this bug. ***

Comment 3 Ola Pavlenko 2015-05-06 08:12:31 UTC
verified on python-rdomanager-oscplugin-0.0.0-post49.el7.centos.noarch