rally creates router on network different to [network] public_network_id
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rally |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Using the rally tempest verifier I got the following trace:
Neutron server returns request_ids: ['req-38fb9ed0-
2020-02-04 12:15:02.225 19 ERROR rally Traceback (most recent call last):
2020-02-04 12:15:02.225 19 ERROR rally File "/usr/local/
2020-02-04 12:15:02.225 19 ERROR rally sys.exit(main())
2020-02-04 12:15:02.225 19 ERROR rally File "/usr/local/
2020-02-04 12:15:02.225 19 ERROR rally return cliutils.
2020-02-04 12:15:02.225 19 ERROR rally File "/usr/local/
2020-02-04 12:15:02.225 19 ERROR rally ret = fn(*fn_args, **fn_kwargs)
2020-02-04 12:15:02.225 19 ERROR rally File "<decorator-
2020-02-04 12:15:02.225 19 ERROR rally File "/usr/local/
2020-02-04 12:15:02.225 19 ERROR rally return f(*args, **kwargs)
2020-02-04 12:15:02.225 19 ERROR rally File "<decorator-
2020-02-04 12:15:02.225 19 ERROR rally File "/usr/local/
2020-02-04 12:15:02.225 19 ERROR rally return f(*args, **kwargs)
2020-02-04 12:15:02.225 19 ERROR rally File "<decorator-
2020-02-04 12:15:02.225 19 ERROR rally File "/usr/local/
2020-02-04 12:15:02.225 19 ERROR rally return f(*args, **kwargs)
2020-02-04 12:15:02.225 19 ERROR rally File "/usr/local/
2020-02-04 12:15:02.225 19 ERROR rally tags=tags, **run_args)
2020-02-04 12:15:02.225 19 ERROR rally File "/usr/local/
2020-02-04 12:15:02.225 19 ERROR rally with vcontext.
2020-02-04 12:15:02.225 19 ERROR rally File "/usr/local/
2020-02-04 12:15:02.225 19 ERROR rally self.setup()
2020-02-04 12:15:02.225 19 ERROR rally File "/usr/local/
2020-02-04 12:15:02.225 19 ERROR rally ctx.setup()
2020-02-04 12:15:02.225 19 ERROR rally File "/usr/local/
2020-02-04 12:15:02.225 19 ERROR rally helper_
2020-02-04 12:15:02.225 19 ERROR rally File "/usr/local/
2020-02-04 12:15:02.225 19 ERROR rally res = helper_
2020-02-04 12:15:02.225 19 ERROR rally File "/usr/local/
2020-02-04 12:15:02.225 19 ERROR rally network_
2020-02-04 12:15:02.225 19 ERROR rally File "/usr/local/
2020-02-04 12:15:02.225 19 ERROR rally router = self.create_
2020-02-04 12:15:02.225 19 ERROR rally File "/usr/local/
2020-02-04 12:15:02.225 19 ERROR rally return self.client.
2020-02-04 12:15:02.225 19 ERROR rally File "/usr/local/
2020-02-04 12:15:02.225 19 ERROR rally return self.post(
2020-02-04 12:15:02.225 19 ERROR rally File "/usr/local/
2020-02-04 12:15:02.225 19 ERROR rally headers=headers, params=params)
2020-02-04 12:15:02.225 19 ERROR rally File "/usr/local/
2020-02-04 12:15:02.225 19 ERROR rally self._handle_
2020-02-04 12:15:02.225 19 ERROR rally File "/usr/local/
2020-02-04 12:15:02.225 19 ERROR rally exception_
2020-02-04 12:15:02.225 19 ERROR rally File "/usr/local/
2020-02-04 12:15:02.225 19 ERROR rally request_
2020-02-04 12:15:02.225 19 ERROR rally IpAddressGenera
2020-02-04 12:15:02.225 19 ERROR rally Neutron server returns request_ids: ['req-38fb9ed0-
2020-02-04 12:15:02.225 19 ERROR rally [00m
Command failed, please check log for more info
despite using the the following override:
[network]
public_network_id = my-uuid
in my tempest.conf.
expected behaviour: use public_network_id from tempest.conf when creating the router
Reviewed: https:/ /review. opendev. org/706229 /git.openstack. org/cgit/ openstack/ rally-openstack /commit/ ?id=ceb96360240 f3efe47a5ccf2ec 620535a1c51d76
Committed: https:/
Submitter: Zuul
Branch: master
commit ceb96360240f3ef e47a5ccf2ec6205 35a1c51d76
Author: Will Szumski <email address hidden>
Date: Thu Feb 6 10:39:05 2020 +0000
Use public_network_id when creating router
Previously if using tempest overrides with:
[network] network_ id = my-uuid
public_
rally could create a router on a different network.
Closes-Bug: #1862036 ab3a27cbff53029 0e832740077
Change-Id: I0ed958f07b7cfe