Tempest failures after run_ssh = True
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Invalid
|
Medium
|
Tom Cameron | ||
Trunk |
Invalid
|
Medium
|
Tom Cameron |
Bug Description
I'm seeing a few smoke tests now failing with:
05:46:37 Traceback (most recent call last):
05:46:37 File "/opt/tempest_
05:46:37 self._test_
05:46:37 File "/opt/tempest_
05:46:37 self.password)
05:46:37 File "/opt/tempest_
05:46:37 addresses = server[
05:46:37 KeyError: 'private'
The issue here is that the tenant which owns the server in question does not have access to the network 'private' (it's marked as not shared and assigned to demo user), and as such the instance doesn't get assigned an IP.
The alternative is to mark the network as shared, but then you run into the issue where nova cannot boot instances due to there being multiple available networks to use.
One way around this is to set allow_tenant_ isolation = False, which results in instances being booted as demo user (which has access to private network). We then run into another issue in that we have network_for_ssh = private, which is not a routable address. We have use_floatingip_ for_ssh = True and ssh_connect_method = floating, but tempest does not appear to be creating floating IPs for these instances.