[ubuntu-havana-mainline-2339] vdns api read failing due to user_visible set to false

Bug #1373260 reported by Prashant Shetty
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.0
Fix Committed
High
Prakash Bailkeri
Trunk
Fix Committed
High
Prakash Bailkeri

Bug Description

In latest mainline build see that user_visible is set to 'False' when tried to create vdns through API auto-generated fixture, due to which api read is failing.

Prakash is aware of the issue.

2014-09-23 07:21:06,659 [ DEBUG ] Creating VDNS : vdns1
2014-09-23 07:21:06,758 [ DEBUG ] Skipping the deletion of Project ['default-domain', 'admin']
2014-09-23 07:21:10,167 [ ERROR ]
  File "/root/centos_multi_node_github_sanity/contrail-test/scripts/tcutils/wrappers.py", line 80, in wrapper
    result = function(self, *args, **kwargs)
  File "/root/centos_multi_node_github_sanity/contrail-test/scripts/vdns/vdns_tests.py", line 112, in test_vdns_ping_same_vn
    dns_data=dns_data))
  File "/usr/lib/python2.6/site-packages/testtools/testcase.py", line 675, in useFixture
    reraise(*exc_info)
  File "/usr/lib/python2.6/site-packages/testtools/testcase.py", line 662, in useFixture
    fixture.setUp()
  File "/root/centos_multi_node_github_sanity/contrail-test/fixtures/vdns_fixture.py", line 26, in setUp
    self.vnc_lib, virtual_DNS_name=self.vdns_name, virtual_DNS_data=self.dns_data, auto_prop_val=True))
  File "/usr/lib/python2.6/site-packages/fixtures/fixture.py", line 192, in useFixture
    fixture.setUp()
  File "/usr/lib/python2.6/site-packages/vnc_api/gen/resource_test.py", line 1993, in setUp
    self._obj = self._conn_drv.virtual_DNS_read(id = self._obj.uuid)
  File "/usr/lib/python2.6/site-packages/vnc_api/gen/vnc_api_client_gen.py", line 3101, in virtual_DNS_read
    content = self._request_server(rest.OP_GET, uri, query_params)
  File "/usr/lib/python2.6/site-packages/vnc_api/vnc_api.py", line 358, in _request_server
    % (op, url, data, content))

NoIdError:

>>> OBJ_UUID_TABLE.get('b4f74a14-cdc9-4cee-9631-5fd091d16aca')
OrderedDict([('fq_name', '["default-domain", "prashant"]'), ('parent:domain:b10f3d68-6ef2-4ae4-9d36-db82fd6d1235', 'null'), ('parent_type', '"domain"'), ('prop:display_name', '"test-display_name"'), ('prop:id_perms', '{"enable": false, "uuid": {"uuid_mslong": 13039972699286883566, "uuid_lslong": 10822536728952269514}, "created": "2014-09-24T06:31:23.593639", "user_visible": false, "last_modified": "2014-09-24T06:31:23.593639", "permissions": {"owner": "admin", "owner_access": 7, "other_access": 7, "group": "KeystoneAdmin", "group_access": 7}, "description": "test-description"}'), ('prop:virtual_DNS_data', '{"floating_ip_record": null, "domain_name": "juniper.net", "next_virtual_DNS": null, "dynamic_records_from_client": true, "default_ttl_seconds": 100, "record_order": "random"}'), ('type', '"virtual_DNS"')])
>>>

Tags: config sanity
tags: added: sanity
information type: Proprietary → Public
Revision history for this message
Prakash Bailkeri (prakashmb) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.