Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1117262

Summary: Neutron parser showing "ft3.4: KeyError" when admin credentials are wrong in network.ini file
Product: [Retired] Red Hat OpenStack Certification Program Reporter: Swati Goswami <swgoswam>
Component: rhosctsAssignee: Neeti Dahiya <ndahiya>
Status: CLOSED ERRATA QA Contact: Swati Goswami <swgoswam>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 5.0CC: ndahiya, rdas, rreddy
Target Milestone: RC   
Target Release: 5.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-14 13:35:26 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:
Bug Depends On:    
Bug Blocks: 1116828    
Attachments:
Description Flags
Corresponding json file
none
Corresponding html file none

Description Swati Goswami 2014-07-08 12:09:13 UTC
Created attachment 916341 [details]
Corresponding json file

Description of problem:
Neutron parser showing "ft3.4: KeyError" when admin credentials are wrong in network.ini file

Version-Release number of selected component (if applicable):
openstack-cts-5.0.rc4-1.el7ost

How reproducible:


Steps to Reproduce:
1.In network.ini file put wrong password for admin or demo
2.Run rhoscts -n


Actual results:

ERROR: test_bulk_subnet (ctslogparser.test_subnet.TestSubnets)
Test creating regular user subnets in bulk
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/ctslogparser/test_neutron_base.py", line 58, in checker
    func(self)
  File "/usr/lib/python2.7/site-packages/ctslogparser/test_subnet.py", line 141, in test_bulk_subnet
    self._test_bulk_subnet(resp_v4, resp_v6)
  File "/usr/lib/python2.7/site-packages/ctslogparser/test_subnet.py", line 114, in _test_bulk_subnet
    for i in range(len(resp_v4['subnets']))]
KeyError: 'subnets'
 
======================================================================

Expected results:
It should run the test for creation of bulk subnet with demo user without any error

Comment 2 Swati Goswami 2014-07-08 12:14:47 UTC
Created attachment 916343 [details]
Corresponding html file

Comment 3 Swati Goswami 2014-07-08 12:20:38 UTC
Please put wrong password for admin(correction in steps to reproduce above)

Comment 5 Neeti Dahiya 2014-07-09 12:26:07 UTC
This issue has been resolved.

Change-Id: I00bf1665a73229da39f7576820090cbd7c9f6d09

Comment 6 Neeti Dahiya 2014-07-09 12:33:39 UTC
(In reply to Neeti Dahiya from comment #5)
> This issue has been resolved.
> 
> Change-Id: I00bf1665a73229da39f7576820090cbd7c9f6d09

commit 942f78ff5463939fd22517fb798ced87f39377b8

Comment 10 errata-xmlrpc 2014-07-14 13:35:26 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-0875.html