Script failure: 01_config_private_network

asked 2018-12-28 07:05:13 -0600

sebelk gravatar image

I'm trying to build the cluster of Training Labs:

INFO    Starting VM controller with headless GUI
.INFO   Waiting for ssh server in VM controller to respond at 127.0.0.1:2230.
............INFO            Connected to ssh server.
....INFO        Start autostart/00_config_public_network.sh
..............................................................................................................................................INFO    done
..INFO  Start autostart/01_config_private_network.sh
...........................................................................................................................................ERROR    ssh returned status 1.
ERROR   Script failure: 01_config_private_network
ERROR   Script failed. Exiting.

File

Waiting for first DHCP namespace.
Waiting for first bridge to show up.
Waiting for neutron to come up.
Sourcing the demo credentials.
Creating the private network.
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | UP                                   |
| availability_zone_hints   |                                      |
| availability_zones        |                                      |
| created_at                | 2018-12-28T12:13:11Z                 |
| description               |                                      |
| dns_domain                | None                                 |
| id                        | fd403a55-086f-4186-aa05-6f638d309fde |
| ipv4_address_scope        | None                                 |
| ipv6_address_scope        | None                                 |
| is_default                | False                                |
| is_vlan_transparent       | None                                 |
| mtu                       | 1450                                 |
| name                      | selfservice                          |
| port_security_enabled     | True                                 |
| project_id                | ea35450b86aa48ccbe46d411bdabebf9     |
| provider:network_type     | None                                 |
| provider:physical_network | None                                 |
| provider:segmentation_id  | None                                 |
| qos_policy_id             | None                                 |
| revision_number           | 1                                    |
| router:external           | Internal                             |
| segments                  | None                                 |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   |                                      |
| tags                      |                                      |
| updated_at                | 2018-12-28T12:13:11Z                 |
+---------------------------+--------------------------------------+
Creating a subnet on the private network.
+-------------------+--------------------------------------+
| Field             | Value                                |
+-------------------+--------------------------------------+
| allocation_pools  | 172.16.1.2-172.16.1.254              |
| cidr              | 172.16.1.0/24                        |
| created_at        | 2018-12-28T12:13:14Z                 |
| description       |                                      |
| dns_nameservers   | 8.8.4.4                              |
| enable_dhcp       | True                                 |
| gateway_ip        | 172.16.1.1                           |
| host_routes       |                                      |
| id                | 9704193e-1692-4a2f-84ed-daa1a3456689 |
| ip_version        | 4                                    |
| ipv6_address_mode | None                                 |
| ipv6_ra_mode      | None                                 |
| name              | selfservice                          |
| network_id        | fd403a55-086f-4186-aa05-6f638d309fde |
| project_id        | ea35450b86aa48ccbe46d411bdabebf9     |
| revision_number   | 0                                    |
| segment_id        | None                                 |
| service_types     |                                      |
| subnetpool_id     | None                                 |
| tags              |                                      |
| updated_at        | 2018-12-28T12:13:14Z                 |
+-------------------+--------------------------------------+
Waiting for second DHCP namespace..
Waiting for second bridge.......
Bridges are:
bridge name bridge id       STP enabled interfaces
brq3146540c-05      8000.080027efb907   no      enp0s9
                            tapaf267edd-4c
brqfd403a55-08      8000.000000000000   no      
Sourcing the demo credentials.
Creating a router.
+-------------------------+--------------------------------------+
| Field                   | Value                                |
+-------------------------+--------------------------------------+
| admin_state_up          | UP                                   |
| availability_zone_hints |                                      |
| availability_zones      |                                      |
| created_at              | 2018-12-28T12:13:24Z                 |
| description             |                                      |
| distributed             | None                                 |
| external_gateway_info   | None                                 |
| flavor_id               | None                                 |
| ha                      | None                                 |
| id                      | 7801d453-428a-4979-9012-a1b73e641f3a |
| name                    | router                               |
| project_id              | ea35450b86aa48ccbe46d411bdabebf9     |
| revision_number         | 0                                    |
| routes                  |                                      |
| status                  | ACTIVE                               |
| tags                    |                                      |
| updated_at              | 2018-12-28T12:13:24Z                 |
+-------------------------+--------------------------------------+
Waiting for neutron agent neutron-l3-agent.
linuxbridge-agent and dhcp-agent must be up before we can add interfaces.
Waiting for neutron agent neutron-linuxbridge-agent.
Waiting for neutron agent neutron-dhcp-agent.
Adding the private network subnet as an interface on the router.
Getting router namespace....qrouter-7801d453-428a-4979-9012-a1b73e641f3a
Waiting for interface qr-* in router namespace..qr-703daac1-ec@if12
Setting a gateway on the public network on the router.
Waiting for interface qg-* in router namespace....qg-40fcf2ef-74@if13
Listing network namespaces.
qrouter-7801d453-428a-4979-9012-a1b73e641f3a (id: 2)
qdhcp-fd403a55-086f-4186-aa05-6f638d309fde (id: 1)
qdhcp-3146540c-054f-4ac8-9e59-7c980ca6d459 (id: 0)
Sourcing the admin credentials.
Getting the router's IP address in the public network.
openstack port list --router router
+--------------------------------------+------+-------------------+------------------------------------------------------------------------------+--------+
| ID                                   | Name | MAC Address       | Fixed IP Addresses                                                           | Status |
+--------------------------------------+------+-------------------+------------------------------------------------------------------------------+--------+
| 40fcf2ef-7459-4bcc-8d83-d8b4c2a87a3f |      | fa:16:3e:63:b1:ee | ip_address='203.0.113.105', subnet_id='33edc3c1-198f-4d88-aa57-0c5f9c8c4633' | ACTIVE |
| 703daac1-ec9a-43cf-84e3-66d2c4f7537f |      | fa:16:3e:ab:6c:87 | ip_address='172.16.1.1', subnet_id='9704193e-1692-4a2f-84ed-daa1a3456689'    | ACTIVE |
+--------------------------------------+------+-------------------+------------------------------------------------------------------------------+--------+
Waiting for ping reply from public router IP (203.0.113.105)....................ERROR No reply from public router IP in 20 seconds, aborting.

Environment:

  • OS: Fedora 28
  • VirtualBox: 5.2.22_RPMFusion r126257
  • Training Labs: Stable Rocky

Is there something that I should configure by hand?

edit retag flag offensive close merge delete