[openstack-community] Local.conf network settings

Kaminski, PawelX pawelx.kaminski at intel.com
Thu Jul 4 10:38:07 UTC 2019


Hi everyone,

With vagrant I created ubuntu18 image with devstack installed.
I try to run test tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_attach_detach_volume with tempest.
Unfortunately I get error:
    Traceback (most recent call last):
      File "tempest/api/compute/volumes/test_attach_volume.py", line 86, in test_attach_detach_volume
        linux_client.validate_authentication()
      File "tempest/lib/common/utils/linux/remote_client.py", line 60, in wrapper
        six.reraise(*original_exception)
      File "tempest/lib/common/utils/linux/remote_client.py", line 33, in wrapper
        return function(self, *args, **kwargs)
      File "tempest/lib/common/utils/linux/remote_client.py", line 116, in validate_authentication
        self.ssh_client.test_connection_auth()
      File "tempest/lib/common/ssh.py", line 207, in test_connection_auth
        connection = self._get_ssh_connection()
      File "tempest/lib/common/ssh.py", line 121, in _get_ssh_connection
        password=self.password)
    tempest.lib.exceptions.SSHTimeout: Connection to the 172.24.5.241 via SSH timed out.
    User: cirros, Password: password

I think that reason is that I don't have driect ssh access to vm, because with "it netns exec" I can connect to instance.
Do you know how local.conf should look like before devtsack installation?
On vm ifconfig returns:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.0.2.15  netmask 255.255.255.0  broadcast 10.0.2.255
        inet6 fe80::5054:ff:fe12:3456  prefixlen 64  scopeid 0x20<link>
        inet6 fec0::5054:ff:fe12:3456  prefixlen 64  scopeid 0x40<site>
        ether 52:54:00:12:34:56  txqueuelen 1000  (Ethernet)
        RX packets 1541  bytes 118169 (118.1 KB)
        RX errors 951  dropped 0  overruns 0  frame 951
        TX packets 1395  bytes 499153 (499.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 76169  bytes 57933664 (57.9 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 76169  bytes 57933664 (57.9 MB)
       TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
        ether 52:54:00:f7:5e:a2  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


Thanks,
Pawel


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/community/attachments/20190704/b4a47dd6/attachment.html>


More information about the Community mailing list