[xenial-pike] neutronclient.common.exceptions.BadRequest: Invalid input for remote_as. Reason: '4279331621' is too large - must be no larger than '65535'.

Bug #1801412 reported by Ryan Beisner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Neutron Dynamic Routing charm
Invalid
Undecided
Unassigned
Openstack Mojo Testing
Fix Released
High
Ryan Beisner

Bug Description

I think that for Pike, a 16 bit asn is expected. However, a 32 bit asn is hitting the relation data, and the mojo scenario test is failing.

xenial-pike 16-bit asn issue: neutronclient.common.exceptions.BadRequest: Invalid input for remote_as. Reason: '4279331621' is too large - must be no larger than '65535'.

---

00:49:58.490 #############################################################################
00:49:58.490 Setup Dynamic Routing
00:49:58.490 #############################################################################
00:49:58.490
00:49:58.490
00:49:58.491 2018-11-02 13:26:01 [INFO] Pulling secrets from /tmp/tmp.BNRVKUDqS2/LOCAL/mojo-openstack-specs/specs/full_stack/next_dynamic_routing/pike to /tmp/tmp.BNRVKUDqS2/mojo-openstack-specs/xenial/osci-mojo/local
00:49:58.495 2018-11-02 13:26:01 [WARNING] Automatic secrets phase ran but secrets directory /tmp/tmp.BNRVKUDqS2/LOCAL/mojo-openstack-specs/specs/full_stack/next_dynamic_routing/pike does not exist!
00:49:58.495 2018-11-02 13:26:01 [INFO] Running script bgp_speaker_setup.py
00:50:38.569 2018-11-02 13:26:41 [WARNING] No debug log matching debug-logs found. Using default.
00:50:41.963 2018-11-02 13:26:44 [ERROR] 2018-11-02 13:26:29 [INFO] Using keystone API V2 for overcloud auth
00:50:41.963 2018-11-02 13:26:35 [INFO] Setting up BGP speaker
00:50:41.963 2018-11-02 13:26:38 [INFO] Creating BGP Speaker
00:50:41.963 2018-11-02 13:26:38 [INFO] Advertising BGP routes
00:50:41.963 2018-11-02 13:26:38 [INFO] Advertising ext_net network on BGP Speaker bgp-speaker
00:50:41.963 2018-11-02 13:26:39 [INFO] Advertising private network on BGP Speaker bgp-speaker
00:50:41.963 2018-11-02 13:26:39 [INFO] Setting up BGP peer
00:50:41.963 2018-11-02 13:26:40 [INFO] Creating BGP Peer
00:50:41.963 Traceback (most recent call last):
00:50:41.963 File "/tmp/tmp.BNRVKUDqS2/mojo-openstack-specs/xenial/osci-mojo/spec/specs/full_stack/next_dynamic_routing/pike/bgp_speaker_setup.py", line 9, in <module>
00:50:41.963 sys.exit(bgp_speaker.run_from_cli())
00:50:41.963 File "/var/lib/jenkins/tools/0/charm-test-infra/.tox/clients/lib/python3.5/site-packages/zaza/configure/bgp_speaker.py", line 153, in run_from_cli
00:50:41.963 setup_bgp_speaker(peer_application_name)
00:50:41.963 File "/var/lib/jenkins/tools/0/charm-test-infra/.tox/clients/lib/python3.5/site-packages/zaza/configure/bgp_speaker.py", line 87, in setup_bgp_speaker
00:50:41.963 remote_as=peer_asn)
00:50:41.963 File "/var/lib/jenkins/tools/0/charm-test-infra/.tox/clients/lib/python3.5/site-packages/zaza/utilities/openstack.py", line 931, in create_bgp_peer
00:50:41.963 bgp_peer = neutron_client.create_bgp_peer(bgp_peer_msg)['bgp_peer']
00:50:41.963 File "/var/lib/jenkins/tools/0/charm-test-infra/.tox/clients/lib/python3.5/site-packages/neutronclient/v2_0/client.py", line 2052, in create_bgp_peer
00:50:41.963 return self.post(self.bgp_peers_path, body=body)
00:50:41.963 File "/var/lib/jenkins/tools/0/charm-test-infra/.tox/clients/lib/python3.5/site-packages/neutronclient/v2_0/client.py", line 359, in post
00:50:41.963 headers=headers, params=params)
00:50:41.963 File "/var/lib/jenkins/tools/0/charm-test-infra/.tox/clients/lib/python3.5/site-packages/neutronclient/v2_0/client.py", line 294, in do_request
00:50:41.963 self._handle_fault_response(status_code, replybody, resp)
00:50:41.963 File "/var/lib/jenkins/tools/0/charm-test-infra/.tox/clients/lib/python3.5/site-packages/neutronclient/v2_0/client.py", line 269, in _handle_fault_response
00:50:41.963 exception_handler_v20(status_code, error_body)
00:50:41.963 File "/var/lib/jenkins/tools/0/charm-test-infra/.tox/clients/lib/python3.5/site-packages/neutronclient/v2_0/client.py", line 93, in exception_handler_v20
00:50:41.963 request_ids=request_ids)
00:50:41.963 neutronclient.common.exceptions.BadRequest: Invalid input for remote_as. Reason: '4279331621' is too large - must be no larger than '65535'.
00:50:41.963 Neutron server returns request_ids: ['req-e68f5522-bd69-4a33-8170-56e8fe39e355']

Tags: uosci
Revision history for this message
Ryan Beisner (1chb1n) wrote :
Revision history for this message
Ryan Beisner (1chb1n) wrote :
Changed in openstack-mojo-specs:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Ryan Beisner (1chb1n)
Changed in charm-neutron-dynamic-routing:
status: New → Invalid
tags: added: uosci
summary: - xenial-pike asn issue: neutronclient.common.exceptions.BadRequest:
- Invalid input for remote_as. Reason: '4279331621' is too large - must be
- no larger than '65535'.
+ [xenial-pike] neutronclient.common.exceptions.BadRequest: Invalid input
+ for remote_as. Reason: '4279331621' is too large - must be no larger
+ than '65535'.
Ryan Beisner (1chb1n)
Changed in openstack-mojo-specs:
status: In Progress → Fix Committed
status: Fix Committed → Fix Released
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.