[Starlingx-discuss] neutron: cannot create a providernet
Marcel Schaible
marcel at schaible-consulting.de
Wed Feb 13 16:10:01 UTC 2019
Thanks Brent for your quick response.
Before going again thru the disk configuration part, is this looking correct:
[root at controller-0 ~(keystone_admin)]# system datanetwork-list
+--------------------------------------+---------------+----------+------+
| uuid | name | network_ | mtu |
| | | type | |
+--------------------------------------+---------------+----------+------+
| 4cb64a85-801e-4a30-aa10-0a073357b81e | providernet-a | vlan | 1500 |
+--------------------------------------+---------------+----------+------+
[root at controller-0 ~(keystone_admin)]# system datanetwork-show 4cb64a85-801e-4a3...
+--------------+--------------------------------------+
| Property | Value |
+--------------+--------------------------------------+
| id | 2 |
| uuid | 4cb64a85-801e-4a30-aa10-0a073357b81e |
| name | providernet-a |
| network_type | vlan |
| mtu | 1500 |
| description | None |
+--------------+--------------------------------------+
Thanks
Marcel
> "Rowsell, Brent" <Brent.Rowsell at windriver.com> hat am 13. Februar 2019 um 16:35 geschrieben:
>
>
> Hi,
>
> This has been changed. See the following mail post
>
> http://lists.starlingx.io/pipermail/starlingx-discuss/2019-January/002788.html
>
> Brent
>
> -----Original Message-----
> From: Marcel Schaible [mailto:marcel at schaible-consulting.de]
> Sent: Wednesday, February 13, 2019 10:28 AM
> To: starlingx-discuss at lists.starlingx.io
> Subject: [Starlingx-discuss] neutron: cannot create a providernet
>
> Hi,
>
> I am getting the following error when initially creating a providernet:
>
> DataNetwork providernet-a could not be found.
>
> I am following the installation guide from here:
> https://docs.starlingx.io/installation_guide/duplex.html#duplex
>
> Any idea is welcome!
>
> Thanks
>
> Marcel
>
> ----------------------------------------
> The following configuration will be applied:
>
> System Configuration
> --------------------
> Time Zone: Europe/Berlin
> System mode: duplex
>
> PXEBoot Network Configuration
> -----------------------------
> Separate PXEBoot network not configured
> PXEBoot Controller floating hostname: pxecontroller
>
> Management Network Configuration
> --------------------------------
> Management interface name: enp9s20f7
> Management interface: enp9s20f7
> Management interface MTU: 1500
> Management subnet: 172.27.1.0/24
> Controller floating address: 172.27.1.2
> Controller 0 address: 172.27.1.3
> Controller 1 address: 172.27.1.4
> NFS Management Address 1: 172.27.1.5
> NFS Management Address 2: 172.27.1.6
> Controller floating hostname: controller Controller hostname prefix: controller- OAM Controller floating hostname: oamcontroller Dynamic IP address allocation is selected Management multicast subnet: 239.1.1.0/28
>
> Infrastructure Network Configuration
> ------------------------------------
> Infrastructure interface not configured
>
> External OAM Network Configuration
> ----------------------------------
> External OAM interface name: bond0
> External OAM interface: bond0
> External OAM interface MTU: 1500
> External OAM ae member 0: ens1f1
> External OAM ae member 1: ens1f3
> External OAM ae policy : active-backup
> External OAM subnet: 10.62.150.0/24
> External OAM gateway address: 10.62.150.1 External OAM floating address: 10.62.150.211 External OAM 0 address: 10.62.150.212 External OAM 1 address: 10.62.150.213
>
> Apply the above configuration? [y/n]: y
>
> Applying configuration (this will take several minutes):
>
> 01/08: Creating bootstrap configuration ... DONE
> 02/08: Applying bootstrap manifest ... DONE
> 03/08: Persisting local configuration ... DONE
> 04/08: Populating initial system inventory ... DONE
> 05/08: Creating system configuration ... DONE
> 06/08: Applying controller manifest ... DONE
> 07/08: Finalize controller configuration ... DONE
> 08/08: Waiting for service activation ... DONE
>
> Configuration was applied
>
> Please complete any out of service commissioning steps with system commands and unlock controller to proceed.
> localhost:~# source /etc/nova/openrc
> [root at localhost ~(keystone_admin)]# neutron providernet-create providernet-a --type=vlan neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
> Created a new providernet:
> +------------------+--------------------------------------+
> | Field | Value |
> +------------------+--------------------------------------+
> | description | |
> | id | e9eef26b-d266-4b3f-b1b7-6d9c2cd3a86b |
> | mtu | 1500 |
> | name | providernet-a |
> | ranges | |
> | status | DOWN |
> | type | vlan |
> | vlan_transparent | False |
> +------------------+--------------------------------------+
> [root at localhost ~(keystone_admin)]# neutron providernet-range-create --name providernet-a-range1 --range 100-400 providernet-a neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
> Created a new providernet_range:
> +------------------+--------------------------------------+
> | Field | Value |
> +------------------+--------------------------------------+
> | description | |
> | id | ce8bba6a-5bb0-4ddb-b430-bd216912a5c6 |
> | maximum | 400 |
> | minimum | 100 |
> | name | providernet-a-range1 |
> | project_id | 4f59503b008e49be9f43e393bf89a19e |
> | providernet_id | e9eef26b-d266-4b3f-b1b7-6d9c2cd3a86b |
> | providernet_name | providernet-a |
> | providernet_type | vlan |
> | shared | False |
> | tenant_id | 4f59503b008e49be9f43e393bf89a19e |
> +------------------+--------------------------------------+
> [root at localhost ~(keystone_admin)]# system host-if-list -a controller-0
> +--------------------------------------+-----------+----------+----------+---------+----------------+------------------------+-------------+---------------------------------+---------------+
> | uuid | name | class | type | vlan id | ports | uses i/f | used by i/f | attributes | data networks |
> +--------------------------------------+-----------+----------+----------+---------+----------------+------------------------+-------------+---------------------------------+---------------+
> | 04665f98-8318-4855-a591-1307231a40b3 | bond0 | platform | ae | None | [] | [u'ens1f1', u'ens1f3'] | [] | MTU=1500,AE_MODE=active_standby | [] |
> | 2a6b70cb-53ad-43c3-adc7-b92c4c44470d | enp9s20f6 | None | ethernet | None | [u'enp9s20f6'] | [] | [] | MTU=1500 | [] |
> | 2dcbe277-530e-400c-b156-43545b4507c8 | ens1f1 | None | ethernet | None | [u'ens1f1'] | [] | [u'bond0'] | MTU=1500 | [] |
> | 3acd41aa-aeb0-400c-86ba-79f0fdb24829 | ens1f3 | None | ethernet | None | [u'ens1f3'] | [] | [u'bond0'] | MTU=1500 | [] |
> | 86b8867a-2aee-4cb9-a04a-7587ff8d833d | enp3s0f0 | None | ethernet | None | [u'enp3s0f0'] | [] | [] | MTU=1500 | [] |
> | ce78e71f-4300-4a6b-ae0a-43e3139a5515 | enp3s0f1 | None | ethernet | None | [u'enp3s0f1'] | [] | [] | MTU=1500 | [] |
> | d3e101a0-a873-4c76-b7b5-83368626acd4 | enp9s21f0 | None | ethernet | None | [u'enp9s21f0'] | [] | [] | MTU=1500 | [] |
> | e93f1d26-e6ee-4c7f-84ef-8b68e312ef16 | enp9s21f1 | None | ethernet | None | [u'enp9s21f1'] | [] | [] | MTU=1500 | [] |
> | ed1b47c8-0311-4e39-8840-9931c69c147e | ens1f0 | None | ethernet | None | [u'ens1f0'] | [] | [] | MTU=1500 | [] |
> | ee4ce037-1408-4695-b05d-e5491f30e274 | enp9s20f7 | platform | ethernet | None | [u'enp9s20f7'] | [] | [] | MTU=1500 | [] |
> +--------------------------------------+-----------+----------+----------+---------+----------------+------------------------+-------------+---------------------------------+---------------+
> [root at localhost ~(keystone_admin)]# neutron providernet-list neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
> +--------------------------------------+---------------+------+------+------------------------------------------------------------------+
> | id | name | type | mtu | ranges |
> +--------------------------------------+---------------+------+------+------------------------------------------------------------------+
> | e9eef26b-d266-4b3f-b1b7-6d9c2cd3a86b | providernet-a | vlan | 1500 |
> | {"minimum": 100, "maximum": 400, "name": "providernet-a-range1"} |
> +--------------------------------------+---------------+------+------+------------------------------------------------------------------+
> enp9s21f1 -p providernet-a_admin)]# system host-if-modify -c data controller-0 DataNetwork providernet-a could not be found.
> [root at localhost ~(keystone_admin)]#
> [root at localhost ~(keystone_admin)]# ip addr
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 scope host lo
> valid_lft forever preferred_lft forever
> inet6 ::1/128 scope host
> valid_lft forever preferred_lft forever
> 2: enp3s0f0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default qlen 1000
> link/ether ec:9e:cd:1f:7e:b0 brd ff:ff:ff:ff:ff:ff
> 3: ens1f0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default qlen 1000
> link/ether b4:96:91:1a:01:60 brd ff:ff:ff:ff:ff:ff
> 4: ens1f1: <BROADCAST,MULTICAST,PROMISC,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 state UP group default qlen 1000
> link/ether b4:96:91:1a:01:61 brd ff:ff:ff:ff:ff:ff
> 5: enp3s0f1: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default qlen 1000
> link/ether ec:9e:cd:1f:7e:b1 brd ff:ff:ff:ff:ff:ff
> 6: ens1f3: <NO-CARRIER,BROADCAST,MULTICAST,PROMISC,SLAVE,UP> mtu 1500 qdisc mq master bond0 state DOWN group default qlen 1000
> link/ether b4:96:91:1a:01:61 brd ff:ff:ff:ff:ff:ff
> 7: enp9s20f6: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default qlen 1000
> link/ether 02:01:00:10:01:15 brd ff:ff:ff:ff:ff:ff
> 8: enp9s20f7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc htb state UP group default qlen 1000
> link/ether 02:01:00:10:02:15 brd ff:ff:ff:ff:ff:ff
> inet 172.27.1.3/24 brd 172.27.1.255 scope global enp9s20f7
> valid_lft forever preferred_lft forever
> inet 169.254.202.2/24 scope global enp9s20f7
> valid_lft forever preferred_lft forever
> inet 172.27.1.2/24 scope global secondary enp9s20f7
> valid_lft forever preferred_lft forever
> inet 172.27.1.5/24 brd 172.27.1.255 scope global secondary enp9s20f7
> valid_lft forever preferred_lft forever
> inet 172.27.1.6/24 brd 172.27.1.255 scope global secondary enp9s20f7
> valid_lft forever preferred_lft forever
> inet6 fe80::1:ff:fe10:215/64 scope link
> valid_lft forever preferred_lft forever
> 9: enp9s21f0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default qlen 1000
> link/ether 02:01:00:10:01:16 brd ff:ff:ff:ff:ff:ff
> 10: enp9s21f1: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default qlen 1000
> link/ether 02:01:00:10:02:16 brd ff:ff:ff:ff:ff:ff
> 11: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
> link/ether b4:96:91:1a:01:61 brd ff:ff:ff:ff:ff:ff
> inet 10.62.150.211/24 scope global bond0
> valid_lft forever preferred_lft forever
> inet6 fe80::b696:91ff:fe1a:161/64 scope link
> valid_lft forever preferred_lft forever [root at localhost ~(keystone_admin)]#
>
> _______________________________________________
> Starlingx-discuss mailing list
> Starlingx-discuss at lists.starlingx.io
> http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
More information about the Starlingx-discuss
mailing list