Bug 1117273
| Summary: | Neutron parser showing "ft7.2: ValueError: No JSON object could be decoded" for some APIS when wrong credentials of admin are given | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat OpenStack Certification Program | Reporter: | Swati Goswami <swgoswam> | ||||||
| Component: | rhoscts | Assignee: | Neeti Dahiya <ndahiya> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Swati Goswami <swgoswam> | ||||||
| Severity: | urgent | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 5.0 | CC: | 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:28 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: |
|
||||||||
Created attachment 916351 [details]
Report file
http://people.pnq.redhat.com/~rdas/cts-tar-logs/lbaas-wrong-admin/rhoscts-network-log-lbaas-wrong-admin.tar.bz2 Check file network_f17c4041-6dc1-4996-aecf-7be1fd03f6df.log for more details Fixed this issue.
Change-Id: Ieb85ad3a71236e9aa17f517b0af1e1260453b93b
(In reply to Neeti Dahiya from comment #4) > Fixed this issue. > > Change-Id: Ieb85ad3a71236e9aa17f517b0af1e1260453b93b commit a6e0a66b73c6dceafecf7a4aec38c44001be4b59 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 |
Created attachment 916350 [details] Json file Description of problem: Neutron parser showing "ft7.2: ValueError: No JSON object could be decoded" for some APIS when wrong credentials of admin are given 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 2.Run rhoscts -n 3.Check the following APIs in the repor.html a)test_create_pool b)test_update_pool c)test_create_member d)test_update_member e)test_create_vip f)test_update_vip Actual results: for eg ERROR: test_create_pool (ctslogparser.test_pool.TestPools) Test Create regular user pool responses ---------------------------------------------------------------------- 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_pool.py", line 37, in test_create_pool [4]['RESP']['BODY']) File "/usr/lib64/python2.7/json/__init__.py", line 338, in loads return _default_decoder.decode(s) File "/usr/lib64/python2.7/json/decoder.py", line 365, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib64/python2.7/json/decoder.py", line 383, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded Expected results: It should run without any error as the tests are run for demo user Additional info: