This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| openstack_with_kolla [2017/06/24 19:04] – herwarth | openstack_with_kolla [2017/08/15 18:00] (current) – herwarth | ||
|---|---|---|---|
| Line 442: | Line 442: | ||
| # Helux | # Helux | ||
| - | helux = chrony, | + | helux = chrony, |
| </ | </ | ||
| ====Passwords==== | ====Passwords==== | ||
| Line 533: | Line 533: | ||
| The ansible scripts use the /etc/kolla directory to configure customer specific parts of Openstack. | The ansible scripts use the /etc/kolla directory to configure customer specific parts of Openstack. | ||
| mkdir -p / | mkdir -p / | ||
| + | ===Own signed certificates=== | ||
| + | mkdir / | ||
| + | Create haproxy-ca.pem containg root CA certificate and create haproxy.pem containing the private key and certificate concatenated. | ||
| + | < | ||
| + | ls -l / | ||
| + | total 8 | ||
| + | -rw-r--r-- 1 root root 1192 Jun 20 17:44 haproxy-ca.pem | ||
| + | -rw-r----- 1 root root 2205 Jun 20 18:18 haproxy.pem | ||
| + | </ | ||
| I use NFS storage so create a file with the NFS share info. | I use NFS storage so create a file with the NFS share info. | ||
| <code - / | <code - / | ||
| Line 548: | Line 557: | ||
| We are going to deploy on multiple nodes so copy the example over | We are going to deploy on multiple nodes so copy the example over | ||
| cp / | cp / | ||
| - | I did some ajustments | + | Change matching environment: |
| <code - / | <code - / | ||
| [control] | [control] | ||
| Line 700: | Line 709: | ||
| openstack network create --provider-network-type vxlan demo-net | openstack network create --provider-network-type vxlan demo-net | ||
| openstack subnet create --subnet-range 10.0.0.0/24 --network demo-net \ | openstack subnet create --subnet-range 10.0.0.0/24 --network demo-net \ | ||
| - | --gateway 10.0.0.1 | + | --gateway 10.0.0.1 demo-subnet |
| openstack router create demo-router | openstack router create demo-router | ||
| Line 816: | Line 825: | ||
| </ | </ | ||
| kolla-ansible reconfigure -i / | kolla-ansible reconfigure -i / | ||
| + | Now we are going to create a DNS domain and add network demo-net to the domain. | ||
| + | < | ||
| + | [root@kolla ~]# neutron net-list | ||
| + | +--------------------------------------+----------+----------------------------------+----------------------------------------------------+ | ||
| + | | id | name | tenant_id | ||
| + | +--------------------------------------+----------+----------------------------------+----------------------------------------------------+ | ||
| + | | 3ae68d4d-b123-4604-b003-c340d43c542a | demo-net | f01d9fc8069241b5b217e30ab9078294 | d7ef8a40-f7ab-446b-9865-3709713700d3 10.0.0.0/ | ||
| + | | 5293f890-079b-497c-b09b-914c3ef9d740 | public | ||
| + | +--------------------------------------+----------+----------------------------------+----------------------------------------------------+ | ||
| + | </ | ||
| + | < | ||
| + | [root@kolla ~]# neutron net-update 3ae68d4d-b123-4604-b003-c340d43c542a --dns_domain openstack.helux.nl. | ||
| + | Updated network: 3ae68d4d-b123-4604-b003-c340d43c542a | ||
| + | </ | ||
| + | < | ||
| + | [root@kolla ~]# neutron net-show 3ae68d4d-b123-4604-b003-c340d43c542a | ||
| + | +---------------------------+--------------------------------------+ | ||
| + | | Field | Value | | ||
| + | +---------------------------+--------------------------------------+ | ||
| + | | admin_state_up | ||
| + | | availability_zone_hints | ||
| + | | availability_zones | ||
| + | | created_at | ||
| + | | description | ||
| + | | dns_domain | ||
| + | | id | 3ae68d4d-b123-4604-b003-c340d43c542a | | ||
| + | | ipv4_address_scope | ||
| + | | ipv6_address_scope | ||
| + | | mtu | 1450 | | ||
| + | | name | demo-net | ||
| + | | port_security_enabled | ||
| + | | project_id | ||
| + | | provider: | ||
| + | | provider: | ||
| + | | provider: | ||
| + | | revision_number | ||
| + | | router: | ||
| + | | shared | ||
| + | | status | ||
| + | | subnets | ||
| + | | tags | | | ||
| + | | tenant_id | ||
| + | | updated_at | ||
| + | +---------------------------+--------------------------------------+ | ||
| + | </ | ||
| + | < | ||
| + | [root@kolla ~]# openstack recordset list openstack.helux.nl. | ||
| + | +--------------------------------------+--------------------------------+------+---------------------------------------------+--------+--------+ | ||
| + | | id | name | type | records | ||
| + | +--------------------------------------+--------------------------------+------+---------------------------------------------+--------+--------+ | ||
| + | | 00c1fb58-b504-4038-9f4f-fba1947e8417 | openstack.helux.nl. | ||
| + | | 89a3bcd3-ebec-4a0d-9ab2-dd1aeac95913 | openstack.helux.nl. | ||
| + | | | | | 1498322265 3550 600 86400 3600 | | | | ||
| + | +--------------------------------------+--------------------------------+------+---------------------------------------------+--------+--------+ | ||
| + | </ | ||
| + | After creating some instances DNS is automatically provisioned: | ||
| + | < | ||
| + | +--------------------------------------+--------------------------------+------+---------------------------------------------+--------+--------+ | ||
| + | | id | name | type | records | ||
| + | +--------------------------------------+--------------------------------+------+---------------------------------------------+--------+--------+ | ||
| + | | 00c1fb58-b504-4038-9f4f-fba1947e8417 | openstack.helux.nl. | ||
| + | | 89a3bcd3-ebec-4a0d-9ab2-dd1aeac95913 | openstack.helux.nl. | ||
| + | | | | | 1498328424 3550 600 86400 3600 | | | | ||
| + | | 02089897-050d-4bd9-9bf6-ce599898c332 | 10-1-0-8.openstack.helux.nl. | ||
| + | | 6bfd53b1-9302-4592-b3bf-a83fa7cd31dc | test1.openstack.helux.nl. | ||
| + | | 75ddff18-b2ee-4c1f-8a42-5d69d84cdb03 | test1.None.openstack.helux.nl. | A | 10.1.0.8 | ||
| + | | 0bcee6fe-13db-4cfa-ac04-34b9cf549bf2 | test2.openstack.helux.nl. | ||
| + | | 8440a5a2-0601-453e-a0f7-e74b9d2788b0 | test2.None.openstack.helux.nl. | A | 10.1.0.12 | ||
| + | | e3ed9ba5-ce44-409d-879d-e29b5b9b949b | 10-1-0-12.openstack.helux.nl. | ||
| + | | 0efa2b91-5480-47e6-bef8-f04e52cb3415 | 10-1-0-6.openstack.helux.nl. | ||
| + | | 10f5b137-c5fb-46aa-a5fd-3315dbcd5895 | test3.None.openstack.helux.nl. | A | 10.1.0.6 | ||
| + | | e48546b1-764c-48e2-86df-791677b979bc | test3.openstack.helux.nl. | ||
| + | +--------------------------------------+--------------------------------+------+---------------------------------------------+--------+--------+ | ||
| + | </ | ||
| {{tag> | {{tag> | ||