Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1471885 Details for
Bug 1610468
floating ip not reachable on vlan with two different networks and multiple VMs
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
vlan floating ip not reachable - full scenario example
vlan floating ip not reachable - full scenario.txt (text/plain), 86.58 KB, created by
Noam Manos
on 2018-07-31 17:14:37 UTC
(
hide
)
Description:
vlan floating ip not reachable - full scenario example
Filename:
MIME Type:
Creator:
Noam Manos
Created:
2018-07-31 17:14:37 UTC
Size:
86.58 KB
patch
obsolete
> >---------------------------------------------------------------------- >This script will create and run: > >* Multiple VM instances (of type RHEL 7.5 / RHEL 7.4 / Cirros) >* Multiple Networks with IPv4 & Ipv6 subnets, and Floating IPs, connected to external router. >* SSH Keypair and connectivity test. > >Current OSP version: 13 -p 2018-07-13.1 > >External network: nova > >vlan subnet-range: 10.35.166.0/24 > >vlan gateway 10.35.166.254 > >vlan allocation pool start 10.35.166.100 > > >vlan allocation pool start (for example: 10.35.166.140 > > >vlan provider-segment: 181 > > >---------------------------------------------------------------------- > > >openstack network create --provider-network-type vlan --provider-segment "$vlan_id" --provider-physical-network datacentre --external nova >+---------------------------+--------------------------------------+ >| Field | Value | >+---------------------------+--------------------------------------+ >| admin_state_up | UP | >| availability_zone_hints | | >| availability_zones | | >| created_at | 2018-07-31T16:09:44Z | >| description | | >| dns_domain | None | >| id | a42ac5b4-b360-4935-a269-61125e205bb9 | >| ipv4_address_scope | None | >| ipv6_address_scope | None | >| is_default | False | >| is_vlan_transparent | None | >| mtu | 1500 | >| name | nova | >| port_security_enabled | True | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| provider:network_type | vlan | >| provider:physical_network | datacentre | >| provider:segmentation_id | 181 | >| qos_policy_id | None | >| revision_number | 6 | >| router:external | External | >| segments | None | >| shared | False | >| status | ACTIVE | >| subnets | | >| tags | | >| updated_at | 2018-07-31T16:09:45Z | >+---------------------------+--------------------------------------+ >openstack subnet create --subnet-range "$vlan_subnet_range" --network nova --no-dhcp --gateway "$vlan_gateway" --allocation-pool start="$vlan_start",end="$vlan_end" nova >+-------------------+--------------------------------------+ >| Field | Value | >+-------------------+--------------------------------------+ >| allocation_pools | 10.35.166.100-10.35.166.140 | >| cidr | 10.35.166.0/24 | >| created_at | 2018-07-31T16:09:51Z | >| description | | >| dns_nameservers | | >| enable_dhcp | False | >| gateway_ip | 10.35.166.254 | >| host_routes | | >| id | e78fdfe0-ebbe-4ec1-904f-0b62c89f4ac3 | >| ip_version | 4 | >| ipv6_address_mode | None | >| ipv6_ra_mode | None | >| name | nova | >| network_id | a42ac5b4-b360-4935-a269-61125e205bb9 | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| revision_number | 0 | >| segment_id | None | >| service_types | | >| subnetpool_id | None | >| tags | | >| updated_at | 2018-07-31T16:09:51Z | >+-------------------+--------------------------------------+ > >* Creating CirrOS 0.3.5 image: >wget -N https://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img >--2018-07-31 12:09:42-- https://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img >Resolving download.cirros-cloud.net (download.cirros-cloud.net)... 64.90.42.85, 2607:f298:6:a036::bd6:a72a >Connecting to download.cirros-cloud.net (download.cirros-cloud.net)|64.90.42.85|:443... connected. >HTTP request sent, awaiting response... 200 OK >Length: 13267968 (13M) [text/plain] >Server file no newer than local file âcirros-0.3.5-x86_64-disk.imgâ -- not retrieving. > >openstack image create --container-format bare --disk-format qcow2 --public --file cirros-0.3.5-x86_64-disk.img cirros35 >+------------------+------------------------------------------------------------------------------+ >| Field | Value | >+------------------+------------------------------------------------------------------------------+ >| checksum | f8ab98ff5e73ebab884d80c9dc9c7290 | >| container_format | bare | >| created_at | 2018-07-31T16:10:02Z | >| disk_format | qcow2 | >| file | /v2/images/d050e52b-0c08-4f5d-82cd-4a59258af44b/file | >| id | d050e52b-0c08-4f5d-82cd-4a59258af44b | >| min_disk | 0 | >| min_ram | 0 | >| name | cirros35 | >| owner | d475a218e0ae41948d6549b5bee66b44 | >| properties | direct_url='swift+config://ref1/glance/d050e52b-0c08-4f5d-82cd-4a59258af44b' | >| protected | False | >| schema | /v2/schemas/image | >| size | 13267968 | >| status | active | >| tags | | >| updated_at | 2018-07-31T16:10:05Z | >| virtual_size | None | >| visibility | public | >+------------------+------------------------------------------------------------------------------+ > >* Creating CirrOS flavor: >flavor=cirros_flavor >openstack flavor create --public $flavor --id auto --ram 512 --disk 1 --vcpus 1 >+----------------------------+--------------------------------------+ >| Field | Value | >+----------------------------+--------------------------------------+ >| OS-FLV-DISABLED:disabled | False | >| OS-FLV-EXT-DATA:ephemeral | 0 | >| disk | 1 | >| id | 2b9120df-6423-4792-af9c-de64d7763774 | >| name | cirros_flavor | >| os-flavor-access:is_public | True | >| properties | | >| ram | 512 | >| rxtx_factor | 1.0 | >| swap | | >| vcpus | 1 | >+----------------------------+--------------------------------------+ >ssh_user=cirros > >* Creating Router and 2 Networks - each one with both IPv4 and IPv6 Subnets: >openstack router create Router_eNet >+-------------------------+--------------------------------------+ >| Field | Value | >+-------------------------+--------------------------------------+ >| admin_state_up | UP | >| availability_zone_hints | | >| availability_zones | | >| created_at | 2018-07-31T16:10:17Z | >| description | | >| distributed | False | >| external_gateway_info | None | >| flavor_id | None | >| ha | True | >| id | fba7d880-cb14-40c6-a337-d2456311c6da | >| name | Router_eNet | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| revision_number | 2 | >| routes | | >| status | ACTIVE | >| tags | | >| updated_at | 2018-07-31T16:10:17Z | >+-------------------------+--------------------------------------+ >router_id=$(openstack router list | grep -m 1 Router_eNet | cut -d " " -f 2) > > >* Creating Network net_ipv64_1: >openstack network create net_ipv64_$i >+---------------------------+--------------------------------------+ >| Field | Value | >+---------------------------+--------------------------------------+ >| admin_state_up | UP | >| availability_zone_hints | | >| availability_zones | | >| created_at | 2018-07-31T16:10:39Z | >| description | | >| dns_domain | None | >| id | 63f418a6-287a-45fd-be21-eba4201c156c | >| ipv4_address_scope | None | >| ipv6_address_scope | None | >| is_default | False | >| is_vlan_transparent | None | >| mtu | 1500 | >| name | net_ipv64_1 | >| port_security_enabled | True | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| provider:network_type | vlan | >| provider:physical_network | datacentre | >| provider:segmentation_id | 227 | >| qos_policy_id | None | >| revision_number | 3 | >| router:external | Internal | >| segments | None | >| shared | False | >| status | ACTIVE | >| subnets | | >| tags | | >| updated_at | 2018-07-31T16:10:40Z | >+---------------------------+--------------------------------------+ > >* Creating ipv4 Subnet on net_ipv64_1 - subnet_ipv4_1: >openstack subnet create --subnet-range 10.0.$i.0/24 --network net_ipv64_$i --dhcp subnet_ipv4_$i >+-------------------+--------------------------------------+ >| Field | Value | >+-------------------+--------------------------------------+ >| allocation_pools | 10.0.1.2-10.0.1.254 | >| cidr | 10.0.1.0/24 | >| created_at | 2018-07-31T16:10:47Z | >| description | | >| dns_nameservers | | >| enable_dhcp | True | >| gateway_ip | 10.0.1.1 | >| host_routes | | >| id | 1b243134-47e7-4ee1-b122-806899683b7d | >| ip_version | 4 | >| ipv6_address_mode | None | >| ipv6_ra_mode | None | >| name | subnet_ipv4_1 | >| network_id | 63f418a6-287a-45fd-be21-eba4201c156c | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| revision_number | 0 | >| segment_id | None | >| service_types | | >| subnetpool_id | None | >| tags | | >| updated_at | 2018-07-31T16:10:47Z | >+-------------------+--------------------------------------+ > >* Creating ipv6 Subnet on net_ipv64_1 - subnet_ipv6_1: >openstack subnet create --subnet-range 200$i::/64 --network net_ipv64_$i --ipv6-address-mode slaac --ipv6-ra-mode slaac --ip-version 6 subnet_ipv6_$i >+-------------------+--------------------------------------+ >| Field | Value | >+-------------------+--------------------------------------+ >| allocation_pools | 2001::2-2001::ffff:ffff:ffff:ffff | >| cidr | 2001::/64 | >| created_at | 2018-07-31T16:10:56Z | >| description | | >| dns_nameservers | | >| enable_dhcp | True | >| gateway_ip | 2001::1 | >| host_routes | | >| id | 6c8f364b-57f8-44a2-abc3-aca05b5eb529 | >| ip_version | 6 | >| ipv6_address_mode | slaac | >| ipv6_ra_mode | slaac | >| name | subnet_ipv6_1 | >| network_id | 63f418a6-287a-45fd-be21-eba4201c156c | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| revision_number | 0 | >| segment_id | None | >| service_types | | >| subnetpool_id | None | >| tags | | >| updated_at | 2018-07-31T16:10:56Z | >+-------------------+--------------------------------------+ > >* Adding subnet_ipv4_1 and subnet_ipv6_1 to the router: >openstack router add subnet $router_id subnet_ipv4_$i >openstack router add subnet $router_id subnet_ipv6_$i > >* Creating Network net_ipv64_2: >openstack network create net_ipv64_$i >+---------------------------+--------------------------------------+ >| Field | Value | >+---------------------------+--------------------------------------+ >| admin_state_up | UP | >| availability_zone_hints | | >| availability_zones | | >| created_at | 2018-07-31T16:11:37Z | >| description | | >| dns_domain | None | >| id | 309cfea8-db8c-44cd-8bcf-4e0cf19a4f4e | >| ipv4_address_scope | None | >| ipv6_address_scope | None | >| is_default | False | >| is_vlan_transparent | None | >| mtu | 1500 | >| name | net_ipv64_2 | >| port_security_enabled | True | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| provider:network_type | vlan | >| provider:physical_network | datacentre | >| provider:segmentation_id | 229 | >| qos_policy_id | None | >| revision_number | 3 | >| router:external | Internal | >| segments | None | >| shared | False | >| status | ACTIVE | >| subnets | | >| tags | | >| updated_at | 2018-07-31T16:11:37Z | >+---------------------------+--------------------------------------+ > >* Creating ipv4 Subnet on net_ipv64_2 - subnet_ipv4_2: >openstack subnet create --subnet-range 10.0.$i.0/24 --network net_ipv64_$i --dhcp subnet_ipv4_$i >+-------------------+--------------------------------------+ >| Field | Value | >+-------------------+--------------------------------------+ >| allocation_pools | 10.0.2.2-10.0.2.254 | >| cidr | 10.0.2.0/24 | >| created_at | 2018-07-31T16:11:44Z | >| description | | >| dns_nameservers | | >| enable_dhcp | True | >| gateway_ip | 10.0.2.1 | >| host_routes | | >| id | 0c0216b7-a44a-4f1a-85c9-4afb5f9b4a4f | >| ip_version | 4 | >| ipv6_address_mode | None | >| ipv6_ra_mode | None | >| name | subnet_ipv4_2 | >| network_id | 309cfea8-db8c-44cd-8bcf-4e0cf19a4f4e | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| revision_number | 0 | >| segment_id | None | >| service_types | | >| subnetpool_id | None | >| tags | | >| updated_at | 2018-07-31T16:11:44Z | >+-------------------+--------------------------------------+ > >* Creating ipv6 Subnet on net_ipv64_2 - subnet_ipv6_2: >openstack subnet create --subnet-range 200$i::/64 --network net_ipv64_$i --ipv6-address-mode slaac --ipv6-ra-mode slaac --ip-version 6 subnet_ipv6_$i >+-------------------+--------------------------------------+ >| Field | Value | >+-------------------+--------------------------------------+ >| allocation_pools | 2002::2-2002::ffff:ffff:ffff:ffff | >| cidr | 2002::/64 | >| created_at | 2018-07-31T16:11:52Z | >| description | | >| dns_nameservers | | >| enable_dhcp | True | >| gateway_ip | 2002::1 | >| host_routes | | >| id | 7f24a259-d734-4c20-b19f-f6a0df386d53 | >| ip_version | 6 | >| ipv6_address_mode | slaac | >| ipv6_ra_mode | slaac | >| name | subnet_ipv6_2 | >| network_id | 309cfea8-db8c-44cd-8bcf-4e0cf19a4f4e | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| revision_number | 0 | >| segment_id | None | >| service_types | | >| subnetpool_id | None | >| tags | | >| updated_at | 2018-07-31T16:11:52Z | >+-------------------+--------------------------------------+ > >* Adding subnet_ipv4_2 and subnet_ipv6_2 to the router: >openstack router add subnet $router_id subnet_ipv4_$i >openstack router add subnet $router_id subnet_ipv6_$i > >* Connecting the router to the external network "nova" >openstack router set --external-gateway $ext_net $router_id >sec_id=$(openstack security group create sec_group | awk -F'[ \t]*\\|[ \t]*' '/ id / {print $3}') > >* Creating security group rules for group "sec_group" >sec_id=$(openstack security group create sec_group | awk -F'[ \t]*\\|[ \t]*' '/ id / {print $3}') >openstack security group rule create $sec_id --protocol tcp --dst-port 80 --remote-ip 0.0.0.0/0 >+-------------------+--------------------------------------+ >| Field | Value | >+-------------------+--------------------------------------+ >| created_at | 2018-07-31T16:12:55Z | >| description | | >| direction | ingress | >| ether_type | IPv4 | >| id | d528c2ea-0c99-478d-856e-ef86e61dbd4f | >| name | None | >| port_range_max | 80 | >| port_range_min | 80 | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| protocol | tcp | >| remote_group_id | None | >| remote_ip_prefix | 0.0.0.0/0 | >| revision_number | 0 | >| security_group_id | 18bc1e21-346c-4b4b-822c-3a7e60591eb9 | >| updated_at | 2018-07-31T16:12:55Z | >+-------------------+--------------------------------------+ >openstack security group rule create $sec_id --protocol tcp --dst-port 22 --remote-ip 0.0.0.0/0 >+-------------------+--------------------------------------+ >| Field | Value | >+-------------------+--------------------------------------+ >| created_at | 2018-07-31T16:13:00Z | >| description | | >| direction | ingress | >| ether_type | IPv4 | >| id | 9a88de0b-2c7f-40bc-b07e-a7af97ab4520 | >| name | None | >| port_range_max | 22 | >| port_range_min | 22 | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| protocol | tcp | >| remote_group_id | None | >| remote_ip_prefix | 0.0.0.0/0 | >| revision_number | 0 | >| security_group_id | 18bc1e21-346c-4b4b-822c-3a7e60591eb9 | >| updated_at | 2018-07-31T16:13:00Z | >+-------------------+--------------------------------------+ >openstack security group rule create $sec_id --protocol tcp --dst-port 443 --remote-ip 0.0.0.0/0 >+-------------------+--------------------------------------+ >| Field | Value | >+-------------------+--------------------------------------+ >| created_at | 2018-07-31T16:13:04Z | >| description | | >| direction | ingress | >| ether_type | IPv4 | >| id | 82e7f79a-ffeb-4372-82cf-de18c8ece4fd | >| name | None | >| port_range_max | 443 | >| port_range_min | 443 | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| protocol | tcp | >| remote_group_id | None | >| remote_ip_prefix | 0.0.0.0/0 | >| revision_number | 0 | >| security_group_id | 18bc1e21-346c-4b4b-822c-3a7e60591eb9 | >| updated_at | 2018-07-31T16:13:04Z | >+-------------------+--------------------------------------+ >openstack security group rule create $sec_id --protocol icmp --dst-port -1 --remote-ip 0.0.0.0/0 >+-------------------+--------------------------------------+ >| Field | Value | >+-------------------+--------------------------------------+ >| created_at | 2018-07-31T16:13:10Z | >| description | | >| direction | ingress | >| ether_type | IPv4 | >| id | f722f25c-74b9-4f69-acd9-4db3ac1678bf | >| name | None | >| port_range_max | None | >| port_range_min | None | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| protocol | icmp | >| remote_group_id | None | >| remote_ip_prefix | 0.0.0.0/0 | >| revision_number | 0 | >| security_group_id | 18bc1e21-346c-4b4b-822c-3a7e60591eb9 | >| updated_at | 2018-07-31T16:13:10Z | >+-------------------+--------------------------------------+ >openstack security group rule list >+--------------------------------------+-------------+-----------+------------+--------------------------------------+--------------------------------------+ >| ID | IP Protocol | IP Range | Port Range | Remote Security Group | Security Group | >+--------------------------------------+-------------+-----------+------------+--------------------------------------+--------------------------------------+ >| 0dcfd2a6-5e09-4268-be17-6741646e3e7a | None | None | | 537d3514-2707-4551-9c09-b5eb947f7060 | 537d3514-2707-4551-9c09-b5eb947f7060 | >| 258ee27f-d946-4a5b-a75c-03de7dc6e07c | None | None | | None | 134721e2-457d-4a5a-ba7e-77f54b123762 | >| 2ad317e9-2a8e-4030-8c6c-d18a36cf2712 | None | None | | 537d3514-2707-4551-9c09-b5eb947f7060 | 537d3514-2707-4551-9c09-b5eb947f7060 | >| 37db4ab0-7529-481b-9955-159def945d88 | None | None | | None | 1f68515d-425d-4b7f-9da3-f413ab24a999 | >| 55300333-8852-430d-b746-b4c7a9c6cf87 | None | None | | None | 18bc1e21-346c-4b4b-822c-3a7e60591eb9 | >| 6196e1b4-7433-4a9c-9ec0-d2387848cc01 | None | None | | 134721e2-457d-4a5a-ba7e-77f54b123762 | 134721e2-457d-4a5a-ba7e-77f54b123762 | >| 6dc0aa0a-2c1c-402f-94ea-138abc04f26d | None | None | | None | 1f68515d-425d-4b7f-9da3-f413ab24a999 | >| 78c44589-7f4d-44f4-a4c9-0e0a54b28a3b | None | None | | None | 537d3514-2707-4551-9c09-b5eb947f7060 | >| 82e7f79a-ffeb-4372-82cf-de18c8ece4fd | tcp | 0.0.0.0/0 | 443:443 | None | 18bc1e21-346c-4b4b-822c-3a7e60591eb9 | >| 9a88de0b-2c7f-40bc-b07e-a7af97ab4520 | tcp | 0.0.0.0/0 | 22:22 | None | 18bc1e21-346c-4b4b-822c-3a7e60591eb9 | >| a645b98e-ee49-4e11-afdc-8dcee9b19ab0 | None | None | | None | 537d3514-2707-4551-9c09-b5eb947f7060 | >| af249c8a-008f-4c88-bb33-3dabc8b0b0ab | None | None | | 134721e2-457d-4a5a-ba7e-77f54b123762 | 134721e2-457d-4a5a-ba7e-77f54b123762 | >| b062084c-2f8a-4c52-8222-8df08b156bd3 | None | None | | None | 18bc1e21-346c-4b4b-822c-3a7e60591eb9 | >| d528c2ea-0c99-478d-856e-ef86e61dbd4f | tcp | 0.0.0.0/0 | 80:80 | None | 18bc1e21-346c-4b4b-822c-3a7e60591eb9 | >| f50924c0-836a-4a61-b8f2-eb89ca7a4a1f | None | None | | None | 134721e2-457d-4a5a-ba7e-77f54b123762 | >| f722f25c-74b9-4f69-acd9-4db3ac1678bf | icmp | 0.0.0.0/0 | | None | 18bc1e21-346c-4b4b-822c-3a7e60591eb9 | >+--------------------------------------+-------------+-----------+------------+--------------------------------------+--------------------------------------+ > >* Creating openstack key pair to easily login into VMs: >openstack keypair list >grep my_rsa-key >| my_rsa-key | a9:a4:97:b5:d5:f9:05:a0:81:c1:95:dc:87:c3:2c:8c | >chmod 400 my_key.pem >openstack keypair list >+------------+-------------------------------------------------+ >| Name | Fingerprint | >+------------+-------------------------------------------------+ >| my_rsa-key | a9:a4:97:b5:d5:f9:05:a0:81:c1:95:dc:87:c3:2c:8c | >+------------+-------------------------------------------------+ > > >* For each Network - creating 2 VM instances: > >fip=$(openstack floating ip create $ext_net -c floating_ip_address -f value) >image_id=$(openstack image list | grep $image | head -1 | cut -d " " -f 2) >vm_name=VM_${image}_${n}${i} > >* Creating and booting VM instance: VM_cirros35_11, connected to network net_ipv64_1: >openstack server create --flavor $flavor --image $image_id --nic net-id=net_ipv64_$n --security-group $sec_id --key-name my_rsa-key $vm_name >+-------------------------------------+------------------------------------------------------+ >| Field | Value | >+-------------------------------------+------------------------------------------------------+ >| OS-DCF:diskConfig | MANUAL | >| OS-EXT-AZ:availability_zone | | >| OS-EXT-SRV-ATTR:host | None | >| OS-EXT-SRV-ATTR:hypervisor_hostname | None | >| OS-EXT-SRV-ATTR:instance_name | | >| OS-EXT-STS:power_state | NOSTATE | >| OS-EXT-STS:task_state | scheduling | >| OS-EXT-STS:vm_state | building | >| OS-SRV-USG:launched_at | None | >| OS-SRV-USG:terminated_at | None | >| accessIPv4 | | >| accessIPv6 | | >| addresses | | >| adminPass | 7P3KWkC3Rfwh | >| config_drive | | >| created | 2018-07-31T16:13:59Z | >| flavor | cirros_flavor (2b9120df-6423-4792-af9c-de64d7763774) | >| hostId | | >| id | 09d82030-1c64-4c01-a761-ccf72dd5e50b | >| image | cirros35 (d050e52b-0c08-4f5d-82cd-4a59258af44b) | >| key_name | my_rsa-key | >| name | VM_cirros35_11 | >| progress | 0 | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| properties | | >| security_groups | name='18bc1e21-346c-4b4b-822c-3a7e60591eb9' | >| status | BUILD | >| updated | 2018-07-31T16:13:59Z | >| user_id | 0b64c5a9b3fc4bfaa49e812fdcfaa493 | >| volumes_attached | | >+-------------------------------------+------------------------------------------------------+ >openstack server show $vm_name >grep -E 'ACTIVE' -B 5 >sleep 1 >openstack server show $vm_name >grep -E 'ACTIVE' -B 5 >| name | VM_cirros35_11 | >| progress | 0 | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| properties | | >| security_groups | name='sec_group' | >| status | ACTIVE | > >* Adding floating ip 10.35.166.100 to VM_cirros35_11, and checking connectivity: >openstack server add floating ip $vm_name $fip >int_ip=$(openstack server list | grep $vm_name | awk '{ gsub(/[,=\|]/, " " ); print $5; }') >port_id=$(openstack floating ip show $fip -c port_id -f value) > >* Setting a name to the port of the new floating ip: "VM_cirros35_11_10.35.166.100" >openstack port set $port_id --name "${vm_name}_${fip}" >openstack port show $port_id >+-----------------------+------------------------------------------------------------------------------------------+ >| Field | Value | >+-----------------------+------------------------------------------------------------------------------------------+ >| admin_state_up | UP | >| allowed_address_pairs | | >| binding_host_id | computesriov-1.localdomain | >| binding_profile | | >| binding_vif_details | datapath_type='system', ovs_hybrid_plug='True', port_filter='True' | >| binding_vif_type | ovs | >| binding_vnic_type | normal | >| created_at | 2018-07-31T16:14:04Z | >| data_plane_status | None | >| description | | >| device_id | 09d82030-1c64-4c01-a761-ccf72dd5e50b | >| device_owner | compute:nova | >| dns_assignment | None | >| dns_name | None | >| extra_dhcp_opts | | >| fixed_ips | ip_address='10.0.1.13', subnet_id='1b243134-47e7-4ee1-b122-806899683b7d' | >| | ip_address='2001::f816:3eff:fe09:67c0', subnet_id='6c8f364b-57f8-44a2-abc3-aca05b5eb529' | >| id | 0f74f1a3-8416-41c3-b64a-2cbb5e47ddae | >| ip_address | None | >| mac_address | fa:16:3e:09:67:c0 | >| name | VM_cirros35_11_10.35.166.100 | >| network_id | 63f418a6-287a-45fd-be21-eba4201c156c | >| option_name | None | >| option_value | None | >| port_security_enabled | True | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| qos_policy_id | None | >| revision_number | 13 | >| security_group_ids | 18bc1e21-346c-4b4b-822c-3a7e60591eb9 | >| status | ACTIVE | >| subnet_id | None | >| tags | | >| trunk_details | None | >| updated_at | 2018-07-31T16:15:18Z | >+-----------------------+------------------------------------------------------------------------------------------+ > >* Waiting for Port status to be ACTIVE on VM_cirros35_11, with internal IP address 10.0.1.13: > >| fixed_ips | ip_address='10.0.1.13', subnet_id='1b243134-47e7-4ee1-b122-806899683b7d' | >| | ip_address='2001::f816:3eff:fe09:67c0', subnet_id='6c8f364b-57f8-44a2-abc3-aca05b5eb529' | >| id | 0f74f1a3-8416-41c3-b64a-2cbb5e47ddae | >| ip_address | None | >| mac_address | fa:16:3e:09:67:c0 | >| name | VM_cirros35_11_10.35.166.100 | >| network_id | 63f418a6-287a-45fd-be21-eba4201c156c | >| option_name | None | >| option_value | None | >| port_security_enabled | True | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| qos_policy_id | None | >| revision_number | 13 | >| security_group_ids | 18bc1e21-346c-4b4b-822c-3a7e60591eb9 | >| status | ACTIVE | >ping -w 30 -c 5 ${fip:-NO_FIP} >PING 10.35.166.100 (10.35.166.100) 56(84) bytes of data. >64 bytes from 10.35.166.100: icmp_seq=2 ttl=61 time=1.24 ms >64 bytes from 10.35.166.100: icmp_seq=3 ttl=61 time=1.02 ms >64 bytes from 10.35.166.100: icmp_seq=4 ttl=61 time=1.02 ms >64 bytes from 10.35.166.100: icmp_seq=5 ttl=61 time=1.02 ms >64 bytes from 10.35.166.100: icmp_seq=6 ttl=61 time=0.856 ms > >--- 10.35.166.100 ping statistics --- >6 packets transmitted, 5 received, 16% packet loss, time 5004ms >rtt min/avg/max/mdev = 0.856/1.036/1.248/0.127 ms > > >* Generate ssh key to access VM_cirros35_11 on 10.35.166.100, and checking ssh uptime: >ssh-keygen -f ~/.ssh/known_hosts -R $fip >Host 10.35.166.100 not found in /home/stack/.ssh/known_hosts >ssh -i my_key.pem -o "StrictHostKeyChecking no" ${ssh_user}@${fip} uptime >ssh: connect to host 10.35.166.100 port 22: Connection refused > >fip=$(openstack floating ip create $ext_net -c floating_ip_address -f value) >image_id=$(openstack image list | grep $image | head -1 | cut -d " " -f 2) >vm_name=VM_${image}_${n}${i} > >* Creating and booting VM instance: VM_cirros35_12, connected to network net_ipv64_1: >openstack server create --flavor $flavor --image $image_id --nic net-id=net_ipv64_$n --security-group $sec_id --key-name my_rsa-key $vm_name >+-------------------------------------+------------------------------------------------------+ >| Field | Value | >+-------------------------------------+------------------------------------------------------+ >| OS-DCF:diskConfig | MANUAL | >| OS-EXT-AZ:availability_zone | | >| OS-EXT-SRV-ATTR:host | None | >| OS-EXT-SRV-ATTR:hypervisor_hostname | None | >| OS-EXT-SRV-ATTR:instance_name | | >| OS-EXT-STS:power_state | NOSTATE | >| OS-EXT-STS:task_state | scheduling | >| OS-EXT-STS:vm_state | building | >| OS-SRV-USG:launched_at | None | >| OS-SRV-USG:terminated_at | None | >| accessIPv4 | | >| accessIPv6 | | >| addresses | | >| adminPass | g2y3r7qhsLbY | >| config_drive | | >| created | 2018-07-31T16:16:06Z | >| flavor | cirros_flavor (2b9120df-6423-4792-af9c-de64d7763774) | >| hostId | | >| id | fbdd3171-014a-480f-8870-1a9d31499516 | >| image | cirros35 (d050e52b-0c08-4f5d-82cd-4a59258af44b) | >| key_name | my_rsa-key | >| name | VM_cirros35_12 | >| progress | 0 | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| properties | | >| security_groups | name='18bc1e21-346c-4b4b-822c-3a7e60591eb9' | >| status | BUILD | >| updated | 2018-07-31T16:16:06Z | >| user_id | 0b64c5a9b3fc4bfaa49e812fdcfaa493 | >| volumes_attached | | >+-------------------------------------+------------------------------------------------------+ >openstack server show $vm_name >grep -E 'ACTIVE' -B 5 >sleep 1 >openstack server show $vm_name >grep -E 'ACTIVE' -B 5 >| name | VM_cirros35_12 | >| progress | 0 | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| properties | | >| security_groups | name='sec_group' | >| status | ACTIVE | > >* Adding floating ip 10.35.166.110 to VM_cirros35_12, and checking connectivity: >openstack server add floating ip $vm_name $fip >sleep 10 >int_ip=$(openstack server list | grep $vm_name | awk '{ gsub(/[,=\|]/, " " ); print $5; }') >port_id=$(openstack floating ip show $fip -c port_id -f value) > >* Setting a name to the port of the new floating ip: "VM_cirros35_12_10.35.166.110" >openstack port set $port_id --name "${vm_name}_${fip}" >openstack port show $port_id >+-----------------------+-----------------------------------------------------------------------------------------+ >| Field | Value | >+-----------------------+-----------------------------------------------------------------------------------------+ >| admin_state_up | UP | >| allowed_address_pairs | | >| binding_host_id | computesriov-0.localdomain | >| binding_profile | | >| binding_vif_details | datapath_type='system', ovs_hybrid_plug='True', port_filter='True' | >| binding_vif_type | ovs | >| binding_vnic_type | normal | >| created_at | 2018-07-31T16:16:10Z | >| data_plane_status | None | >| description | | >| device_id | fbdd3171-014a-480f-8870-1a9d31499516 | >| device_owner | compute:nova | >| dns_assignment | None | >| dns_name | None | >| extra_dhcp_opts | | >| fixed_ips | ip_address='10.0.1.12', subnet_id='1b243134-47e7-4ee1-b122-806899683b7d' | >| | ip_address='2001::f816:3eff:fe86:a20', subnet_id='6c8f364b-57f8-44a2-abc3-aca05b5eb529' | >| id | 9f1a20c6-9713-47b5-90f5-646cb898a490 | >| ip_address | None | >| mac_address | fa:16:3e:86:0a:20 | >| name | VM_cirros35_12_10.35.166.110 | >| network_id | 63f418a6-287a-45fd-be21-eba4201c156c | >| option_name | None | >| option_value | None | >| port_security_enabled | True | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| qos_policy_id | None | >| revision_number | 13 | >| security_group_ids | 18bc1e21-346c-4b4b-822c-3a7e60591eb9 | >| status | ACTIVE | >| subnet_id | None | >| tags | | >| trunk_details | None | >| updated_at | 2018-07-31T16:17:26Z | >+-----------------------+-----------------------------------------------------------------------------------------+ > >* Waiting for Port status to be ACTIVE on VM_cirros35_12, with internal IP address 10.0.1.12: >openstack port show $port_id >grep -E 'ACTIVE' -B 14 >| fixed_ips | ip_address='10.0.1.12', subnet_id='1b243134-47e7-4ee1-b122-806899683b7d' | >| | ip_address='2001::f816:3eff:fe86:a20', subnet_id='6c8f364b-57f8-44a2-abc3-aca05b5eb529' | >| id | 9f1a20c6-9713-47b5-90f5-646cb898a490 | >| ip_address | None | >| mac_address | fa:16:3e:86:0a:20 | >| name | VM_cirros35_12_10.35.166.110 | >| network_id | 63f418a6-287a-45fd-be21-eba4201c156c | >| option_name | None | >| option_value | None | >| port_security_enabled | True | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| qos_policy_id | None | >| revision_number | 13 | >| security_group_ids | 18bc1e21-346c-4b4b-822c-3a7e60591eb9 | >| status | ACTIVE | >ping -w 30 -c 5 ${fip:-NO_FIP} >PING 10.35.166.110 (10.35.166.110) 56(84) bytes of data. >64 bytes from 10.35.166.110: icmp_seq=2 ttl=61 time=1.19 ms >64 bytes from 10.35.166.110: icmp_seq=3 ttl=61 time=0.890 ms >64 bytes from 10.35.166.110: icmp_seq=4 ttl=61 time=0.885 ms >64 bytes from 10.35.166.110: icmp_seq=5 ttl=61 time=0.908 ms >64 bytes from 10.35.166.110: icmp_seq=6 ttl=61 time=0.770 ms > >--- 10.35.166.110 ping statistics --- >6 packets transmitted, 5 received, 16% packet loss, time 5003ms >rtt min/avg/max/mdev = 0.770/0.929/1.194/0.143 ms > > >* Generate ssh key to access VM_cirros35_12 on 10.35.166.110, and checking ssh uptime: >ssh-keygen -f ~/.ssh/known_hosts -R $fip >Host 10.35.166.110 not found in /home/stack/.ssh/known_hosts >ssh -i my_key.pem -o "StrictHostKeyChecking no" ${ssh_user}@${fip} uptime >Warning: Permanently added '10.35.166.110' (RSA) to the list of known hosts. > 17:17:39 up 1 min, 0 users, load average: 0.00, 0.00, 0.00 > >fip=$(openstack floating ip create $ext_net -c floating_ip_address -f value) >image_id=$(openstack image list | grep $image | head -1 | cut -d " " -f 2) >vm_name=VM_${image}_${n}${i} > >* Creating and booting VM instance: VM_cirros35_21, connected to network net_ipv64_2: >openstack server create --flavor $flavor --image $image_id --nic net-id=net_ipv64_$n --security-group $sec_id --key-name my_rsa-key $vm_name >+-------------------------------------+------------------------------------------------------+ >| Field | Value | >+-------------------------------------+------------------------------------------------------+ >| OS-DCF:diskConfig | MANUAL | >| OS-EXT-AZ:availability_zone | | >| OS-EXT-SRV-ATTR:host | None | >| OS-EXT-SRV-ATTR:hypervisor_hostname | None | >| OS-EXT-SRV-ATTR:instance_name | | >| OS-EXT-STS:power_state | NOSTATE | >| OS-EXT-STS:task_state | scheduling | >| OS-EXT-STS:vm_state | building | >| OS-SRV-USG:launched_at | None | >| OS-SRV-USG:terminated_at | None | >| accessIPv4 | | >| accessIPv6 | | >| addresses | | >| adminPass | 3gSMtfh2QLhm | >| config_drive | | >| created | 2018-07-31T16:18:08Z | >| flavor | cirros_flavor (2b9120df-6423-4792-af9c-de64d7763774) | >| hostId | | >| id | a08d7610-5eab-4ddc-aa1a-4f34df78f15b | >| image | cirros35 (d050e52b-0c08-4f5d-82cd-4a59258af44b) | >| key_name | my_rsa-key | >| name | VM_cirros35_21 | >| progress | 0 | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| properties | | >| security_groups | name='18bc1e21-346c-4b4b-822c-3a7e60591eb9' | >| status | BUILD | >| updated | 2018-07-31T16:18:08Z | >| user_id | 0b64c5a9b3fc4bfaa49e812fdcfaa493 | >| volumes_attached | | >+-------------------------------------+------------------------------------------------------+ >openstack server show $vm_name >grep -E 'ACTIVE' -B 5 >sleep 1 >openstack server show $vm_name >grep -E 'ACTIVE' -B 5 >| name | VM_cirros35_21 | >| progress | 0 | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| properties | | >| security_groups | name='sec_group' | >| status | ACTIVE | > >* Adding floating ip 10.35.166.111 to VM_cirros35_21, and checking connectivity: >openstack server add floating ip $vm_name $fip >sleep 10 >int_ip=$(openstack server list | grep $vm_name | awk '{ gsub(/[,=\|]/, " " ); print $5; }') >port_id=$(openstack floating ip show $fip -c port_id -f value) > >* Setting a name to the port of the new floating ip: "VM_cirros35_21_10.35.166.111" >openstack port set $port_id --name "${vm_name}_${fip}" >openstack port show $port_id >+-----------------------+-----------------------------------------------------------------------------------------+ >| Field | Value | >+-----------------------+-----------------------------------------------------------------------------------------+ >| admin_state_up | UP | >| allowed_address_pairs | | >| binding_host_id | computesriov-1.localdomain | >| binding_profile | | >| binding_vif_details | datapath_type='system', ovs_hybrid_plug='True', port_filter='True' | >| binding_vif_type | ovs | >| binding_vnic_type | normal | >| created_at | 2018-07-31T16:18:14Z | >| data_plane_status | None | >| description | | >| device_id | a08d7610-5eab-4ddc-aa1a-4f34df78f15b | >| device_owner | compute:nova | >| dns_assignment | None | >| dns_name | None | >| extra_dhcp_opts | | >| fixed_ips | ip_address='10.0.2.12', subnet_id='0c0216b7-a44a-4f1a-85c9-4afb5f9b4a4f' | >| | ip_address='2002::f816:3eff:fe4e:44a', subnet_id='7f24a259-d734-4c20-b19f-f6a0df386d53' | >| id | acac8da3-82ea-4cae-a014-f91739837414 | >| ip_address | None | >| mac_address | fa:16:3e:4e:04:4a | >| name | VM_cirros35_21_10.35.166.111 | >| network_id | 309cfea8-db8c-44cd-8bcf-4e0cf19a4f4e | >| option_name | None | >| option_value | None | >| port_security_enabled | True | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| qos_policy_id | None | >| revision_number | 13 | >| security_group_ids | 18bc1e21-346c-4b4b-822c-3a7e60591eb9 | >| status | ACTIVE | >| subnet_id | None | >| tags | | >| trunk_details | None | >| updated_at | 2018-07-31T16:19:19Z | >+-----------------------+-----------------------------------------------------------------------------------------+ > >* Waiting for Port status to be ACTIVE on VM_cirros35_21, with internal IP address 10.0.2.12: >openstack port show $port_id >grep -E 'ACTIVE' -B 14 >| fixed_ips | ip_address='10.0.2.12', subnet_id='0c0216b7-a44a-4f1a-85c9-4afb5f9b4a4f' | >| | ip_address='2002::f816:3eff:fe4e:44a', subnet_id='7f24a259-d734-4c20-b19f-f6a0df386d53' | >| id | acac8da3-82ea-4cae-a014-f91739837414 | >| ip_address | None | >| mac_address | fa:16:3e:4e:04:4a | >| name | VM_cirros35_21_10.35.166.111 | >| network_id | 309cfea8-db8c-44cd-8bcf-4e0cf19a4f4e | >| option_name | None | >| option_value | None | >| port_security_enabled | True | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| qos_policy_id | None | >| revision_number | 13 | >| security_group_ids | 18bc1e21-346c-4b4b-822c-3a7e60591eb9 | >| status | ACTIVE | >ping -w 30 -c 5 ${fip:-NO_FIP} >PING 10.35.166.111 (10.35.166.111) 56(84) bytes of data. >From 10.35.166.111 icmp_seq=2 Destination Host Unreachable >From 10.35.166.111 icmp_seq=3 Destination Host Unreachable >From 10.35.166.111 icmp_seq=4 Destination Host Unreachable >From 10.35.166.111 icmp_seq=5 Destination Host Unreachable > >--- 10.35.166.111 ping statistics --- >5 packets transmitted, 0 received, +4 errors, 100% packet loss, time 3999ms >pipe 4 > >* Generate ssh key to access VM_cirros35_21 on 10.35.166.111, and checking ssh uptime: >ssh-keygen -f ~/.ssh/known_hosts -R $fip ># Host 10.35.166.111 found: line 7 >/home/stack/.ssh/known_hosts updated. >Original contents retained as /home/stack/.ssh/known_hosts.old >ssh -i my_key.pem -o "StrictHostKeyChecking no" ${ssh_user}@${fip} uptime >ssh: connect to host 10.35.166.111 port 22: No route to host >for i in `seq 1 $inst_num` >fip=$(openstack floating ip create $ext_net -c floating_ip_address -f value) >image_id=$(openstack image list | grep $image | head -1 | cut -d " " -f 2) >vm_name=VM_${image}_${n}${i} > >* Creating and booting VM instance: VM_cirros35_22, connected to network net_ipv64_2: >openstack server create --flavor $flavor --image $image_id --nic net-id=net_ipv64_$n --security-group $sec_id --key-name my_rsa-key $vm_name >+-------------------------------------+------------------------------------------------------+ >| Field | Value | >+-------------------------------------+------------------------------------------------------+ >| OS-DCF:diskConfig | MANUAL | >| OS-EXT-AZ:availability_zone | | >| OS-EXT-SRV-ATTR:host | None | >| OS-EXT-SRV-ATTR:hypervisor_hostname | None | >| OS-EXT-SRV-ATTR:instance_name | | >| OS-EXT-STS:power_state | NOSTATE | >| OS-EXT-STS:task_state | scheduling | >| OS-EXT-STS:vm_state | building | >| OS-SRV-USG:launched_at | None | >| OS-SRV-USG:terminated_at | None | >| accessIPv4 | | >| accessIPv6 | | >| addresses | | >| adminPass | RGXjjn9CsZHK | >| config_drive | | >| created | 2018-07-31T16:20:10Z | >| flavor | cirros_flavor (2b9120df-6423-4792-af9c-de64d7763774) | >| hostId | | >| id | 6ed7a7b2-e84e-4252-8dd2-c3f7a86c2d36 | >| image | cirros35 (d050e52b-0c08-4f5d-82cd-4a59258af44b) | >| key_name | my_rsa-key | >| name | VM_cirros35_22 | >| progress | 0 | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| properties | | >| security_groups | name='18bc1e21-346c-4b4b-822c-3a7e60591eb9' | >| status | BUILD | >| updated | 2018-07-31T16:20:10Z | >| user_id | 0b64c5a9b3fc4bfaa49e812fdcfaa493 | >| volumes_attached | | >+-------------------------------------+------------------------------------------------------+ >openstack server show $vm_name >grep -E 'ACTIVE' -B 5 >sleep 1 >openstack server show $vm_name >grep -E 'ACTIVE' -B 5 >| name | VM_cirros35_22 | >| progress | 0 | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| properties | | >| security_groups | name='sec_group' | >| status | ACTIVE | > >* Adding floating ip 10.35.166.101 to VM_cirros35_22, and checking connectivity: >openstack server add floating ip $vm_name $fip >sleep 10 >int_ip=$(openstack server list | grep $vm_name | awk '{ gsub(/[,=\|]/, " " ); print $5; }') >port_id=$(openstack floating ip show $fip -c port_id -f value) > >* Setting a name to the port of the new floating ip: "VM_cirros35_22_10.35.166.101" >openstack port set $port_id --name "${vm_name}_${fip}" >openstack port show $port_id >+-----------------------+------------------------------------------------------------------------------------------+ >| Field | Value | >+-----------------------+------------------------------------------------------------------------------------------+ >| admin_state_up | UP | >| allowed_address_pairs | | >| binding_host_id | computesriov-0.localdomain | >| binding_profile | | >| binding_vif_details | datapath_type='system', ovs_hybrid_plug='True', port_filter='True' | >| binding_vif_type | ovs | >| binding_vnic_type | normal | >| created_at | 2018-07-31T16:20:14Z | >| data_plane_status | None | >| description | | >| device_id | 6ed7a7b2-e84e-4252-8dd2-c3f7a86c2d36 | >| device_owner | compute:nova | >| dns_assignment | None | >| dns_name | None | >| extra_dhcp_opts | | >| fixed_ips | ip_address='10.0.2.9', subnet_id='0c0216b7-a44a-4f1a-85c9-4afb5f9b4a4f' | >| | ip_address='2002::f816:3eff:feac:6bf3', subnet_id='7f24a259-d734-4c20-b19f-f6a0df386d53' | >| id | 539997f7-3642-44f1-9de1-2429805b96ac | >| ip_address | None | >| mac_address | fa:16:3e:ac:6b:f3 | >| name | VM_cirros35_22_10.35.166.101 | >| network_id | 309cfea8-db8c-44cd-8bcf-4e0cf19a4f4e | >| option_name | None | >| option_value | None | >| port_security_enabled | True | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| qos_policy_id | None | >| revision_number | 13 | >| security_group_ids | 18bc1e21-346c-4b4b-822c-3a7e60591eb9 | >| status | ACTIVE | >| subnet_id | None | >| tags | | >| trunk_details | None | >| updated_at | 2018-07-31T16:21:38Z | >+-----------------------+------------------------------------------------------------------------------------------+ > >* Waiting for Port status to be ACTIVE on VM_cirros35_22, with internal IP address 10.0.2.9: >openstack port show $port_id >grep -E 'ACTIVE' -B 14 >| fixed_ips | ip_address='10.0.2.9', subnet_id='0c0216b7-a44a-4f1a-85c9-4afb5f9b4a4f' | >| | ip_address='2002::f816:3eff:feac:6bf3', subnet_id='7f24a259-d734-4c20-b19f-f6a0df386d53' | >| id | 539997f7-3642-44f1-9de1-2429805b96ac | >| ip_address | None | >| mac_address | fa:16:3e:ac:6b:f3 | >| name | VM_cirros35_22_10.35.166.101 | >| network_id | 309cfea8-db8c-44cd-8bcf-4e0cf19a4f4e | >| option_name | None | >| option_value | None | >| port_security_enabled | True | >| project_id | d475a218e0ae41948d6549b5bee66b44 | >| qos_policy_id | None | >| revision_number | 13 | >| security_group_ids | 18bc1e21-346c-4b4b-822c-3a7e60591eb9 | >| status | ACTIVE | >ping -w 30 -c 5 ${fip:-NO_FIP} >PING 10.35.166.101 (10.35.166.101) 56(84) bytes of data. >From 10.35.166.101 icmp_seq=2 Destination Host Unreachable >From 10.35.166.101 icmp_seq=3 Destination Host Unreachable >From 10.35.166.101 icmp_seq=4 Destination Host Unreachable >From 10.35.166.101 icmp_seq=5 Destination Host Unreachable > >--- 10.35.166.101 ping statistics --- >5 packets transmitted, 0 received, +4 errors, 100% packet loss, time 3999ms >pipe 4 > >* Generate ssh key to access VM_cirros35_22 on 10.35.166.101, and checking ssh uptime: >ssh-keygen -f ~/.ssh/known_hosts -R $fip >Host 10.35.166.101 not found in /home/stack/.ssh/known_hosts >ssh -i my_key.pem -o "StrictHostKeyChecking no" ${ssh_user}@${fip} uptime >ssh: connect to host 10.35.166.101 port 22: No route to host > > > >openstack router list >+--------------------------------------+-------------+--------+-------+-------------+------+----------------------------------+ >| ID | Name | Status | State | Distributed | HA | Project | >+--------------------------------------+-------------+--------+-------+-------------+------+----------------------------------+ >| fba7d880-cb14-40c6-a337-d2456311c6da | Router_eNet | ACTIVE | UP | False | True | d475a218e0ae41948d6549b5bee66b44 | >+--------------------------------------+-------------+--------+-------+-------------+------+----------------------------------+ >openstack port list >+--------------------------------------+-------------------------------------------------+-------------------+------------------------------------------------------------------------------------------+--------+ >| ID | Name | MAC Address | Fixed IP Addresses | Status | >+--------------------------------------+-------------------------------------------------+-------------------+------------------------------------------------------------------------------------------+--------+ >| 010c1d2c-851c-4bdd-846e-5257aef1247f | | fa:16:3e:ad:92:9e | ip_address='2002::1', subnet_id='7f24a259-d734-4c20-b19f-f6a0df386d53' | ACTIVE | >| 031e95f3-09b6-4927-8a89-ad464e810f23 | | fa:16:3e:a7:d5:a0 | ip_address='10.0.1.2', subnet_id='1b243134-47e7-4ee1-b122-806899683b7d' | ACTIVE | >| | | | ip_address='2001::f816:3eff:fea7:d5a0', subnet_id='6c8f364b-57f8-44a2-abc3-aca05b5eb529' | | >| 0c2f8c92-58d2-45e7-a276-ebf21c348cc9 | | fa:16:3e:f6:aa:54 | ip_address='10.0.2.2', subnet_id='0c0216b7-a44a-4f1a-85c9-4afb5f9b4a4f' | ACTIVE | >| | | | ip_address='2002::f816:3eff:fef6:aa54', subnet_id='7f24a259-d734-4c20-b19f-f6a0df386d53' | | >| 0f74f1a3-8416-41c3-b64a-2cbb5e47ddae | VM_cirros35_11_10.35.166.100 | fa:16:3e:09:67:c0 | ip_address='10.0.1.13', subnet_id='1b243134-47e7-4ee1-b122-806899683b7d' | ACTIVE | >| | | | ip_address='2001::f816:3eff:fe09:67c0', subnet_id='6c8f364b-57f8-44a2-abc3-aca05b5eb529' | | >| 2428c181-b5a2-4c7b-b3b8-68cd9ddcead8 | | fa:16:3e:81:f1:1f | ip_address='10.35.166.100', subnet_id='e78fdfe0-ebbe-4ec1-904f-0b62c89f4ac3' | N/A | >| 2677ae16-ecde-4c9b-8107-5810d796a814 | | fa:16:3e:90:bb:9f | ip_address='10.35.166.111', subnet_id='e78fdfe0-ebbe-4ec1-904f-0b62c89f4ac3' | N/A | >| 34c54f0f-5b83-4474-a49c-fb40c45d4b77 | HA port tenant d475a218e0ae41948d6549b5bee66b44 | fa:16:3e:b3:26:60 | ip_address='169.254.192.7', subnet_id='d9f69013-25de-4d8f-9f91-aa6bd7c7f9e3' | ACTIVE | >| 3813907a-3825-4446-b524-68425899d01a | | fa:16:3e:9a:d9:13 | ip_address='2001::1', subnet_id='6c8f364b-57f8-44a2-abc3-aca05b5eb529' | ACTIVE | >| 4d95772b-00c9-4f26-a528-38030ada051c | | fa:16:3e:ec:7f:66 | ip_address='10.35.166.101', subnet_id='e78fdfe0-ebbe-4ec1-904f-0b62c89f4ac3' | N/A | >| 539997f7-3642-44f1-9de1-2429805b96ac | VM_cirros35_22_10.35.166.101 | fa:16:3e:ac:6b:f3 | ip_address='10.0.2.9', subnet_id='0c0216b7-a44a-4f1a-85c9-4afb5f9b4a4f' | ACTIVE | >| | | | ip_address='2002::f816:3eff:feac:6bf3', subnet_id='7f24a259-d734-4c20-b19f-f6a0df386d53' | | >| 5bc318c3-4843-4f79-a8aa-64b9d12b6892 | | fa:16:3e:b3:66:f3 | ip_address='10.0.2.4', subnet_id='0c0216b7-a44a-4f1a-85c9-4afb5f9b4a4f' | ACTIVE | >| | | | ip_address='2002::f816:3eff:feb3:66f3', subnet_id='7f24a259-d734-4c20-b19f-f6a0df386d53' | | >| 814135ae-b2f4-4191-ab9a-1a40344362b0 | | fa:16:3e:4b:e4:bb | ip_address='10.0.2.1', subnet_id='0c0216b7-a44a-4f1a-85c9-4afb5f9b4a4f' | ACTIVE | >| 9cd6b9f3-07ed-48dc-be31-28456beb7c48 | HA port tenant d475a218e0ae41948d6549b5bee66b44 | fa:16:3e:64:88:b6 | ip_address='169.254.192.9', subnet_id='d9f69013-25de-4d8f-9f91-aa6bd7c7f9e3' | ACTIVE | >| 9f1a20c6-9713-47b5-90f5-646cb898a490 | VM_cirros35_12_10.35.166.110 | fa:16:3e:86:0a:20 | ip_address='10.0.1.12', subnet_id='1b243134-47e7-4ee1-b122-806899683b7d' | ACTIVE | >| | | | ip_address='2001::f816:3eff:fe86:a20', subnet_id='6c8f364b-57f8-44a2-abc3-aca05b5eb529' | | >| acac8da3-82ea-4cae-a014-f91739837414 | VM_cirros35_21_10.35.166.111 | fa:16:3e:4e:04:4a | ip_address='10.0.2.12', subnet_id='0c0216b7-a44a-4f1a-85c9-4afb5f9b4a4f' | ACTIVE | >| | | | ip_address='2002::f816:3eff:fe4e:44a', subnet_id='7f24a259-d734-4c20-b19f-f6a0df386d53' | | >| b64cde95-53b3-4966-b934-34950a1748d9 | | fa:16:3e:9c:64:75 | ip_address='10.35.166.106', subnet_id='e78fdfe0-ebbe-4ec1-904f-0b62c89f4ac3' | ACTIVE | >| c2699412-80d7-47fa-872c-edd5e67f9c06 | | fa:16:3e:87:cd:89 | ip_address='10.0.1.1', subnet_id='1b243134-47e7-4ee1-b122-806899683b7d' | ACTIVE | >| c4396225-8fdd-41e2-a8d8-347f735431be | | fa:16:3e:1c:d2:31 | ip_address='10.0.1.3', subnet_id='1b243134-47e7-4ee1-b122-806899683b7d' | ACTIVE | >| | | | ip_address='2001::f816:3eff:fe1c:d231', subnet_id='6c8f364b-57f8-44a2-abc3-aca05b5eb529' | | >| cb9fd9c5-30b1-4aea-be63-73f1339606cf | | fa:16:3e:13:83:56 | ip_address='10.0.1.4', subnet_id='1b243134-47e7-4ee1-b122-806899683b7d' | ACTIVE | >| | | | ip_address='2001::f816:3eff:fe13:8356', subnet_id='6c8f364b-57f8-44a2-abc3-aca05b5eb529' | | >| dc985b9d-7b88-482a-ad1a-87f79b30f992 | HA port tenant d475a218e0ae41948d6549b5bee66b44 | fa:16:3e:3b:26:72 | ip_address='169.254.192.2', subnet_id='d9f69013-25de-4d8f-9f91-aa6bd7c7f9e3' | ACTIVE | >| f3cc75e1-e6d5-43bd-98f9-0fa2573e36ff | | fa:16:3e:fe:21:36 | ip_address='10.0.2.3', subnet_id='0c0216b7-a44a-4f1a-85c9-4afb5f9b4a4f' | ACTIVE | >| | | | ip_address='2002::f816:3eff:fefe:2136', subnet_id='7f24a259-d734-4c20-b19f-f6a0df386d53' | | >| f65560ac-659c-4435-a837-c2eb2e3ac932 | | fa:16:3e:9f:29:4b | ip_address='10.35.166.110', subnet_id='e78fdfe0-ebbe-4ec1-904f-0b62c89f4ac3' | N/A | >+--------------------------------------+-------------------------------------------------+-------------------+------------------------------------------------------------------------------------------+--------+ >openstack server list >+--------------------------------------+----------------+--------+-----------------------------------------------------------------+----------+---------------+ >| ID | Name | Status | Networks | Image | Flavor | >+--------------------------------------+----------------+--------+-----------------------------------------------------------------+----------+---------------+ >| 6ed7a7b2-e84e-4252-8dd2-c3f7a86c2d36 | VM_cirros35_22 | ACTIVE | net_ipv64_2=10.0.2.9, 2002::f816:3eff:feac:6bf3, 10.35.166.101 | cirros35 | cirros_flavor | >| a08d7610-5eab-4ddc-aa1a-4f34df78f15b | VM_cirros35_21 | ACTIVE | net_ipv64_2=10.0.2.12, 2002::f816:3eff:fe4e:44a, 10.35.166.111 | cirros35 | cirros_flavor | >| fbdd3171-014a-480f-8870-1a9d31499516 | VM_cirros35_12 | ACTIVE | net_ipv64_1=10.0.1.12, 2001::f816:3eff:fe86:a20, 10.35.166.110 | cirros35 | cirros_flavor | >| 09d82030-1c64-4c01-a761-ccf72dd5e50b | VM_cirros35_11 | ACTIVE | net_ipv64_1=10.0.1.13, 2001::f816:3eff:fe09:67c0, 10.35.166.100 | cirros35 | cirros_flavor | >+--------------------------------------+----------------+--------+-----------------------------------------------------------------+----------+---------------+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1610468
: 1471885 |
1471889