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 1471889 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.
Same scenario on FLAT network - error does not happen
out2.log (text/plain), 112.56 KB, created by
Noam Manos
on 2018-07-31 17:39:09 UTC
(
hide
)
Description:
Same scenario on FLAT network - error does not happen
Filename:
MIME Type:
Creator:
Noam Manos
Created:
2018-07-31 17:39:09 UTC
Size:
112.56 KB
patch
obsolete
>shift >[ $# -gt 0 ] >case $1 in >image="$2" >VM image = cirros35 >shift >shift >[ $# -gt 0 ] >case $1 in >net_num="$2" >Number of networks = 2 >shift >shift >[ $# -gt 0 ] >case $1 in >inst_num="$2" >Number of VMs = 2 >shift >shift >[ $# -gt 0 ] >case $1 in >external_network_type="$2" >Creating external network of type = flat >shift >shift >[ $# -gt 0 ] >case $1 in >topology="$2" >[[ $topology = N ]] >[[ $topology = M ]] >Topology = Multiple Machines per network >shift >shift >[ $# -gt 0 ] >case $1 in >cleanup_needed="$2" >Run environment cleanup initially = YES >shift >shift >[ $# -gt 0 ] >---------------------------------------------------------------------- >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. > >Running with pre-defined parameters (optional): > >* To debug (verbose output): -d / --debug >* To set VM image: -i / --image [ rhel74 / rhel75 / cirros35 ] >* To set topology - multiple VM instances or multiple networks: -t / --topology [ N = Multiple Networks / M = Multiple Machiness ] >* To set the number of networks: -n / --networks [ 1-9 ] >* To set the number of VMs: -m / --machines [ 1-9 ] >* To run environment cleanup initially: -c / --cleanup [ NO / YES ] > >---------------------------------------------------------------------- >source overcloudrc >cd /home/stack >osp_version=$(cat /etc/yum.repos.d/latest-installed) >Current OSP version: 13 -p 2018-07-13.1 > >osp_version=$(echo $osp_version | awk '{print $1}') >[[ "$image" =~ ^(rhel74|rhel75|cirros35)$ ]] >[[ "$topology" =~ ^(N|n|M|m)$ ]] >ext_net=$(openstack network list --external -c Name -f value) >[[ -z "$ext_net" ]] > >[1;33mExternal network exist:[0m nova >[[ "$external_network_type" =~ ^(skip|flat|vlan)$ ]] >[[ $external_network_type = vlan ]] >[[ "$net_num" =~ ^([1-9])$ ]] >[[ "$inst_num" =~ ^([1-9])$ ]] >[[ "$cleanup_needed" =~ ^(NO|YES)$ ]] >[[ $cleanup_needed = YES ]] > >* Deleting all VM instances >for vm in $(openstack server list -c ID -f value | grep -v "^$") >.openstack server delete $vm >for vm in $(openstack server list -c ID -f value | grep -v "^$") >.openstack server delete $vm >for router in $(openstack router list -c ID -f value | grep -v "^$") > >* Removing all subnets from router (ID: 609c8603-b367-45c2-a3f4-e6292d60b850) >for subnet in $(openstack subnet list -c ID -f value | grep -v "^$") >.openstack router remove subnet $router $subnet >for subnet in $(openstack subnet list -c ID -f value | grep -v "^$") >.openstack router remove subnet $router $subnet >for subnet in $(openstack subnet list -c ID -f value | grep -v "^$") >.openstack router remove subnet $router $subnet >for subnet in $(openstack subnet list -c ID -f value | grep -v "^$") >.openstack router remove subnet $router $subnet >for subnet in $(openstack subnet list -c ID -f value | grep -v "^$") >.openstack router remove subnet $router $subnet > >* Deleting all floating ips >for fip in $(openstack floating ip list -c ID -f value | grep -v "^$") >.openstack floating ip delete $fip >for fip in $(openstack floating ip list -c ID -f value | grep -v "^$") >.openstack floating ip delete $fip > >* Unsetting external gateway from all routers >for router in $(openstack router list -c ID -f value | grep -v "^$") >.openstack router unset --external-gateway $router > >* Deleting all ports >for port in $(openstack port list -c ID -f value | grep -v "^$") >.openstack port delete $port >for port in $(openstack port list -c ID -f value | grep -v "^$") >.openstack port delete $port >for port in $(openstack port list -c ID -f value | grep -v "^$") >.openstack port delete $port >for port in $(openstack port list -c ID -f value | grep -v "^$") >.openstack port delete $port >for port in $(openstack port list -c ID -f value | grep -v "^$") >.openstack port delete $port >for port in $(openstack port list -c ID -f value | grep -v "^$") >.openstack port delete $port > >* Deleting all subnets >for subnet in $(openstack network list --internal -c Subnets -f value | tr -d "," | grep -v "^$") >.openstack subnet delete $subnet >for subnet in $(openstack network list --internal -c Subnets -f value | tr -d "," | grep -v "^$") >.openstack subnet delete $subnet >for subnet in $(openstack network list --internal -c Subnets -f value | tr -d "," | grep -v "^$") >.openstack subnet delete $subnet >for subnet in $(openstack network list --internal -c Subnets -f value | tr -d "," | grep -v "^$") >.openstack subnet delete $subnet > >* Deleting all routers >for router in $(openstack router list -c ID -f value | grep -v "^$") >.openstack router delete $router > >* Deleting all internal networks >for network in $(openstack network list --internal -c ID -f value | grep -v "^$") >.openstack network delete $network >for network in $(openstack network list --internal -c ID -f value | grep -v "^$") >.openstack network delete $network >[[ "$external_network_type" =~ ^(flat|vlan)$ ]] > >* You've requested to re-create external network - Deleting all external networks and subnet: >for subnet in $(openstack subnet list -c ID -f value | grep -v "^$") >.openstack subnet delete $subnet >for network in $(openstack network list --external -c ID -f value | grep -v "^$") >.openstack network delete $network > >* Deleting all VM images >for img in $(openstack image list -c ID -f value | grep -v "^$") >.openstack image delete $img > >* Deleting all VM flavors >for flavor in $(openstack flavor list -c ID -f value | grep -v "^$") >.openstack flavor delete $flavor > >* Deleting all security groups >for secgroup in $(openstack security group list -c ID -f value | grep -v "^$") >.openstack security group delete $secgroup >for secgroup in $(openstack security group list -c ID -f value | grep -v "^$") >.openstack security group delete $secgroup >for secgroup in $(openstack security group list -c ID -f value | grep -v "^$") >.openstack security group delete $secgroup >for secgroup in $(openstack security group list -c ID -f value | grep -v "^$") >.openstack security group delete $secgroup >for secgroup in $(openstack security group list -c ID -f value | grep -v "^$") >.openstack security group delete $secgroup >[[ $external_network_type = vlan ]] >[[ $external_network_type = flat ]] >openstack network create --provider-network-type flat --provider-physical-network datacentre --external nova >+---------------------------+--------------------------------------+ >| Field | Value | >+---------------------------+--------------------------------------+ >| admin_state_up | UP | >| availability_zone_hints | | >| availability_zones | | >| created_at | 2018-07-31T17:21:45Z | >| description | | >| dns_domain | None | >| id | 9f1f58da-da98-41e0-88e6-0545ef256a94 | >| 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 | dba288c4e9844c25a2418096895af971 | >| provider:network_type | flat | >| provider:physical_network | datacentre | >| provider:segmentation_id | None | >| qos_policy_id | None | >| revision_number | 5 | >| router:external | External | >| segments | None | >| shared | False | >| status | ACTIVE | >| subnets | | >| tags | | >| updated_at | 2018-07-31T17:21:45Z | >+---------------------------+--------------------------------------+ >openstack subnet create --subnet-range 10.0.0.0/24 --network nova --no-dhcp --gateway 10.0.0.1 --allocation-pool start=10.0.0.210,end=10.0.0.250 nova >+-------------------+--------------------------------------+ >| Field | Value | >+-------------------+--------------------------------------+ >| allocation_pools | 10.0.0.210-10.0.0.250 | >| cidr | 10.0.0.0/24 | >| created_at | 2018-07-31T17:21:49Z | >| description | | >| dns_nameservers | | >| enable_dhcp | False | >| gateway_ip | 10.0.0.1 | >| host_routes | | >| id | 35158e57-d4c6-4cbd-bf28-159623cb54af | >| ip_version | 4 | >| ipv6_address_mode | None | >| ipv6_ra_mode | None | >| name | nova | >| network_id | 9f1f58da-da98-41e0-88e6-0545ef256a94 | >| project_id | dba288c4e9844c25a2418096895af971 | >| revision_number | 0 | >| segment_id | None | >| service_types | | >| subnetpool_id | None | >| tags | | >| updated_at | 2018-07-31T17:21:49Z | >+-------------------+--------------------------------------+ >ext_net=$(openstack network list --external -c Name -f value) >[[ -z "$ext_net" ]] >[[ $image = cirros35 ]] > >* 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 13:21:01-- 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)... 2607:f298:6:a036::bd6:a72a, 64.90.42.85 >Connecting to download.cirros-cloud.net (download.cirros-cloud.net)|2607:f298:6:a036::bd6:a72a|:443... failed: Network is unreachable. >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] >Saving to: âcirros-0.3.5-x86_64-disk.imgâ > > 0K .......... .......... .......... .......... .......... 0% 58.9K 3m39s > 50K .......... .......... .......... .......... .......... 0% 235K 2m16s > 100K .......... .......... .......... .......... .......... 1% 30.3M 91s > 150K .......... .......... .......... .......... .......... 1% 237K 81s > 200K .......... .......... .......... .......... .......... 1% 31.8M 65s > 250K .......... .......... .......... .......... .......... 2% 29.7M 54s > 300K .......... .......... .......... .......... .......... 2% 238K 54s > 350K .......... .......... .......... .......... .......... 3% 21.6M 47s > 400K .......... .......... .......... .......... .......... 3% 237K 47s > 450K .......... .......... .......... .......... .......... 3% 239K 48s > 500K .......... .......... .......... .......... .......... 4% 45.5M 43s > 550K .......... .......... .......... .......... .......... 4% 33.2M 39s > 600K .......... .......... .......... .......... .......... 5% 30.9M 36s > 650K .......... .......... .......... .......... .......... 5% 31.2M 34s > 700K .......... .......... .......... .......... .......... 5% 242K 35s > 750K .......... .......... .......... .......... .......... 6% 25.9M 32s > 800K .......... .......... .......... .......... .......... 6% 17.5M 30s > 850K .......... .......... .......... .......... .......... 6% 241K 31s > 900K .......... .......... .......... .......... .......... 7% 35.5M 30s > 950K .......... .......... .......... .......... .......... 7% 24.3M 28s > 1000K .......... .......... .......... .......... .......... 8% 20.8M 27s > 1050K .......... .......... .......... .......... .......... 8% 36.0M 25s > 1100K .......... .......... .......... .......... .......... 8% 27.4M 24s > 1150K .......... .......... .......... .......... .......... 9% 244K 25s > 1200K .......... .......... .......... .......... .......... 9% 12.7M 24s > 1250K .......... .......... .......... .......... .......... 10% 19.6M 23s > 1300K .......... .......... .......... .......... .......... 10% 244K 24s > 1350K .......... .......... .......... .......... .......... 10% 41.0M 23s > 1400K .......... .......... .......... .......... .......... 11% 31.6M 22s > 1450K .......... .......... .......... .......... .......... 11% 32.7M 21s > 1500K .......... .......... .......... .......... .......... 11% 34.7M 20s > 1550K .......... .......... .......... .......... .......... 12% 28.8M 20s > 1600K .......... .......... .......... .......... .......... 12% 19.4M 19s > 1650K .......... .......... .......... .......... .......... 13% 47.3M 18s > 1700K .......... .......... .......... .......... .......... 13% 31.6M 18s > 1750K .......... .......... .......... .......... .......... 13% 249K 18s > 1800K .......... .......... .......... .......... .......... 14% 21.6M 18s > 1850K .......... .......... .......... .......... .......... 14% 22.5M 17s > 1900K .......... .......... .......... .......... .......... 15% 22.8M 17s > 1950K .......... .......... .......... .......... .......... 15% 17.2M 16s > 2000K .......... .......... .......... .......... .......... 15% 248K 17s > 2050K .......... .......... .......... .......... .......... 16% 45.2M 16s > 2100K .......... .......... .......... .......... .......... 16% 21.5M 16s > 2150K .......... .......... .......... .......... .......... 16% 23.4M 16s > 2200K .......... .......... .......... .......... .......... 17% 30.2M 15s > 2250K .......... .......... .......... .......... .......... 17% 34.5M 15s > 2300K .......... .......... .......... .......... .......... 18% 50.2M 14s > 2350K .......... .......... .......... .......... .......... 18% 24.1M 14s > 2400K .......... .......... .......... .......... .......... 18% 77.4M 14s > 2450K .......... .......... .......... .......... .......... 19% 71.8M 13s > 2500K .......... .......... .......... .......... .......... 19% 55.6M 13s > 2550K .......... .......... .......... .......... .......... 20% 50.0M 13s > 2600K .......... .......... .......... .......... .......... 20% 253K 13s > 2650K .......... .......... .......... .......... .......... 20% 66.8M 13s > 2700K .......... .......... .......... .......... .......... 21% 60.3M 13s > 2750K .......... .......... .......... .......... .......... 21% 58.2M 12s > 2800K .......... .......... .......... .......... .......... 21% 46.1M 12s > 2850K .......... .......... .......... .......... .......... 22% 40.4M 12s > 2900K .......... .......... .......... .......... .......... 22% 47.3M 12s > 2950K .......... .......... .......... .......... .......... 23% 71.9M 11s > 3000K .......... .......... .......... .......... .......... 23% 59.2M 11s > 3050K .......... .......... .......... .......... .......... 23% 65.2M 11s > 3100K .......... .......... .......... .......... .......... 24% 72.2M 11s > 3150K .......... .......... .......... .......... .......... 24% 76.1M 10s > 3200K .......... .......... .......... .......... .......... 25% 46.0M 10s > 3250K .......... .......... .......... .......... .......... 25% 40.6M 10s > 3300K .......... .......... .......... .......... .......... 25% 34.9M 10s > 3350K .......... .......... .......... .......... .......... 26% 36.4M 10s > 3400K .......... .......... .......... .......... .......... 26% 252K 10s > 3450K .......... .......... .......... .......... .......... 27% 29.5M 10s > 3500K .......... .......... .......... .......... .......... 27% 34.7M 10s > 3550K .......... .......... .......... .......... .......... 27% 30.2M 9s > 3600K .......... .......... .......... .......... .......... 28% 24.8M 9s > 3650K .......... .......... .......... .......... .......... 28% 32.0M 9s > 3700K .......... .......... .......... .......... .......... 28% 26.2M 9s > 3750K .......... .......... .......... .......... .......... 29% 28.7M 9s > 3800K .......... .......... .......... .......... .......... 29% 36.2M 9s > 3850K .......... .......... .......... .......... .......... 30% 32.2M 8s > 3900K .......... .......... .......... .......... .......... 30% 29.6M 8s > 3950K .......... .......... .......... .......... .......... 30% 33.0M 8s > 4000K .......... .......... .......... .......... .......... 31% 22.9M 8s > 4050K .......... .......... .......... .......... .......... 31% 259K 8s > 4100K .......... .......... .......... .......... .......... 32% 23.2M 8s > 4150K .......... .......... .......... .......... .......... 32% 21.4M 8s > 4200K .......... .......... .......... .......... .......... 32% 17.1M 8s > 4250K .......... .......... .......... .......... .......... 33% 23.4M 8s > 4300K .......... .......... .......... .......... .......... 33% 23.1M 8s > 4350K .......... .......... .......... .......... .......... 33% 24.3M 7s > 4400K .......... .......... .......... .......... .......... 34% 16.1M 7s > 4450K .......... .......... .......... .......... .......... 34% 20.1M 7s > 4500K .......... .......... .......... .......... .......... 35% 259K 7s > 4550K .......... .......... .......... .......... .......... 35% 20.2M 7s > 4600K .......... .......... .......... .......... .......... 35% 25.2M 7s > 4650K .......... .......... .......... .......... .......... 36% 20.9M 7s > 4700K .......... .......... .......... .......... .......... 36% 21.9M 7s > 4750K .......... .......... .......... .......... .......... 37% 18.6M 7s > 4800K .......... .......... .......... .......... .......... 37% 19.1M 7s > 4850K .......... .......... .......... .......... .......... 37% 22.4M 7s > 4900K .......... .......... .......... .......... .......... 38% 23.3M 7s > 4950K .......... .......... .......... .......... .......... 38% 258K 7s > 5000K .......... .......... .......... .......... .......... 38% 13.6M 7s > 5050K .......... .......... .......... .......... .......... 39% 18.3M 7s > 5100K .......... .......... .......... .......... .......... 39% 29.2M 6s > 5150K .......... .......... .......... .......... .......... 40% 19.9M 6s > 5200K .......... .......... .......... .......... .......... 40% 12.6M 6s > 5250K .......... .......... .......... .......... .......... 40% 32.8M 6s > 5300K .......... .......... .......... .......... .......... 41% 22.4M 6s > 5350K .......... .......... .......... .......... .......... 41% 1.44M 6s > 5400K .......... .......... .......... .......... .......... 42% 312K 6s > 5450K .......... .......... .......... .......... .......... 42% 12.2M 6s > 5500K .......... .......... .......... .......... .......... 42% 13.4M 6s > 5550K .......... .......... .......... .......... .......... 43% 16.6M 6s > 5600K .......... .......... .......... .......... .......... 43% 10.8M 6s > 5650K .......... .......... .......... .......... .......... 43% 16.4M 6s > 5700K .......... .......... .......... .......... .......... 44% 1.42M 6s > 5750K .......... .......... .......... .......... .......... 44% 309K 6s > 5800K .......... .......... .......... .......... .......... 45% 10.7M 6s > 5850K .......... .......... .......... .......... .......... 45% 17.1M 6s > 5900K .......... .......... .......... .......... .......... 45% 11.8M 6s > 5950K .......... .......... .......... .......... .......... 46% 21.3M 5s > 6000K .......... .......... .......... .......... .......... 46% 1.36M 5s > 6050K .......... .......... .......... .......... .......... 47% 57.4M 5s > 6100K .......... .......... .......... .......... .......... 47% 31.7M 5s > 6150K .......... .......... .......... .......... .......... 47% 31.1M 5s > 6200K .......... .......... .......... .......... .......... 48% 313K 5s > 6250K .......... .......... .......... .......... .......... 48% 10.7M 5s > 6300K .......... .......... .......... .......... .......... 49% 8.16M 5s > 6350K .......... .......... .......... .......... .......... 49% 15.2M 5s > 6400K .......... .......... .......... .......... .......... 49% 1.37M 5s > 6450K .......... .......... .......... .......... .......... 50% 22.2M 5s > 6500K .......... .......... .......... .......... .......... 50% 314K 5s > 6550K .......... .......... .......... .......... .......... 50% 6.07M 5s > 6600K .......... .......... .......... .......... .......... 51% 7.97M 5s > 6650K .......... .......... .......... .......... .......... 51% 1.34M 5s > 6700K .......... .......... .......... .......... .......... 52% 16.3M 5s > 6750K .......... .......... .......... .......... .......... 52% 310K 5s > 6800K .......... .......... .......... .......... .......... 52% 5.28M 5s > 6850K .......... .......... .......... .......... .......... 53% 1.30M 5s > 6900K .......... .......... .......... .......... .......... 53% 36.5M 5s > 6950K .......... .......... .......... .......... .......... 54% 25.0M 5s > 7000K .......... .......... .......... .......... .......... 54% 29.8M 4s > 7050K .......... .......... .......... .......... .......... 54% 316K 5s > 7100K .......... .......... .......... .......... .......... 55% 6.63M 4s > 7150K .......... .......... .......... .......... .......... 55% 7.39M 4s > 7200K .......... .......... .......... .......... .......... 55% 1.15M 4s > 7250K .......... .......... .......... .......... .......... 56% 143M 4s > 7300K .......... .......... .......... .......... .......... 56% 321K 4s > 7350K .......... .......... .......... .......... .......... 57% 4.57M 4s > 7400K .......... .......... .......... .......... .......... 57% 1.28M 4s > 7450K .......... .......... .......... .......... .......... 57% 6.43M 4s > 7500K .......... .......... .......... .......... .......... 58% 32.7M 4s > 7550K .......... .......... .......... .......... .......... 58% 314K 4s > 7600K .......... .......... .......... .......... .......... 59% 4.30M 4s > 7650K .......... .......... .......... .......... .......... 59% 1.21M 4s > 7700K .......... .......... .......... .......... .......... 59% 31.1M 4s > 7750K .......... .......... .......... .......... .......... 60% 322K 4s > 7800K .......... .......... .......... .......... .......... 60% 5.19M 4s > 7850K .......... .......... .......... .......... .......... 60% 1.28M 4s > 7900K .......... .......... .......... .......... .......... 61% 5.93M 4s > 7950K .......... .......... .......... .......... .......... 61% 327K 4s > 8000K .......... .......... .......... .......... .......... 62% 3.78M 4s > 8050K .......... .......... .......... .......... .......... 62% 1.28M 4s > 8100K .......... .......... .......... .......... .......... 62% 5.80M 4s > 8150K .......... .......... .......... .......... .......... 63% 327K 4s > 8200K .......... .......... .......... .......... .......... 63% 8.59M 4s > 8250K .......... .......... .......... .......... .......... 64% 5.13M 4s > 8300K .......... .......... .......... .......... .......... 64% 1.14M 4s > 8350K .......... .......... .......... .......... .......... 64% 33.3M 4s > 8400K .......... .......... .......... .......... .......... 65% 23.5M 4s > 8450K .......... .......... .......... .......... .......... 65% 1.45M 3s > 8500K .......... .......... .......... .......... .......... 65% 404K 4s > 8550K .......... .......... .......... .......... .......... 66% 1.11M 3s > 8600K .......... .......... .......... .......... .......... 66% 5.66M 3s > 8650K .......... .......... .......... .......... .......... 67% 17.3M 3s > 8700K .......... .......... .......... .......... .......... 67% 333K 3s > 8750K .......... .......... .......... .......... .......... 67% 4.45M 3s > 8800K .......... .......... .......... .......... .......... 68% 1.00M 3s > 8850K .......... .......... .......... .......... .......... 68% 433K 3s > 8900K .......... .......... .......... .......... .......... 69% 1008K 3s > 8950K .......... .......... .......... .......... .......... 69% 1.04M 3s > 9000K .......... .......... .......... .......... .......... 69% 17.7M 3s > 9050K .......... .......... .......... .......... .......... 70% 320K 3s > 9100K .......... .......... .......... .......... .......... 70% 16.8M 3s > 9150K .......... .......... .......... .......... .......... 71% 4.23M 3s > 9200K .......... .......... .......... .......... .......... 71% 671K 3s > 9250K .......... .......... .......... .......... .......... 71% 398K 3s > 9300K .......... .......... .......... .......... .......... 72% 4.12M 3s > 9350K .......... .......... .......... .......... .......... 72% 1.10M 3s > 9400K .......... .......... .......... .......... .......... 72% 1.56M 3s > 9450K .......... .......... .......... .......... .......... 73% 426K 3s > 9500K .......... .......... .......... .......... .......... 73% 6.17M 3s > 9550K .......... .......... .......... .......... .......... 74% 1020K 3s > 9600K .......... .......... .......... .......... .......... 74% 1.28M 3s > 9650K .......... .......... .......... .......... .......... 74% 402K 3s > 9700K .......... .......... .......... .......... .......... 75% 1008K 3s > 9750K .......... .......... .......... .......... .......... 75% 1.31M 3s > 9800K .......... .......... .......... .......... .......... 76% 415K 3s > 9850K .......... .......... .......... .......... .......... 76% 4.10M 3s > 9900K .......... .......... .......... .......... .......... 76% 1.10M 3s > 9950K .......... .......... .......... .......... .......... 77% 30.5M 2s > 10000K .......... .......... .......... .......... .......... 77% 315K 2s > 10050K .......... .......... .......... .......... .......... 77% 971K 2s > 10100K .......... .......... .......... .......... .......... 78% 25.1M 2s > 10150K .......... .......... .......... .......... .......... 78% 330K 2s > 10200K .......... .......... .......... .......... .......... 79% 881K 2s > 10250K .......... .......... .......... .......... .......... 79% 12.9M 2s > 10300K .......... .......... .......... .......... .......... 79% 1.40M 2s > 10350K .......... .......... .......... .......... .......... 80% 382K 2s > 10400K .......... .......... .......... .......... .......... 80% 1.06M 2s > 10450K .......... .......... .......... .......... .......... 81% 1.39M 2s > 10500K .......... .......... .......... .......... .......... 81% 383K 2s > 10550K .......... .......... .......... .......... .......... 81% 1.07M 2s > 10600K .......... .......... .......... .......... .......... 82% 1.39M 2s > 10650K .......... .......... .......... .......... .......... 82% 379K 2s > 10700K .......... .......... .......... .......... .......... 82% 1.00M 2s > 10750K .......... .......... .......... .......... .......... 83% 1.51M 2s > 10800K .......... .......... .......... .......... .......... 83% 289K 2s > 10850K .......... .......... .......... .......... .......... 84% 1.27M 2s > 10900K .......... .......... .......... .......... .......... 84% 402K 2s > 10950K .......... .......... .......... .......... .......... 84% 895K 2s > 11000K .......... .......... .......... .......... .......... 85% 1.47M 2s > 11050K .......... .......... .......... .......... .......... 85% 405K 2s > 11100K .......... .......... .......... .......... .......... 86% 975K 2s > 11150K .......... .......... .......... .......... .......... 86% 1.29M 2s > 11200K .......... .......... .......... .......... .......... 86% 287K 2s > 11250K .......... .......... .......... .......... .......... 87% 32.0M 2s > 11300K .......... .......... .......... .......... .......... 87% 1.37M 1s > 11350K .......... .......... .......... .......... .......... 87% 400K 1s > 11400K .......... .......... .......... .......... .......... 88% 980K 1s > 11450K .......... .......... .......... .......... .......... 88% 1.38M 1s > 11500K .......... .......... .......... .......... .......... 89% 400K 1s > 11550K .......... .......... .......... .......... .......... 89% 965K 1s > 11600K .......... .......... .......... .......... .......... 89% 312K 1s > 11650K .......... .......... .......... .......... .......... 90% 38.0M 1s > 11700K .......... .......... .......... .......... .......... 90% 989K 1s > 11750K .......... .......... .......... .......... .......... 91% 1.36M 1s > 11800K .......... .......... .......... .......... .......... 91% 399K 1s > 11850K .......... .......... .......... .......... .......... 91% 1.12M 1s > 11900K .......... .......... .......... .......... .......... 92% 1.14M 1s > 11950K .......... .......... .......... .......... .......... 92% 395K 1s > 12000K .......... .......... .......... .......... .......... 92% 586K 1s > 12050K .......... .......... .......... .......... .......... 93% 606K 1s > 12100K .......... .......... .......... .......... .......... 93% 1.12M 1s > 12150K .......... .......... .......... .......... .......... 94% 977K 1s > 12200K .......... .......... .......... .......... .......... 94% 425K 1s > 12250K .......... .......... .......... .......... .......... 94% 538K 1s > 12300K .......... .......... .......... .......... .......... 95% 420K 1s > 12350K .......... .......... .......... .......... .......... 95% 529K 1s > 12400K .......... .......... .......... .......... .......... 96% 309K 0s > 12450K .......... .......... .......... .......... .......... 96% 299K 0s > 12500K .......... .......... .......... .......... .......... 96% 530K 0s > 12550K .......... .......... .......... .......... .......... 97% 1.33M 0s > 12600K .......... .......... .......... .......... .......... 97% 286K 0s > 12650K .......... .......... .......... .......... .......... 98% 423K 0s > 12700K .......... .......... .......... .......... .......... 98% 384K 0s > 12750K .......... .......... .......... .......... .......... 98% 32.1M 0s > 12800K .......... .......... .......... .......... .......... 99% 237K 0s > 12850K .......... .......... .......... .......... .......... 99% 398K 0s > 12900K .......... .......... .......... .......... .......... 99% 991K 0s > 12950K ....... 100% 91.4M=13s > >2018-07-31 13:21:15 (980 KB/s) - âcirros-0.3.5-x86_64-disk.imgâ saved [13267968/13267968] > >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-31T17:22:11Z | >| disk_format | qcow2 | >| file | /v2/images/10c6cd00-0be1-4614-afa7-b3fe435159c9/file | >| id | 10c6cd00-0be1-4614-afa7-b3fe435159c9 | >| min_disk | 0 | >| min_ram | 0 | >| name | cirros35 | >| owner | dba288c4e9844c25a2418096895af971 | >| properties | direct_url='swift+config://ref1/glance/10c6cd00-0be1-4614-afa7-b3fe435159c9' | >| protected | False | >| schema | /v2/schemas/image | >| size | 13267968 | >| status | active | >| tags | | >| updated_at | 2018-07-31T17:22:13Z | >| 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 | c80edab8-1afb-4220-bba1-ebbba55af597 | >| 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 | None | >| availability_zones | None | >| created_at | 2018-07-31T17:22:19Z | >| description | | >| distributed | False | >| external_gateway_info | None | >| flavor_id | None | >| ha | False | >| id | bb10a1b1-5ae3-4171-ad82-9df70edbe15c | >| name | Router_eNet | >| project_id | dba288c4e9844c25a2418096895af971 | >| revision_number | 0 | >| routes | | >| status | ACTIVE | >| tags | | >| updated_at | 2018-07-31T17:22:19Z | >+-------------------------+--------------------------------------+ >router_id=$(openstack router list | grep -m 1 Router_eNet | cut -d " " -f 2) >for i in `seq 1 $net_num` > >* 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-31T17:22:25Z | >| description | | >| dns_domain | None | >| id | 6c647d46-385e-41f4-b436-8e191f971026 | >| ipv4_address_scope | None | >| ipv6_address_scope | None | >| is_default | False | >| is_vlan_transparent | None | >| mtu | 1450 | >| name | net_ipv64_1 | >| port_security_enabled | True | >| project_id | dba288c4e9844c25a2418096895af971 | >| provider:network_type | vxlan | >| provider:physical_network | None | >| provider:segmentation_id | 28 | >| qos_policy_id | None | >| revision_number | 2 | >| router:external | Internal | >| segments | None | >| shared | False | >| status | ACTIVE | >| subnets | | >| tags | | >| updated_at | 2018-07-31T17:22:25Z | >+---------------------------+--------------------------------------+ > >* 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-31T17:22:30Z | >| description | | >| dns_nameservers | | >| enable_dhcp | True | >| gateway_ip | 10.0.1.1 | >| host_routes | | >| id | 9a2de101-a9d1-42a9-9c5c-6bc40f190695 | >| ip_version | 4 | >| ipv6_address_mode | None | >| ipv6_ra_mode | None | >| name | subnet_ipv4_1 | >| network_id | 6c647d46-385e-41f4-b436-8e191f971026 | >| project_id | dba288c4e9844c25a2418096895af971 | >| revision_number | 0 | >| segment_id | None | >| service_types | | >| subnetpool_id | None | >| tags | | >| updated_at | 2018-07-31T17:22:30Z | >+-------------------+--------------------------------------+ > >* 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-31T17:22:35Z | >| description | | >| dns_nameservers | | >| enable_dhcp | True | >| gateway_ip | 2001::1 | >| host_routes | | >| id | 25d9adcd-53e0-493b-8f6d-ea8f733c1153 | >| ip_version | 6 | >| ipv6_address_mode | slaac | >| ipv6_ra_mode | slaac | >| name | subnet_ipv6_1 | >| network_id | 6c647d46-385e-41f4-b436-8e191f971026 | >| project_id | dba288c4e9844c25a2418096895af971 | >| revision_number | 0 | >| segment_id | None | >| service_types | | >| subnetpool_id | None | >| tags | | >| updated_at | 2018-07-31T17:22:35Z | >+-------------------+--------------------------------------+ > >* 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 >for i in `seq 1 $net_num` > >* 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-31T17:22:54Z | >| description | | >| dns_domain | None | >| id | 099b75d4-21c0-43f3-b38d-4c8f2c4a3a93 | >| ipv4_address_scope | None | >| ipv6_address_scope | None | >| is_default | False | >| is_vlan_transparent | None | >| mtu | 1450 | >| name | net_ipv64_2 | >| port_security_enabled | True | >| project_id | dba288c4e9844c25a2418096895af971 | >| provider:network_type | vxlan | >| provider:physical_network | None | >| provider:segmentation_id | 34 | >| qos_policy_id | None | >| revision_number | 2 | >| router:external | Internal | >| segments | None | >| shared | False | >| status | ACTIVE | >| subnets | | >| tags | | >| updated_at | 2018-07-31T17:22:54Z | >+---------------------------+--------------------------------------+ > >* 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-31T17:22:59Z | >| description | | >| dns_nameservers | | >| enable_dhcp | True | >| gateway_ip | 10.0.2.1 | >| host_routes | | >| id | 08a2faf5-cd74-4b61-9c3d-de1dc7164855 | >| ip_version | 4 | >| ipv6_address_mode | None | >| ipv6_ra_mode | None | >| name | subnet_ipv4_2 | >| network_id | 099b75d4-21c0-43f3-b38d-4c8f2c4a3a93 | >| project_id | dba288c4e9844c25a2418096895af971 | >| revision_number | 0 | >| segment_id | None | >| service_types | | >| subnetpool_id | None | >| tags | | >| updated_at | 2018-07-31T17:22:59Z | >+-------------------+--------------------------------------+ > >* 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-31T17:23:04Z | >| description | | >| dns_nameservers | | >| enable_dhcp | True | >| gateway_ip | 2002::1 | >| host_routes | | >| id | ff44e9ee-8e63-448a-ac6d-adcb142bcec3 | >| ip_version | 6 | >| ipv6_address_mode | slaac | >| ipv6_ra_mode | slaac | >| name | subnet_ipv6_2 | >| network_id | 099b75d4-21c0-43f3-b38d-4c8f2c4a3a93 | >| project_id | dba288c4e9844c25a2418096895af971 | >| revision_number | 0 | >| segment_id | None | >| service_types | | >| subnetpool_id | None | >| tags | | >| updated_at | 2018-07-31T17:23:04Z | >+-------------------+--------------------------------------+ > >* 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" >[[ $osp_version > 10 ]] >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-31T17:23:36Z | >| description | | >| direction | ingress | >| ether_type | IPv4 | >| id | 1b2c0aa1-b377-45ab-87ca-a55d3057dfed | >| name | None | >| port_range_max | 80 | >| port_range_min | 80 | >| project_id | dba288c4e9844c25a2418096895af971 | >| protocol | tcp | >| remote_group_id | None | >| remote_ip_prefix | 0.0.0.0/0 | >| revision_number | 0 | >| security_group_id | 8f153b12-957a-4651-a351-aef21bcb77af | >| updated_at | 2018-07-31T17:23:36Z | >+-------------------+--------------------------------------+ >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-31T17:23:40Z | >| description | | >| direction | ingress | >| ether_type | IPv4 | >| id | 345e2f66-424b-40f3-8c6a-e1ec4c2a5841 | >| name | None | >| port_range_max | 22 | >| port_range_min | 22 | >| project_id | dba288c4e9844c25a2418096895af971 | >| protocol | tcp | >| remote_group_id | None | >| remote_ip_prefix | 0.0.0.0/0 | >| revision_number | 0 | >| security_group_id | 8f153b12-957a-4651-a351-aef21bcb77af | >| updated_at | 2018-07-31T17:23:40Z | >+-------------------+--------------------------------------+ >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-31T17:23:43Z | >| description | | >| direction | ingress | >| ether_type | IPv4 | >| id | 0c384127-a391-407e-a8a7-ee58f0d7fee4 | >| name | None | >| port_range_max | 443 | >| port_range_min | 443 | >| project_id | dba288c4e9844c25a2418096895af971 | >| protocol | tcp | >| remote_group_id | None | >| remote_ip_prefix | 0.0.0.0/0 | >| revision_number | 0 | >| security_group_id | 8f153b12-957a-4651-a351-aef21bcb77af | >| updated_at | 2018-07-31T17:23:43Z | >+-------------------+--------------------------------------+ >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-31T17:23:47Z | >| description | | >| direction | ingress | >| ether_type | IPv4 | >| id | b375c050-7b30-43b7-b649-c28ef5810097 | >| name | None | >| port_range_max | None | >| port_range_min | None | >| project_id | dba288c4e9844c25a2418096895af971 | >| protocol | icmp | >| remote_group_id | None | >| remote_ip_prefix | 0.0.0.0/0 | >| revision_number | 0 | >| security_group_id | 8f153b12-957a-4651-a351-aef21bcb77af | >| updated_at | 2018-07-31T17:23:47Z | >+-------------------+--------------------------------------+ >openstack security group rule list >+--------------------------------------+-------------+-----------+------------+--------------------------------------+--------------------------------------+ >| ID | IP Protocol | IP Range | Port Range | Remote Security Group | Security Group | >+--------------------------------------+-------------+-----------+------------+--------------------------------------+--------------------------------------+ >| 0c384127-a391-407e-a8a7-ee58f0d7fee4 | tcp | 0.0.0.0/0 | 443:443 | None | 8f153b12-957a-4651-a351-aef21bcb77af | >| 1b2c0aa1-b377-45ab-87ca-a55d3057dfed | tcp | 0.0.0.0/0 | 80:80 | None | 8f153b12-957a-4651-a351-aef21bcb77af | >| 229ba818-f66e-42c3-ae48-f81d03276eab | None | None | | 2d41576e-09de-45df-98a5-8d57dffb246d | 2d41576e-09de-45df-98a5-8d57dffb246d | >| 30967a5f-ccbd-4901-ab8e-20d8b95090c8 | None | None | | None | 8f153b12-957a-4651-a351-aef21bcb77af | >| 3215ff77-4fc9-4f22-8b05-f601590be607 | None | None | | 0dc882b3-2e5a-488a-abec-ed65f475e991 | 0dc882b3-2e5a-488a-abec-ed65f475e991 | >| 322b6016-824b-46b7-a909-024f6184f666 | None | None | | 0dc882b3-2e5a-488a-abec-ed65f475e991 | 0dc882b3-2e5a-488a-abec-ed65f475e991 | >| 345e2f66-424b-40f3-8c6a-e1ec4c2a5841 | tcp | 0.0.0.0/0 | 22:22 | None | 8f153b12-957a-4651-a351-aef21bcb77af | >| 6d358bd9-cc28-4179-bd40-963856a5f646 | None | None | | None | 8f153b12-957a-4651-a351-aef21bcb77af | >| 72cca9c8-eae2-4104-8971-9d54be6aa3f8 | None | None | | None | 41f40781-075b-48e9-980e-f99a77cddf7e | >| 9f1a0915-4a87-43e4-b359-0e753599be6e | None | None | | 2d41576e-09de-45df-98a5-8d57dffb246d | 2d41576e-09de-45df-98a5-8d57dffb246d | >| a8c898c5-7e1c-4e2f-94d6-656ac4525259 | None | None | | None | 0dc882b3-2e5a-488a-abec-ed65f475e991 | >| b375c050-7b30-43b7-b649-c28ef5810097 | icmp | 0.0.0.0/0 | | None | 8f153b12-957a-4651-a351-aef21bcb77af | >| be101b75-5994-4320-a57f-991686e86da3 | None | None | | None | 2d41576e-09de-45df-98a5-8d57dffb246d | >| dafb92de-2d81-49f9-ad5e-cd35d33ae054 | None | None | | None | 41f40781-075b-48e9-980e-f99a77cddf7e | >| ef4c2ec9-57fa-4b68-89e9-8e10375fa761 | None | None | | None | 0dc882b3-2e5a-488a-abec-ed65f475e991 | >| f2770de3-734e-4129-8cd7-a05fb0fa8ce2 | None | None | | None | 2d41576e-09de-45df-98a5-8d57dffb246d | >+--------------------------------------+-------------+-----------+------------+--------------------------------------+--------------------------------------+ > >* Creating openstack key pair to easily login into VMs: >openstack keypair list >grep my_rsa-key >| my_rsa-key | f5:63:1d:d8:da:17:32:36:53:fb:a5:da:2e:9b:f3:18 | >chmod 400 my_key.pem >openstack keypair list >+------------+-------------------------------------------------+ >| Name | Fingerprint | >+------------+-------------------------------------------------+ >| my_rsa-key | f5:63:1d:d8:da:17:32:36:53:fb:a5:da:2e:9b:f3:18 | >+------------+-------------------------------------------------+ >[[ $topology = N ]] >[[ $topology = M ]] > >* For each Network - creating 2 VM instances: >for n in `seq 1 $net_num` >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_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 | VvSqPg3HAvJb | >| config_drive | | >| created | 2018-07-31T17:24:16Z | >| flavor | cirros_flavor (c80edab8-1afb-4220-bba1-ebbba55af597) | >| hostId | | >| id | 01673dfd-7811-4727-8e9c-df55b37db485 | >| image | cirros35 (10c6cd00-0be1-4614-afa7-b3fe435159c9) | >| key_name | my_rsa-key | >| name | VM_cirros35_11 | >| progress | 0 | >| project_id | dba288c4e9844c25a2418096895af971 | >| properties | | >| security_groups | name='8f153b12-957a-4651-a351-aef21bcb77af' | >| status | BUILD | >| updated | 2018-07-31T17:24:16Z | >| user_id | 8577ac7c2d934bbbbb89605d2a008e5e | >| 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 | dba288c4e9844c25a2418096895af971 | >| properties | | >| security_groups | name='sec_group' | >| status | ACTIVE | > >* Adding floating ip 10.0.0.211 to VM_cirros35_11, 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_11_10.0.0.211" >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 | compute-1.localdomain | >| binding_profile | | >| binding_vif_details | | >| binding_vif_type | ovs | >| binding_vnic_type | normal | >| created_at | 2018-07-31T17:24:20Z | >| data_plane_status | None | >| description | | >| device_id | 01673dfd-7811-4727-8e9c-df55b37db485 | >| device_owner | compute:nova | >| dns_assignment | None | >| dns_name | None | >| extra_dhcp_opts | | >| fixed_ips | ip_address='10.0.1.7', subnet_id='9a2de101-a9d1-42a9-9c5c-6bc40f190695' | >| | ip_address='2001::f816:3eff:feca:6881', subnet_id='25d9adcd-53e0-493b-8f6d-ea8f733c1153' | >| id | cd16e313-02f2-4ea8-a624-a5cf047d8235 | >| ip_address | None | >| mac_address | fa:16:3e:ca:68:81 | >| name | VM_cirros35_11_10.0.0.211 | >| network_id | 6c647d46-385e-41f4-b436-8e191f971026 | >| option_name | None | >| option_value | None | >| port_security_enabled | True | >| project_id | dba288c4e9844c25a2418096895af971 | >| qos_policy_id | None | >| revision_number | 13 | >| security_group_ids | 8f153b12-957a-4651-a351-aef21bcb77af | >| status | ACTIVE | >| subnet_id | None | >| tags | | >| trunk_details | None | >| updated_at | 2018-07-31T17:25:07Z | >+-----------------------+------------------------------------------------------------------------------------------+ > >* Waiting for Port status to be ACTIVE on VM_cirros35_11, with internal IP address 2001::f816:3eff:feca:6881: >openstack port show $port_id >grep -E 'ACTIVE' -B 14 >| fixed_ips | ip_address='10.0.1.7', subnet_id='9a2de101-a9d1-42a9-9c5c-6bc40f190695' | >| | ip_address='2001::f816:3eff:feca:6881', subnet_id='25d9adcd-53e0-493b-8f6d-ea8f733c1153' | >| id | cd16e313-02f2-4ea8-a624-a5cf047d8235 | >| ip_address | None | >| mac_address | fa:16:3e:ca:68:81 | >| name | VM_cirros35_11_10.0.0.211 | >| network_id | 6c647d46-385e-41f4-b436-8e191f971026 | >| option_name | None | >| option_value | None | >| port_security_enabled | True | >| project_id | dba288c4e9844c25a2418096895af971 | >| qos_policy_id | None | >| revision_number | 13 | >| security_group_ids | 8f153b12-957a-4651-a351-aef21bcb77af | >| status | ACTIVE | >ping -w 30 -c 5 ${fip:-NO_FIP} >PING 10.0.0.211 (10.0.0.211) 56(84) bytes of data. >64 bytes from 10.0.0.211: icmp_seq=2 ttl=64 time=1.43 ms >64 bytes from 10.0.0.211: icmp_seq=3 ttl=64 time=0.833 ms >64 bytes from 10.0.0.211: icmp_seq=4 ttl=64 time=0.632 ms >64 bytes from 10.0.0.211: icmp_seq=5 ttl=64 time=0.786 ms >64 bytes from 10.0.0.211: icmp_seq=6 ttl=64 time=0.602 ms > >--- 10.0.0.211 ping statistics --- >6 packets transmitted, 5 received, 16% packet loss, time 5001ms >rtt min/avg/max/mdev = 0.602/0.858/1.437/0.302 ms >curl $fip:80 > % Total % Received % Xferd Average Speed Time Time Time Current > Dload Upload Total Spent Left Speed > 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed connect to 10.0.0.211:80; Connection refused > >* Generate ssh key to access VM_cirros35_11 on 10.0.0.211, and checking ssh uptime: >ssh-keygen -f ~/.ssh/known_hosts -R $fip >Host 10.0.0.211 not found in /home/stack/.ssh/known_hosts >ssh -i my_key.pem -o "StrictHostKeyChecking no" ${ssh_user}@${fip} uptime >Warning: Permanently added '10.0.0.211' (RSA) to the list of known hosts. > 18:25:18 up 0 min, 0 users, load average: 0.14, 0.04, 0.01 >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_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 | 55u9EpWKpZsq | >| config_drive | | >| created | 2018-07-31T17:25:36Z | >| flavor | cirros_flavor (c80edab8-1afb-4220-bba1-ebbba55af597) | >| hostId | | >| id | abfab2ab-5382-49dc-8335-2a5fd3e2f7f7 | >| image | cirros35 (10c6cd00-0be1-4614-afa7-b3fe435159c9) | >| key_name | my_rsa-key | >| name | VM_cirros35_12 | >| progress | 0 | >| project_id | dba288c4e9844c25a2418096895af971 | >| properties | | >| security_groups | name='8f153b12-957a-4651-a351-aef21bcb77af' | >| status | BUILD | >| updated | 2018-07-31T17:25:36Z | >| user_id | 8577ac7c2d934bbbbb89605d2a008e5e | >| 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 | dba288c4e9844c25a2418096895af971 | >| properties | | >| security_groups | name='sec_group' | >| status | ACTIVE | > >* Adding floating ip 10.0.0.219 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.0.0.219" >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 | compute-0.localdomain | >| binding_profile | | >| binding_vif_details | | >| binding_vif_type | ovs | >| binding_vnic_type | normal | >| created_at | 2018-07-31T17:25:40Z | >| data_plane_status | None | >| description | | >| device_id | abfab2ab-5382-49dc-8335-2a5fd3e2f7f7 | >| device_owner | compute:nova | >| dns_assignment | None | >| dns_name | None | >| extra_dhcp_opts | | >| fixed_ips | ip_address='10.0.1.15', subnet_id='9a2de101-a9d1-42a9-9c5c-6bc40f190695' | >| | ip_address='2001::f816:3eff:fe81:ba43', subnet_id='25d9adcd-53e0-493b-8f6d-ea8f733c1153' | >| id | e2e5131d-9d8b-40aa-8ada-9f2aa174179c | >| ip_address | None | >| mac_address | fa:16:3e:81:ba:43 | >| name | VM_cirros35_12_10.0.0.219 | >| network_id | 6c647d46-385e-41f4-b436-8e191f971026 | >| option_name | None | >| option_value | None | >| port_security_enabled | True | >| project_id | dba288c4e9844c25a2418096895af971 | >| qos_policy_id | None | >| revision_number | 13 | >| security_group_ids | 8f153b12-957a-4651-a351-aef21bcb77af | >| status | ACTIVE | >| subnet_id | None | >| tags | | >| trunk_details | None | >| updated_at | 2018-07-31T17:26:24Z | >+-----------------------+------------------------------------------------------------------------------------------+ > >* Waiting for Port status to be ACTIVE on VM_cirros35_12, with internal IP address 2001::f816:3eff:fe81:ba43: >openstack port show $port_id >grep -E 'ACTIVE' -B 14 >| fixed_ips | ip_address='10.0.1.15', subnet_id='9a2de101-a9d1-42a9-9c5c-6bc40f190695' | >| | ip_address='2001::f816:3eff:fe81:ba43', subnet_id='25d9adcd-53e0-493b-8f6d-ea8f733c1153' | >| id | e2e5131d-9d8b-40aa-8ada-9f2aa174179c | >| ip_address | None | >| mac_address | fa:16:3e:81:ba:43 | >| name | VM_cirros35_12_10.0.0.219 | >| network_id | 6c647d46-385e-41f4-b436-8e191f971026 | >| option_name | None | >| option_value | None | >| port_security_enabled | True | >| project_id | dba288c4e9844c25a2418096895af971 | >| qos_policy_id | None | >| revision_number | 13 | >| security_group_ids | 8f153b12-957a-4651-a351-aef21bcb77af | >| status | ACTIVE | >ping -w 30 -c 5 ${fip:-NO_FIP} >PING 10.0.0.219 (10.0.0.219) 56(84) bytes of data. >64 bytes from 10.0.0.219: icmp_seq=1 ttl=64 time=1.25 ms >64 bytes from 10.0.0.219: icmp_seq=2 ttl=64 time=0.821 ms >64 bytes from 10.0.0.219: icmp_seq=3 ttl=64 time=0.546 ms >64 bytes from 10.0.0.219: icmp_seq=4 ttl=64 time=0.683 ms >64 bytes from 10.0.0.219: icmp_seq=5 ttl=64 time=0.808 ms > >--- 10.0.0.219 ping statistics --- >5 packets transmitted, 5 received, 0% packet loss, time 4002ms >rtt min/avg/max/mdev = 0.546/0.821/1.250/0.238 ms >curl $fip:80 > % Total % Received % Xferd Average Speed Time Time Time Current > Dload Upload Total Spent Left Speed > 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed connect to 10.0.0.219:80; Connection refused > >* Generate ssh key to access VM_cirros35_12 on 10.0.0.219, and checking ssh uptime: >ssh-keygen -f ~/.ssh/known_hosts -R $fip >Host 10.0.0.219 not found in /home/stack/.ssh/known_hosts >ssh -i my_key.pem -o "StrictHostKeyChecking no" ${ssh_user}@${fip} uptime >Warning: Permanently added '10.0.0.219' (RSA) to the list of known hosts. > 18:26:34 up 0 min, 0 users, load average: 0.10, 0.03, 0.01 >for n in `seq 1 $net_num` >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_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 | WTYHvS78R4tr | >| config_drive | | >| created | 2018-07-31T17:26:54Z | >| flavor | cirros_flavor (c80edab8-1afb-4220-bba1-ebbba55af597) | >| hostId | | >| id | 307faa93-bbfc-4ee8-adb1-b15d9f956f19 | >| image | cirros35 (10c6cd00-0be1-4614-afa7-b3fe435159c9) | >| key_name | my_rsa-key | >| name | VM_cirros35_21 | >| progress | 0 | >| project_id | dba288c4e9844c25a2418096895af971 | >| properties | | >| security_groups | name='8f153b12-957a-4651-a351-aef21bcb77af' | >| status | BUILD | >| updated | 2018-07-31T17:26:54Z | >| user_id | 8577ac7c2d934bbbbb89605d2a008e5e | >| 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 | dba288c4e9844c25a2418096895af971 | >| properties | | >| security_groups | name='sec_group' | >| status | ACTIVE | > >* Adding floating ip 10.0.0.214 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.0.0.214" >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 | compute-1.localdomain | >| binding_profile | | >| binding_vif_details | | >| binding_vif_type | ovs | >| binding_vnic_type | normal | >| created_at | 2018-07-31T17:26:58Z | >| data_plane_status | None | >| description | | >| device_id | 307faa93-bbfc-4ee8-adb1-b15d9f956f19 | >| device_owner | compute:nova | >| dns_assignment | None | >| dns_name | None | >| extra_dhcp_opts | | >| fixed_ips | ip_address='10.0.2.14', subnet_id='08a2faf5-cd74-4b61-9c3d-de1dc7164855' | >| | ip_address='2002::f816:3eff:fe4f:ed96', subnet_id='ff44e9ee-8e63-448a-ac6d-adcb142bcec3' | >| id | c9de3058-abf6-4c69-89bd-159f4e321769 | >| ip_address | None | >| mac_address | fa:16:3e:4f:ed:96 | >| name | VM_cirros35_21_10.0.0.214 | >| network_id | 099b75d4-21c0-43f3-b38d-4c8f2c4a3a93 | >| option_name | None | >| option_value | None | >| port_security_enabled | True | >| project_id | dba288c4e9844c25a2418096895af971 | >| qos_policy_id | None | >| revision_number | 13 | >| security_group_ids | 8f153b12-957a-4651-a351-aef21bcb77af | >| status | ACTIVE | >| subnet_id | None | >| tags | | >| trunk_details | None | >| updated_at | 2018-07-31T17:27:42Z | >+-----------------------+------------------------------------------------------------------------------------------+ > >* Waiting for Port status to be ACTIVE on VM_cirros35_21, with internal IP address 10.0.2.14: >openstack port show $port_id >grep -E 'ACTIVE' -B 14 >| fixed_ips | ip_address='10.0.2.14', subnet_id='08a2faf5-cd74-4b61-9c3d-de1dc7164855' | >| | ip_address='2002::f816:3eff:fe4f:ed96', subnet_id='ff44e9ee-8e63-448a-ac6d-adcb142bcec3' | >| id | c9de3058-abf6-4c69-89bd-159f4e321769 | >| ip_address | None | >| mac_address | fa:16:3e:4f:ed:96 | >| name | VM_cirros35_21_10.0.0.214 | >| network_id | 099b75d4-21c0-43f3-b38d-4c8f2c4a3a93 | >| option_name | None | >| option_value | None | >| port_security_enabled | True | >| project_id | dba288c4e9844c25a2418096895af971 | >| qos_policy_id | None | >| revision_number | 13 | >| security_group_ids | 8f153b12-957a-4651-a351-aef21bcb77af | >| status | ACTIVE | >ping -w 30 -c 5 ${fip:-NO_FIP} >PING 10.0.0.214 (10.0.0.214) 56(84) bytes of data. >64 bytes from 10.0.0.214: icmp_seq=1 ttl=64 time=1.66 ms >64 bytes from 10.0.0.214: icmp_seq=2 ttl=64 time=1.07 ms >64 bytes from 10.0.0.214: icmp_seq=3 ttl=64 time=0.941 ms >64 bytes from 10.0.0.214: icmp_seq=4 ttl=64 time=0.765 ms >64 bytes from 10.0.0.214: icmp_seq=5 ttl=64 time=0.891 ms > >--- 10.0.0.214 ping statistics --- >5 packets transmitted, 5 received, 0% packet loss, time 4003ms >rtt min/avg/max/mdev = 0.765/1.068/1.667/0.315 ms >curl $fip:80 > % Total % Received % Xferd Average Speed Time Time Time Current > Dload Upload Total Spent Left Speed > 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed connect to 10.0.0.214:80; Connection refused > >* Generate ssh key to access VM_cirros35_21 on 10.0.0.214, and checking ssh uptime: >ssh-keygen -f ~/.ssh/known_hosts -R $fip >Host 10.0.0.214 not found in /home/stack/.ssh/known_hosts >ssh -i my_key.pem -o "StrictHostKeyChecking no" ${ssh_user}@${fip} uptime >Warning: Permanently added '10.0.0.214' (RSA) to the list of known hosts. > 18:27:53 up 0 min, 0 users, load average: 0.09, 0.03, 0.01 >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 | b4Zqh3KgHNax | >| config_drive | | >| created | 2018-07-31T17:28:10Z | >| flavor | cirros_flavor (c80edab8-1afb-4220-bba1-ebbba55af597) | >| hostId | | >| id | 159dc148-c853-41e7-9450-d929b439b99c | >| image | cirros35 (10c6cd00-0be1-4614-afa7-b3fe435159c9) | >| key_name | my_rsa-key | >| name | VM_cirros35_22 | >| progress | 0 | >| project_id | dba288c4e9844c25a2418096895af971 | >| properties | | >| security_groups | name='8f153b12-957a-4651-a351-aef21bcb77af' | >| status | BUILD | >| updated | 2018-07-31T17:28:10Z | >| user_id | 8577ac7c2d934bbbbb89605d2a008e5e | >| 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 | dba288c4e9844c25a2418096895af971 | >| properties | | >| security_groups | name='sec_group' | >| status | ACTIVE | > >* Adding floating ip 10.0.0.220 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.0.0.220" >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 | compute-0.localdomain | >| binding_profile | | >| binding_vif_details | | >| binding_vif_type | ovs | >| binding_vnic_type | normal | >| created_at | 2018-07-31T17:28:13Z | >| data_plane_status | None | >| description | | >| device_id | 159dc148-c853-41e7-9450-d929b439b99c | >| device_owner | compute:nova | >| dns_assignment | None | >| dns_name | None | >| extra_dhcp_opts | | >| fixed_ips | ip_address='10.0.2.11', subnet_id='08a2faf5-cd74-4b61-9c3d-de1dc7164855' | >| | ip_address='2002::f816:3eff:fe95:5158', subnet_id='ff44e9ee-8e63-448a-ac6d-adcb142bcec3' | >| id | 1b47b027-a6fa-4f53-bd49-f14bf5e509f4 | >| ip_address | None | >| mac_address | fa:16:3e:95:51:58 | >| name | VM_cirros35_22_10.0.0.220 | >| network_id | 099b75d4-21c0-43f3-b38d-4c8f2c4a3a93 | >| option_name | None | >| option_value | None | >| port_security_enabled | True | >| project_id | dba288c4e9844c25a2418096895af971 | >| qos_policy_id | None | >| revision_number | 13 | >| security_group_ids | 8f153b12-957a-4651-a351-aef21bcb77af | >| status | ACTIVE | >| subnet_id | None | >| tags | | >| trunk_details | None | >| updated_at | 2018-07-31T17:28:59Z | >+-----------------------+------------------------------------------------------------------------------------------+ > >* Waiting for Port status to be ACTIVE on VM_cirros35_22, with internal IP address 10.0.2.11: >openstack port show $port_id >grep -E 'ACTIVE' -B 14 >| fixed_ips | ip_address='10.0.2.11', subnet_id='08a2faf5-cd74-4b61-9c3d-de1dc7164855' | >| | ip_address='2002::f816:3eff:fe95:5158', subnet_id='ff44e9ee-8e63-448a-ac6d-adcb142bcec3' | >| id | 1b47b027-a6fa-4f53-bd49-f14bf5e509f4 | >| ip_address | None | >| mac_address | fa:16:3e:95:51:58 | >| name | VM_cirros35_22_10.0.0.220 | >| network_id | 099b75d4-21c0-43f3-b38d-4c8f2c4a3a93 | >| option_name | None | >| option_value | None | >| port_security_enabled | True | >| project_id | dba288c4e9844c25a2418096895af971 | >| qos_policy_id | None | >| revision_number | 13 | >| security_group_ids | 8f153b12-957a-4651-a351-aef21bcb77af | >| status | ACTIVE | >ping -w 30 -c 5 ${fip:-NO_FIP} >PING 10.0.0.220 (10.0.0.220) 56(84) bytes of data. >64 bytes from 10.0.0.220: icmp_seq=1 ttl=64 time=1.40 ms >64 bytes from 10.0.0.220: icmp_seq=2 ttl=64 time=1.21 ms >64 bytes from 10.0.0.220: icmp_seq=3 ttl=64 time=0.604 ms >64 bytes from 10.0.0.220: icmp_seq=4 ttl=64 time=0.972 ms >64 bytes from 10.0.0.220: icmp_seq=5 ttl=64 time=0.578 ms > >--- 10.0.0.220 ping statistics --- >5 packets transmitted, 5 received, 0% packet loss, time 4004ms >rtt min/avg/max/mdev = 0.578/0.954/1.403/0.328 ms >curl $fip:80 > % Total % Received % Xferd Average Speed Time Time Time Current > Dload Upload Total Spent Left Speed > 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed connect to 10.0.0.220:80; Connection refused > >* Generate ssh key to access VM_cirros35_22 on 10.0.0.220, and checking ssh uptime: >ssh-keygen -f ~/.ssh/known_hosts -R $fip ># Host 10.0.0.220 found: line 2 >/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 >Warning: Permanently added '10.0.0.220' (RSA) to the list of known hosts. > 18:29:09 up 0 min, 0 users, load average: 0.14, 0.04, 0.01 >openstack router list >+--------------------------------------+-------------+--------+-------+-------------+-------+----------------------------------+ >| ID | Name | Status | State | Distributed | HA | Project | >+--------------------------------------+-------------+--------+-------+-------------+-------+----------------------------------+ >| bb10a1b1-5ae3-4171-ad82-9df70edbe15c | Router_eNet | ACTIVE | UP | False | False | dba288c4e9844c25a2418096895af971 | >+--------------------------------------+-------------+--------+-------+-------------+-------+----------------------------------+ >openstack port list >+--------------------------------------+---------------------------+-------------------+------------------------------------------------------------------------------------------+--------+ >| ID | Name | MAC Address | Fixed IP Addresses | Status | >+--------------------------------------+---------------------------+-------------------+------------------------------------------------------------------------------------------+--------+ >| 04892b44-7acc-4261-81a7-c02ca76d15f2 | | fa:16:3e:46:17:e4 | ip_address='10.0.0.210', subnet_id='35158e57-d4c6-4cbd-bf28-159623cb54af' | DOWN | >| 11b3ae05-fb72-4bc0-abd2-f4602294f9ed | | fa:16:3e:53:89:63 | ip_address='10.0.0.219', subnet_id='35158e57-d4c6-4cbd-bf28-159623cb54af' | N/A | >| 17b36250-6440-4fbf-8400-52eea40fb014 | | fa:16:3e:e5:60:f0 | ip_address='10.0.0.211', subnet_id='35158e57-d4c6-4cbd-bf28-159623cb54af' | N/A | >| 18335890-634a-4378-b529-79ff9fb93c80 | | fa:16:3e:2c:04:5e | ip_address='10.0.2.4', subnet_id='08a2faf5-cd74-4b61-9c3d-de1dc7164855' | ACTIVE | >| | | | ip_address='2002::f816:3eff:fe2c:45e', subnet_id='ff44e9ee-8e63-448a-ac6d-adcb142bcec3' | | >| 1addf337-e279-4a8a-bde4-72f9edee4e0a | | fa:16:3e:a1:53:3a | ip_address='2002::1', subnet_id='ff44e9ee-8e63-448a-ac6d-adcb142bcec3' | DOWN | >| 1b47b027-a6fa-4f53-bd49-f14bf5e509f4 | VM_cirros35_22_10.0.0.220 | fa:16:3e:95:51:58 | ip_address='10.0.2.11', subnet_id='08a2faf5-cd74-4b61-9c3d-de1dc7164855' | ACTIVE | >| | | | ip_address='2002::f816:3eff:fe95:5158', subnet_id='ff44e9ee-8e63-448a-ac6d-adcb142bcec3' | | >| 28149dfb-ce8a-4d9a-b588-bac40bf2411e | | fa:16:3e:29:37:12 | ip_address='10.0.1.2', subnet_id='9a2de101-a9d1-42a9-9c5c-6bc40f190695' | ACTIVE | >| | | | ip_address='2001::f816:3eff:fe29:3712', subnet_id='25d9adcd-53e0-493b-8f6d-ea8f733c1153' | | >| 30be69ab-8e9d-49d3-9647-983363b30dd7 | | fa:16:3e:89:ff:9f | ip_address='10.0.1.4', subnet_id='9a2de101-a9d1-42a9-9c5c-6bc40f190695' | ACTIVE | >| | | | ip_address='2001::f816:3eff:fe89:ff9f', subnet_id='25d9adcd-53e0-493b-8f6d-ea8f733c1153' | | >| 4b45c2e5-9375-4dd5-ac6c-d758cd4d6bc5 | | fa:16:3e:48:12:3c | ip_address='10.0.0.220', subnet_id='35158e57-d4c6-4cbd-bf28-159623cb54af' | N/A | >| 512c2131-f0af-4718-881a-980569f74fb2 | | fa:16:3e:c4:3f:49 | ip_address='10.0.1.1', subnet_id='9a2de101-a9d1-42a9-9c5c-6bc40f190695' | DOWN | >| 7bdca3a2-76b5-418b-abda-acb919381378 | | fa:16:3e:6f:b6:6c | ip_address='10.0.1.3', subnet_id='9a2de101-a9d1-42a9-9c5c-6bc40f190695' | ACTIVE | >| | | | ip_address='2001::f816:3eff:fe6f:b66c', subnet_id='25d9adcd-53e0-493b-8f6d-ea8f733c1153' | | >| 8bac1679-b53a-4241-a502-87b5e27c8076 | | fa:16:3e:30:8b:33 | ip_address='10.0.2.3', subnet_id='08a2faf5-cd74-4b61-9c3d-de1dc7164855' | ACTIVE | >| | | | ip_address='2002::f816:3eff:fe30:8b33', subnet_id='ff44e9ee-8e63-448a-ac6d-adcb142bcec3' | | >| b0810be2-10bd-45ac-8526-914ad3eb7c85 | | fa:16:3e:ce:5a:d5 | ip_address='10.0.2.1', subnet_id='08a2faf5-cd74-4b61-9c3d-de1dc7164855' | DOWN | >| b5069e2c-ad86-49ed-a307-a4bcddac494e | | fa:16:3e:2e:43:c4 | ip_address='10.0.2.2', subnet_id='08a2faf5-cd74-4b61-9c3d-de1dc7164855' | ACTIVE | >| | | | ip_address='2002::f816:3eff:fe2e:43c4', subnet_id='ff44e9ee-8e63-448a-ac6d-adcb142bcec3' | | >| b6985b94-9aca-455f-bea5-f08f562eb9a8 | | fa:16:3e:6a:97:29 | ip_address='10.0.0.214', subnet_id='35158e57-d4c6-4cbd-bf28-159623cb54af' | N/A | >| c9de3058-abf6-4c69-89bd-159f4e321769 | VM_cirros35_21_10.0.0.214 | fa:16:3e:4f:ed:96 | ip_address='10.0.2.14', subnet_id='08a2faf5-cd74-4b61-9c3d-de1dc7164855' | ACTIVE | >| | | | ip_address='2002::f816:3eff:fe4f:ed96', subnet_id='ff44e9ee-8e63-448a-ac6d-adcb142bcec3' | | >| cd16e313-02f2-4ea8-a624-a5cf047d8235 | VM_cirros35_11_10.0.0.211 | fa:16:3e:ca:68:81 | ip_address='10.0.1.7', subnet_id='9a2de101-a9d1-42a9-9c5c-6bc40f190695' | ACTIVE | >| | | | ip_address='2001::f816:3eff:feca:6881', subnet_id='25d9adcd-53e0-493b-8f6d-ea8f733c1153' | | >| e2e5131d-9d8b-40aa-8ada-9f2aa174179c | VM_cirros35_12_10.0.0.219 | fa:16:3e:81:ba:43 | ip_address='10.0.1.15', subnet_id='9a2de101-a9d1-42a9-9c5c-6bc40f190695' | ACTIVE | >| | | | ip_address='2001::f816:3eff:fe81:ba43', subnet_id='25d9adcd-53e0-493b-8f6d-ea8f733c1153' | | >| f8d7ed55-6fd2-45a2-9c5e-68560b51762d | | fa:16:3e:04:42:68 | ip_address='2001::1', subnet_id='25d9adcd-53e0-493b-8f6d-ea8f733c1153' | DOWN | >+--------------------------------------+---------------------------+-------------------+------------------------------------------------------------------------------------------+--------+ >openstack server list >+--------------------------------------+----------------+--------+--------------------------------------------------------------+----------+---------------+ >| ID | Name | Status | Networks | Image | Flavor | >+--------------------------------------+----------------+--------+--------------------------------------------------------------+----------+---------------+ >| 159dc148-c853-41e7-9450-d929b439b99c | VM_cirros35_22 | ACTIVE | net_ipv64_2=10.0.2.11, 2002::f816:3eff:fe95:5158, 10.0.0.220 | cirros35 | cirros_flavor | >| 307faa93-bbfc-4ee8-adb1-b15d9f956f19 | VM_cirros35_21 | ACTIVE | net_ipv64_2=10.0.2.14, 2002::f816:3eff:fe4f:ed96, 10.0.0.214 | cirros35 | cirros_flavor | >| abfab2ab-5382-49dc-8335-2a5fd3e2f7f7 | VM_cirros35_12 | ACTIVE | net_ipv64_1=2001::f816:3eff:fe81:ba43, 10.0.1.15, 10.0.0.219 | cirros35 | cirros_flavor | >| 01673dfd-7811-4727-8e9c-df55b37db485 | VM_cirros35_11 | ACTIVE | net_ipv64_1=2001::f816:3eff:feca:6881, 10.0.1.7, 10.0.0.211 | cirros35 | cirros_flavor | >+--------------------------------------+----------------+--------+--------------------------------------------------------------+----------+---------------+ >----------------------------------------------------------- >Creating and testing multiple VMs and Networks completed succesfully! > >To SSH into VM: >ssh -i my_key.pem cirros@SERVER_FIP
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