Merge "Update getting-started to focal-yoga"
This commit is contained in:
commit
ba325dff26
384
doc/source/getting-started/bundle-focal-yoga.yaml
Normal file
384
doc/source/getting-started/bundle-focal-yoga.yaml
Normal file
@ -0,0 +1,384 @@
|
||||
series: focal
|
||||
|
||||
variables:
|
||||
openstack-origin: &openstack-origin cloud:focal-yoga
|
||||
data-port: &data-port to-be-set
|
||||
osd-devices: &osd-devices to-be-set
|
||||
expected-osd-count: &expected-osd-count 3
|
||||
expected-mon-count: &expected-mon-count 3
|
||||
|
||||
machines:
|
||||
'0':
|
||||
'1':
|
||||
'2':
|
||||
|
||||
relations:
|
||||
- - nova-compute:amqp
|
||||
- rabbitmq-server:amqp
|
||||
- - nova-cloud-controller:identity-service
|
||||
- keystone:identity-service
|
||||
- - glance:identity-service
|
||||
- keystone:identity-service
|
||||
- - neutron-api:identity-service
|
||||
- keystone:identity-service
|
||||
- - neutron-api:amqp
|
||||
- rabbitmq-server:amqp
|
||||
- - glance:amqp
|
||||
- rabbitmq-server:amqp
|
||||
- - nova-cloud-controller:image-service
|
||||
- glance:image-service
|
||||
- - nova-compute:image-service
|
||||
- glance:image-service
|
||||
- - nova-cloud-controller:cloud-compute
|
||||
- nova-compute:cloud-compute
|
||||
- - nova-cloud-controller:amqp
|
||||
- rabbitmq-server:amqp
|
||||
- - openstack-dashboard:identity-service
|
||||
- keystone:identity-service
|
||||
- - nova-cloud-controller:neutron-api
|
||||
- neutron-api:neutron-api
|
||||
- - cinder:image-service
|
||||
- glance:image-service
|
||||
- - cinder:amqp
|
||||
- rabbitmq-server:amqp
|
||||
- - cinder:identity-service
|
||||
- keystone:identity-service
|
||||
- - cinder:cinder-volume-service
|
||||
- nova-cloud-controller:cinder-volume-service
|
||||
- - cinder-ceph:storage-backend
|
||||
- cinder:storage-backend
|
||||
- - ceph-mon:client
|
||||
- nova-compute:ceph
|
||||
- - nova-compute:ceph-access
|
||||
- cinder-ceph:ceph-access
|
||||
- - ceph-mon:client
|
||||
- cinder-ceph:ceph
|
||||
- - ceph-mon:client
|
||||
- glance:ceph
|
||||
- - ceph-osd:mon
|
||||
- ceph-mon:osd
|
||||
- - ceph-radosgw:mon
|
||||
- ceph-mon:radosgw
|
||||
- - ceph-radosgw:identity-service
|
||||
- keystone:identity-service
|
||||
- - placement:identity-service
|
||||
- keystone:identity-service
|
||||
- - placement:placement
|
||||
- nova-cloud-controller:placement
|
||||
- - keystone:shared-db
|
||||
- keystone-mysql-router:shared-db
|
||||
- - cinder:shared-db
|
||||
- cinder-mysql-router:shared-db
|
||||
- - glance:shared-db
|
||||
- glance-mysql-router:shared-db
|
||||
- - nova-cloud-controller:shared-db
|
||||
- nova-mysql-router:shared-db
|
||||
- - neutron-api:shared-db
|
||||
- neutron-mysql-router:shared-db
|
||||
- - openstack-dashboard:shared-db
|
||||
- dashboard-mysql-router:shared-db
|
||||
- - placement:shared-db
|
||||
- placement-mysql-router:shared-db
|
||||
- - vault:shared-db
|
||||
- vault-mysql-router:shared-db
|
||||
- - keystone-mysql-router:db-router
|
||||
- mysql-innodb-cluster:db-router
|
||||
- - cinder-mysql-router:db-router
|
||||
- mysql-innodb-cluster:db-router
|
||||
- - nova-mysql-router:db-router
|
||||
- mysql-innodb-cluster:db-router
|
||||
- - glance-mysql-router:db-router
|
||||
- mysql-innodb-cluster:db-router
|
||||
- - neutron-mysql-router:db-router
|
||||
- mysql-innodb-cluster:db-router
|
||||
- - dashboard-mysql-router:db-router
|
||||
- mysql-innodb-cluster:db-router
|
||||
- - placement-mysql-router:db-router
|
||||
- mysql-innodb-cluster:db-router
|
||||
- - vault-mysql-router:db-router
|
||||
- mysql-innodb-cluster:db-router
|
||||
- - neutron-api-plugin-ovn:neutron-plugin
|
||||
- neutron-api:neutron-plugin-api-subordinate
|
||||
- - ovn-central:certificates
|
||||
- vault:certificates
|
||||
- - ovn-central:ovsdb-cms
|
||||
- neutron-api-plugin-ovn:ovsdb-cms
|
||||
- - neutron-api:certificates
|
||||
- vault:certificates
|
||||
- - ovn-chassis:nova-compute
|
||||
- nova-compute:neutron-plugin
|
||||
- - ovn-chassis:certificates
|
||||
- vault:certificates
|
||||
- - ovn-chassis:ovsdb
|
||||
- ovn-central:ovsdb
|
||||
- - vault:certificates
|
||||
- neutron-api-plugin-ovn:certificates
|
||||
- - vault:certificates
|
||||
- cinder:certificates
|
||||
- - vault:certificates
|
||||
- glance:certificates
|
||||
- - vault:certificates
|
||||
- keystone:certificates
|
||||
- - vault:certificates
|
||||
- nova-cloud-controller:certificates
|
||||
- - vault:certificates
|
||||
- openstack-dashboard:certificates
|
||||
- - vault:certificates
|
||||
- placement:certificates
|
||||
- - vault:certificates
|
||||
- ceph-radosgw:certificates
|
||||
- - vault:certificates
|
||||
- mysql-innodb-cluster:certificates
|
||||
|
||||
applications:
|
||||
ceph-mon:
|
||||
annotations:
|
||||
gui-x: '790'
|
||||
gui-y: '1540'
|
||||
charm: ch:ceph-mon
|
||||
channel: quincy/stable
|
||||
num_units: 3
|
||||
options:
|
||||
expected-osd-count: *expected-osd-count
|
||||
monitor-count: *expected-mon-count
|
||||
source: *openstack-origin
|
||||
to:
|
||||
- lxd:0
|
||||
- lxd:1
|
||||
- lxd:2
|
||||
ceph-osd:
|
||||
annotations:
|
||||
gui-x: '1065'
|
||||
gui-y: '1540'
|
||||
charm: ch:ceph-osd
|
||||
channel: quincy/stable
|
||||
num_units: 3
|
||||
options:
|
||||
osd-devices: *osd-devices
|
||||
source: *openstack-origin
|
||||
to:
|
||||
- '0'
|
||||
- '1'
|
||||
- '2'
|
||||
ceph-radosgw:
|
||||
annotations:
|
||||
gui-x: '850'
|
||||
gui-y: '900'
|
||||
charm: ch:ceph-radosgw
|
||||
channel: quincy/stable
|
||||
num_units: 1
|
||||
options:
|
||||
source: *openstack-origin
|
||||
to:
|
||||
- lxd:0
|
||||
cinder-mysql-router:
|
||||
annotations:
|
||||
gui-x: '900'
|
||||
gui-y: '1400'
|
||||
charm: ch:mysql-router
|
||||
channel: 8.0/stable
|
||||
cinder:
|
||||
annotations:
|
||||
gui-x: '980'
|
||||
gui-y: '1270'
|
||||
charm: ch:cinder
|
||||
channel: yoga/stable
|
||||
num_units: 1
|
||||
options:
|
||||
block-device: None
|
||||
glance-api-version: 2
|
||||
openstack-origin: *openstack-origin
|
||||
to:
|
||||
- lxd:1
|
||||
cinder-ceph:
|
||||
annotations:
|
||||
gui-x: '1120'
|
||||
gui-y: '1400'
|
||||
charm: ch:cinder-ceph
|
||||
channel: yoga/stable
|
||||
num_units: 0
|
||||
glance-mysql-router:
|
||||
annotations:
|
||||
gui-x: '-290'
|
||||
gui-y: '1400'
|
||||
charm: ch:mysql-router
|
||||
channel: 8.0/stable
|
||||
glance:
|
||||
annotations:
|
||||
gui-x: '-230'
|
||||
gui-y: '1270'
|
||||
charm: ch:glance
|
||||
channel: yoga/stable
|
||||
num_units: 1
|
||||
options:
|
||||
openstack-origin: *openstack-origin
|
||||
to:
|
||||
- lxd:2
|
||||
keystone-mysql-router:
|
||||
annotations:
|
||||
gui-x: '230'
|
||||
gui-y: '1400'
|
||||
charm: ch:mysql-router
|
||||
channel: 8.0/stable
|
||||
keystone:
|
||||
annotations:
|
||||
gui-x: '300'
|
||||
gui-y: '1270'
|
||||
charm: ch:keystone
|
||||
channel: yoga/stable
|
||||
num_units: 1
|
||||
options:
|
||||
openstack-origin: *openstack-origin
|
||||
to:
|
||||
- lxd:0
|
||||
neutron-mysql-router:
|
||||
annotations:
|
||||
gui-x: '505'
|
||||
gui-y: '1385'
|
||||
charm: ch:mysql-router
|
||||
channel: 8.0/stable
|
||||
neutron-api-plugin-ovn:
|
||||
annotations:
|
||||
gui-x: '690'
|
||||
gui-y: '1385'
|
||||
charm: ch:neutron-api-plugin-ovn
|
||||
channel: yoga/stable
|
||||
neutron-api:
|
||||
annotations:
|
||||
gui-x: '580'
|
||||
gui-y: '1270'
|
||||
charm: ch:neutron-api
|
||||
channel: yoga/stable
|
||||
num_units: 1
|
||||
options:
|
||||
neutron-security-groups: true
|
||||
flat-network-providers: physnet1
|
||||
openstack-origin: *openstack-origin
|
||||
to:
|
||||
- lxd:1
|
||||
placement-mysql-router:
|
||||
annotations:
|
||||
gui-x: '1320'
|
||||
gui-y: '1385'
|
||||
charm: ch:mysql-router
|
||||
channel: 8.0/stable
|
||||
placement:
|
||||
annotations:
|
||||
gui-x: '1320'
|
||||
gui-y: '1270'
|
||||
charm: ch:placement
|
||||
channel: yoga/stable
|
||||
num_units: 1
|
||||
options:
|
||||
openstack-origin: *openstack-origin
|
||||
to:
|
||||
- lxd:2
|
||||
nova-mysql-router:
|
||||
annotations:
|
||||
gui-x: '-30'
|
||||
gui-y: '1385'
|
||||
charm: ch:mysql-router
|
||||
channel: 8.0/stable
|
||||
nova-cloud-controller:
|
||||
annotations:
|
||||
gui-x: '35'
|
||||
gui-y: '1270'
|
||||
charm: ch:nova-cloud-controller
|
||||
channel: yoga/stable
|
||||
num_units: 1
|
||||
options:
|
||||
network-manager: Neutron
|
||||
openstack-origin: *openstack-origin
|
||||
to:
|
||||
- lxd:0
|
||||
nova-compute:
|
||||
annotations:
|
||||
gui-x: '190'
|
||||
gui-y: '890'
|
||||
charm: ch:nova-compute
|
||||
channel: yoga/stable
|
||||
num_units: 3
|
||||
options:
|
||||
config-flags: default_ephemeral_format=ext4
|
||||
enable-live-migration: true
|
||||
enable-resize: true
|
||||
migration-auth-type: ssh
|
||||
openstack-origin: *openstack-origin
|
||||
to:
|
||||
- '0'
|
||||
- '1'
|
||||
- '2'
|
||||
dashboard-mysql-router:
|
||||
annotations:
|
||||
gui-x: '510'
|
||||
gui-y: '1030'
|
||||
charm: ch:mysql-router
|
||||
channel: 8.0/stable
|
||||
openstack-dashboard:
|
||||
annotations:
|
||||
gui-x: '585'
|
||||
gui-y: '900'
|
||||
charm: ch:openstack-dashboard
|
||||
channel: yoga/stable
|
||||
num_units: 1
|
||||
options:
|
||||
openstack-origin: *openstack-origin
|
||||
to:
|
||||
- lxd:1
|
||||
rabbitmq-server:
|
||||
annotations:
|
||||
gui-x: '300'
|
||||
gui-y: '1550'
|
||||
charm: ch:rabbitmq-server
|
||||
channel: 3.8/stable
|
||||
num_units: 1
|
||||
to:
|
||||
- lxd:2
|
||||
mysql-innodb-cluster:
|
||||
annotations:
|
||||
gui-x: '535'
|
||||
gui-y: '1550'
|
||||
charm: ch:mysql-innodb-cluster
|
||||
channel: 8.0/stable
|
||||
num_units: 3
|
||||
to:
|
||||
- lxd:0
|
||||
- lxd:1
|
||||
- lxd:2
|
||||
ovn-central:
|
||||
annotations:
|
||||
gui-x: '70'
|
||||
gui-y: '1550'
|
||||
charm: ch:ovn-central
|
||||
channel: 22.03/stable
|
||||
num_units: 3
|
||||
options:
|
||||
source: *openstack-origin
|
||||
to:
|
||||
- lxd:0
|
||||
- lxd:1
|
||||
- lxd:2
|
||||
ovn-chassis:
|
||||
annotations:
|
||||
gui-x: '120'
|
||||
gui-y: '1030'
|
||||
charm: ch:ovn-chassis
|
||||
channel: 22.03/stable
|
||||
options:
|
||||
ovn-bridge-mappings: physnet1:br-ex
|
||||
bridge-interface-mappings: *data-port
|
||||
vault-mysql-router:
|
||||
annotations:
|
||||
gui-x: '1535'
|
||||
gui-y: '1560'
|
||||
charm: ch:mysql-router
|
||||
channel: 8.0/stable
|
||||
vault:
|
||||
annotations:
|
||||
gui-x: '1610'
|
||||
gui-y: '1430'
|
||||
charm: ch:vault
|
||||
channel: 1.7/stable
|
||||
num_units: 1
|
||||
to:
|
||||
- lxd:0
|
@ -2,27 +2,22 @@
|
||||
Deploy OpenStack
|
||||
================
|
||||
|
||||
The actual bundle is found in the ``openstack-bundles`` repository maintained
|
||||
by the OpenStack charmers team. Clone it and change to the bundle's directory:
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
git clone https://github.com/openstack-charmers/openstack-bundles ~/tutorial
|
||||
cd ~/tutorial/openstack-bundles/stable/openstack-base
|
||||
|
||||
The bundle is located in file ``bundle.yaml``.
|
||||
|
||||
Ensure that the current context is the previously-created controller and model:
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
juju switch maas-controller:openstack
|
||||
|
||||
Deploy the cloud like this:
|
||||
The bundle file is :download:`bundle-focal-yoga.yaml`. Download it and
|
||||
save it in the ``~/tutorial`` directory.
|
||||
|
||||
Enter the tutorial directory and deploy OpenStack by referring to the bundle
|
||||
and the overlay:
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
juju deploy ./bundle.yaml --overlay ~/tutorial/overlay-openstack-base-focal-mymaas.yaml
|
||||
cd ~/tutorial
|
||||
juju deploy ./bundle-focal-yoga.yaml --overlay ./overlay-focal-yoga-mymaas.yaml
|
||||
|
||||
This stage of the procedure can take between 30 and 90 minutes to complete,
|
||||
depending on how the MAAS nodes are resourced. Use the :command:`juju status`
|
||||
@ -32,7 +27,7 @@ Vault requires manual intervention in order to become functional. Complete the
|
||||
steps described in the `vault charm README`_ when the vault application shows a
|
||||
workload status of ``Vault needs to be initialized``. Once that's done, allow
|
||||
the model to settle to an error-free state (see this :ref:`example status
|
||||
output <getting_started_juju_status>`).
|
||||
output <juju_status>`).
|
||||
|
||||
When you're ready, go to the :doc:`Configure OpenStack <openstack>` page.
|
||||
|
||||
|
@ -5,18 +5,16 @@ Getting started
|
||||
Overview
|
||||
--------
|
||||
|
||||
This tutorial will show how to deploy a Charmed OpenStack cloud with the use of
|
||||
a bundle and an overlay. The cloud's major elements are:
|
||||
This tutorial shows how to deploy a test Charmed OpenStack cloud. It's major
|
||||
elements are:
|
||||
|
||||
* Ubuntu 20.04 LTS (Focal)
|
||||
* OpenStack Xena
|
||||
* Ceph Pacific
|
||||
* Ubuntu 20.04 LTS (Focal) for the cloud nodes
|
||||
* OpenStack Yoga
|
||||
* Ceph Quincy
|
||||
|
||||
OpenStack services will include Compute, Network, Block Storage, Object
|
||||
Storage, Identity, Image, and Dashboard.
|
||||
|
||||
This is a test cloud that will be used by a single (admin) user.
|
||||
|
||||
Requirements
|
||||
------------
|
||||
|
||||
@ -35,24 +33,23 @@ You will need a `MAAS`_ cluster with four nodes:
|
||||
|
||||
A single network interface is sufficient on the cloud nodes if an Open
|
||||
vSwitch bridge is set up in MAAS. See the :doc:`MAAS page
|
||||
<cdg:install-maas>` in the :doc:`OpenStack Charms Deployment Guide
|
||||
<cdg:index>` for details.
|
||||
<cdg:install-maas>` in the Deploy Guide for details.
|
||||
|
||||
Software
|
||||
~~~~~~~~
|
||||
|
||||
The software versions used in this tutorial are:
|
||||
|
||||
* **Ubuntu 20.04 LTS (Focal)** for the cloud nodes
|
||||
* **MAAS 2.9.2**
|
||||
* **Juju 2.9.27**
|
||||
* MAAS 2.9.2
|
||||
* Juju 2.9.29
|
||||
|
||||
Other prerequisites
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
* You should have `Juju`_ installed and be comfortable with its basic usage.
|
||||
|
||||
* Create directory ``~/tutorial`` as all tutorial files will be placed there.
|
||||
* Create directory ``~/tutorial``. All the files created in this tutorial will
|
||||
be placed there.
|
||||
|
||||
* The MAAS server must have Focal amd64 images available.
|
||||
|
||||
@ -80,10 +77,7 @@ The procedure consists of the following steps:
|
||||
|
||||
.. LINKS
|
||||
.. _Juju: https://juju.is
|
||||
.. _MicroStack: https://microstack.run
|
||||
.. _OpenStack Administrator Guides: http://docs.openstack.org/admin
|
||||
.. _MAAS: https://maas.io
|
||||
.. _bundles: https://jaas.ai/docs/sdk/manage-bundles
|
||||
.. _constraints: https://juju.is/docs/olm/constraints-reference
|
||||
.. _constraints: https://juju.is/docs/olm/constraints
|
||||
.. _network spaces: https://maas.io/docs/snap/3.1/ui/concepts-and-terms#heading--spaces
|
||||
.. _Reserved IP range: https://maas.io/docs/concepts-and-terms#heading--ip-ranges
|
||||
|
@ -1,6 +1,6 @@
|
||||
:orphan:
|
||||
|
||||
.. _getting_started_juju_status:
|
||||
.. _juju_status:
|
||||
|
||||
===============
|
||||
OpenStack cloud
|
||||
@ -13,97 +13,99 @@ installed from the instructions given on the :doc:`Deploy OpenStack
|
||||
.. code-block:: console
|
||||
|
||||
Model Controller Cloud/Region Version SLA Timestamp
|
||||
openstack maas-controller mymaas/default 2.9.22 unsupported 14:38:27Z
|
||||
openstack maas-controller icarus/default 2.9.29 unsupported 19:36:32Z
|
||||
|
||||
App Version Status Scale Charm Store Channel Rev OS Message
|
||||
ceph-mon 16.2.6 active 3 ceph-mon charmstore stable 61 ubuntu Unit is ready and clustered
|
||||
ceph-osd 16.2.6 active 3 ceph-osd charmstore stable 315 ubuntu Unit is ready (2 OSD)
|
||||
ceph-radosgw 16.2.6 active 1 ceph-radosgw charmstore stable 300 ubuntu Unit is ready
|
||||
cinder 19.0.0 active 1 cinder charmstore stable 317 ubuntu Unit is ready
|
||||
cinder-ceph 19.0.0 active 1 cinder-ceph charmstore stable 268 ubuntu Unit is ready
|
||||
cinder-mysql-router 8.0.28 active 1 mysql-router charmstore stable 15 ubuntu Unit is ready
|
||||
dashboard-mysql-router 8.0.28 active 1 mysql-router charmstore stable 15 ubuntu Unit is ready
|
||||
glance 23.0.0 active 1 glance charmstore stable 312 ubuntu Unit is ready
|
||||
glance-mysql-router 8.0.28 active 1 mysql-router charmstore stable 15 ubuntu Unit is ready
|
||||
keystone 20.0.0 active 1 keystone charmstore stable 329 ubuntu Application Ready
|
||||
keystone-mysql-router 8.0.28 active 1 mysql-router charmstore stable 15 ubuntu Unit is ready
|
||||
mysql-innodb-cluster 8.0.28 active 3 mysql-innodb-cluster charmstore stable 15 ubuntu Unit is ready: Mode: R/W, Cluster is ONLINE and can tolerate up to ONE failure.
|
||||
neutron-api 19.1.0 active 1 neutron-api charmstore stable 302 ubuntu Unit is ready
|
||||
neutron-api-plugin-ovn 19.1.0 active 1 neutron-api-plugin-ovn charmstore stable 10 ubuntu Unit is ready
|
||||
neutron-mysql-router 8.0.28 active 1 mysql-router charmstore stable 15 ubuntu Unit is ready
|
||||
nova-cloud-controller 24.0.0 active 1 nova-cloud-controller charmstore stable 361 ubuntu Unit is ready
|
||||
nova-compute 24.0.0 active 1 nova-compute charmstore stable 337 ubuntu Unit is ready
|
||||
nova-mysql-router 8.0.28 active 1 mysql-router charmstore stable 15 ubuntu Unit is ready
|
||||
ntp 3.5 active 1 ntp charmstore stable 47 ubuntu chrony: Ready
|
||||
openstack-dashboard 20.1.0 active 1 openstack-dashboard charmstore stable 318 ubuntu Unit is ready
|
||||
ovn-central 21.09.0 active 3 ovn-central charmstore stable 15 ubuntu Unit is ready
|
||||
ovn-chassis 21.09.0 active 1 ovn-chassis charmstore stable 21 ubuntu Unit is ready
|
||||
placement 6.0.0 active 1 placement charmstore stable 31 ubuntu Unit is ready
|
||||
placement-mysql-router 8.0.28 active 1 mysql-router charmstore stable 15 ubuntu Unit is ready
|
||||
rabbitmq-server 3.8.2 active 1 rabbitmq-server charmstore stable 117 ubuntu Unit is ready
|
||||
vault 1.5.9 active 1 vault charmstore stable 54 ubuntu Unit is ready (active: true, mlock: disabled)
|
||||
vault-mysql-router 8.0.28 active 1 mysql-router charmstore stable 15 ubuntu Unit is ready
|
||||
App Version Status Scale Charm Channel Rev Exposed Message
|
||||
ceph-mon 17.1.0 active 3 ceph-mon quincy/stable 106 no Unit is ready and clustered
|
||||
ceph-osd 17.1.0 active 3 ceph-osd quincy/stable 534 no Unit is ready (1 OSD)
|
||||
ceph-radosgw 17.1.0 active 1 ceph-radosgw quincy/stable 526 no Unit is ready
|
||||
cinder 20.0.0 active 1 cinder yoga/stable 554 no Unit is ready
|
||||
cinder-ceph 20.0.0 active 1 cinder-ceph yoga/stable 502 no Unit is ready
|
||||
cinder-mysql-router 8.0.29 active 1 mysql-router 8.0.19/stable 26 no Unit is ready
|
||||
dashboard-mysql-router 8.0.29 active 1 mysql-router 8.0.19/stable 26 no Unit is ready
|
||||
glance 24.0.0 active 1 glance yoga/stable 544 no Unit is ready
|
||||
glance-mysql-router 8.0.29 active 1 mysql-router 8.0.19/stable 26 no Unit is ready
|
||||
keystone 21.0.0 active 1 keystone yoga/stable 568 no Application Ready
|
||||
keystone-mysql-router 8.0.29 active 1 mysql-router 8.0.19/stable 26 no Unit is ready
|
||||
mysql-innodb-cluster 8.0.29 active 3 mysql-innodb-cluster 8.0.19/stable 24 no Unit is ready: Mode: R/O, Cluster is ONLINE and can tolerate up to ONE failure.
|
||||
neutron-api 20.0.0 active 1 neutron-api yoga/stable 526 no Unit is ready
|
||||
neutron-api-plugin-ovn 20.0.0 active 1 neutron-api-plugin-ovn yoga/stable 29 no Unit is ready
|
||||
neutron-mysql-router 8.0.29 active 1 mysql-router 8.0.19/stable 26 no Unit is ready
|
||||
nova-cloud-controller 25.0.0 active 1 nova-cloud-controller yoga/stable 601 no Unit is ready
|
||||
nova-compute 25.0.0 active 3 nova-compute yoga/stable 588 no Unit is ready
|
||||
nova-mysql-router 8.0.29 active 1 mysql-router 8.0.19/stable 26 no Unit is ready
|
||||
openstack-dashboard 22.1.0 active 1 openstack-dashboard yoga/stable 536 no Unit is ready
|
||||
ovn-central 22.03.0 active 3 ovn-central 22.03/stable 31 no Unit is ready
|
||||
ovn-chassis 22.03.0 active 3 ovn-chassis 22.03/stable 46 no Unit is ready
|
||||
placement 7.0.0 active 1 placement yoga/stable 49 no Unit is ready
|
||||
placement-mysql-router 8.0.29 active 1 mysql-router 8.0.19/stable 26 no Unit is ready
|
||||
rabbitmq-server 3.8.2 active 1 rabbitmq-server 3.8/stable 149 no Unit is ready
|
||||
vault 1.7.9 active 1 vault 1.7/stable 68 no Unit is ready (active: true, mlock: disabled)
|
||||
vault-mysql-router 8.0.29 active 1 mysql-router 8.0.19/stable 26 no Unit is ready
|
||||
|
||||
Unit Workload Agent Machine Public address Ports Message
|
||||
ceph-mon/0 active idle 0/lxd/0 10.246.114.62 Unit is ready and clustered
|
||||
ceph-mon/1 active idle 1/lxd/0 10.246.114.72 Unit is ready and clustered
|
||||
ceph-mon/2* active idle 2/lxd/0 10.246.114.55 Unit is ready and clustered
|
||||
ceph-osd/0 active idle 0 10.246.114.37 Unit is ready (2 OSD)
|
||||
ceph-osd/1* active idle 1 10.246.114.38 Unit is ready (2 OSD)
|
||||
ceph-osd/2 active idle 2 10.246.114.39 Unit is ready (2 OSD)
|
||||
ceph-radosgw/0* active idle 0/lxd/1 10.246.114.66 80/tcp Unit is ready
|
||||
cinder/0* active idle 1/lxd/1 10.246.114.67 8776/tcp Unit is ready
|
||||
cinder-ceph/0* active idle 10.246.114.67 Unit is ready
|
||||
cinder-mysql-router/0* active idle 10.246.114.67 Unit is ready
|
||||
glance/0* active idle 2/lxd/1 10.246.114.60 9292/tcp Unit is ready
|
||||
glance-mysql-router/0* active idle 10.246.114.60 Unit is ready
|
||||
keystone/0* active idle 0/lxd/2 10.246.114.65 5000/tcp Unit is ready
|
||||
keystone-mysql-router/0* active idle 10.246.114.65 Unit is ready
|
||||
mysql-innodb-cluster/0 active idle 0/lxd/3 10.246.114.63 Unit is ready: Mode: R/W, Cluster is ONLINE and can tolerate up to ONE failure.
|
||||
mysql-innodb-cluster/1 active idle 1/lxd/2 10.246.114.68 Unit is ready: Mode: R/O, Cluster is ONLINE and can tolerate up to ONE failure.
|
||||
mysql-innodb-cluster/2* active idle 2/lxd/2 10.246.114.59 Unit is ready: Mode: R/O, Cluster is ONLINE and can tolerate up to ONE failure.
|
||||
neutron-api/0* active idle 1/lxd/3 10.246.114.71 9696/tcp Unit is ready
|
||||
neutron-api-plugin-ovn/0* active idle 10.246.114.71 Unit is ready
|
||||
neutron-mysql-router/0* active idle 10.246.114.71 Unit is ready
|
||||
nova-cloud-controller/0* active idle 0/lxd/4 10.246.114.64 8774/tcp,8775/tcp Unit is ready
|
||||
nova-mysql-router/0* active idle 10.246.114.64 Unit is ready
|
||||
nova-compute/0* active idle 1 10.246.114.38 Unit is ready
|
||||
ntp/0* active idle 10.246.114.38 123/udp chrony: Ready
|
||||
ovn-chassis/0* active idle 10.246.114.38 Unit is ready
|
||||
openstack-dashboard/0* active idle 1/lxd/4 10.246.114.75 80/tcp,443/tcp Unit is ready
|
||||
dashboard-mysql-router/0* active idle 10.246.114.75 Unit is ready
|
||||
ovn-central/0 active idle 0/lxd/5 10.246.114.61 6641/tcp,6642/tcp Unit is ready
|
||||
ovn-central/1 active idle 1/lxd/5 10.246.114.74 6641/tcp,6642/tcp Unit is ready (northd: active)
|
||||
ovn-central/2* active idle 2/lxd/3 10.246.114.56 6641/tcp,6642/tcp Unit is ready (leader: ovnnb_db, ovnsb_db)
|
||||
placement/0* active idle 2/lxd/4 10.246.114.58 8778/tcp Unit is ready
|
||||
placement-mysql-router/0* active idle 10.246.114.58 Unit is ready
|
||||
rabbitmq-server/0* active idle 2/lxd/5 10.246.114.57 5672/tcp Unit is ready
|
||||
vault/0* active idle 1/lxd/6 10.246.114.73 8200/tcp Unit is ready (active: true, mlock: disabled)
|
||||
vault-mysql-router/0* active idle 10.246.114.73 Unit is ready
|
||||
Unit Workload Agent Machine Public address Ports Message
|
||||
ceph-mon/0 active idle 0/lxd/0 10.246.114.79 Unit is ready and clustered
|
||||
ceph-mon/1* active idle 1/lxd/0 10.246.114.27 Unit is ready and clustered
|
||||
ceph-mon/2 active idle 2/lxd/0 10.246.114.32 Unit is ready and clustered
|
||||
ceph-osd/0 active idle 0 10.246.114.21 Unit is ready (1 OSD)
|
||||
ceph-osd/1* active idle 1 10.246.114.41 Unit is ready (1 OSD)
|
||||
ceph-osd/2 active idle 2 10.246.114.54 Unit is ready (1 OSD)
|
||||
ceph-radosgw/0* active idle 0/lxd/1 10.246.114.78 80/tcp Unit is ready
|
||||
cinder/0* active idle 1/lxd/1 10.246.114.47 8776/tcp Unit is ready
|
||||
cinder-ceph/0* active idle 10.246.114.47 Unit is ready
|
||||
cinder-mysql-router/0* active idle 10.246.114.47 Unit is ready
|
||||
glance/0* active idle 2/lxd/1 10.246.114.33 9292/tcp Unit is ready
|
||||
glance-mysql-router/0* active idle 10.246.114.33 Unit is ready
|
||||
keystone/0* active idle 0/lxd/2 10.246.114.80 5000/tcp Unit is ready
|
||||
keystone-mysql-router/0* active idle 10.246.114.80 Unit is ready
|
||||
mysql-innodb-cluster/0 active idle 0/lxd/3 10.246.114.36 Unit is ready: Mode: R/O, Cluster is ONLINE and can tolerate up to ONE failure.
|
||||
mysql-innodb-cluster/1 active idle 1/lxd/2 10.246.114.31 Unit is ready: Mode: R/O, Cluster is ONLINE and can tolerate up to ONE failure.
|
||||
mysql-innodb-cluster/2* active idle 2/lxd/2 10.246.114.22 Unit is ready: Mode: R/W, Cluster is ONLINE and can tolerate up to ONE failure.
|
||||
neutron-api/0* active idle 1/lxd/3 10.246.114.26 9696/tcp Unit is ready
|
||||
neutron-api-plugin-ovn/0* active idle 10.246.114.26 Unit is ready
|
||||
neutron-mysql-router/0* active idle 10.246.114.26 Unit is ready
|
||||
nova-cloud-controller/0* active idle 0/lxd/4 10.246.114.77 8774/tcp,8775/tcp Unit is ready
|
||||
nova-mysql-router/0* active idle 10.246.114.77 Unit is ready
|
||||
nova-compute/0* active idle 0 10.246.114.21 Unit is ready
|
||||
ovn-chassis/0* active idle 10.246.114.21 Unit is ready
|
||||
nova-compute/1 active idle 1 10.246.114.41 Unit is ready
|
||||
ovn-chassis/1 active idle 10.246.114.41 Unit is ready
|
||||
nova-compute/2 active idle 2 10.246.114.54 Unit is ready
|
||||
ovn-chassis/2 active idle 10.246.114.54 Unit is ready
|
||||
openstack-dashboard/0* active idle 1/lxd/4 10.246.114.45 80/tcp,443/tcp Unit is ready
|
||||
dashboard-mysql-router/0* active idle 10.246.114.45 Unit is ready
|
||||
ovn-central/0 active idle 0/lxd/5 10.246.114.34 6641/tcp,6642/tcp Unit is ready
|
||||
ovn-central/1* active idle 1/lxd/5 10.246.114.24 6641/tcp,6642/tcp Unit is ready (leader: ovnnb_db, ovnsb_db)
|
||||
ovn-central/2 active idle 2/lxd/3 10.246.114.25 6641/tcp,6642/tcp Unit is ready (northd: active)
|
||||
placement/0* active idle 2/lxd/4 10.246.114.46 8778/tcp Unit is ready
|
||||
placement-mysql-router/0* active idle 10.246.114.46 Unit is ready
|
||||
rabbitmq-server/0* active idle 2/lxd/5 10.246.114.44 5672/tcp,15672/tcp Unit is ready
|
||||
vault/0* active idle 0/lxd/6 10.246.114.35 8200/tcp Unit is ready (active: true, mlock: disabled)
|
||||
vault-mysql-router/0* active idle 10.246.114.35 Unit is ready
|
||||
|
||||
Machine State DNS Inst id Series AZ Message
|
||||
0 started 10.246.114.37 node-pytheas focal default Deployed
|
||||
0/lxd/0 started 10.246.114.62 juju-916d00-0-lxd-0 focal default Container started
|
||||
0/lxd/1 started 10.246.114.66 juju-916d00-0-lxd-1 focal default Container started
|
||||
0/lxd/2 started 10.246.114.65 juju-916d00-0-lxd-2 focal default Container started
|
||||
0/lxd/3 started 10.246.114.63 juju-916d00-0-lxd-3 focal default Container started
|
||||
0/lxd/4 started 10.246.114.64 juju-916d00-0-lxd-4 focal default Container started
|
||||
0/lxd/5 started 10.246.114.61 juju-916d00-0-lxd-5 focal default Container started
|
||||
1 started 10.246.114.38 node-fontana focal default Deployed
|
||||
1/lxd/0 started 10.246.114.72 juju-916d00-1-lxd-0 focal default Container started
|
||||
1/lxd/1 started 10.246.114.67 juju-916d00-1-lxd-1 focal default Container started
|
||||
1/lxd/2 started 10.246.114.68 juju-916d00-1-lxd-2 focal default Container started
|
||||
1/lxd/3 started 10.246.114.71 juju-916d00-1-lxd-3 focal default Container started
|
||||
1/lxd/4 started 10.246.114.75 juju-916d00-1-lxd-4 focal default Container started
|
||||
1/lxd/5 started 10.246.114.74 juju-916d00-1-lxd-5 focal default Container started
|
||||
1/lxd/6 started 10.246.114.73 juju-916d00-1-lxd-6 focal default Container started
|
||||
2 started 10.246.114.39 node-sarabhai focal default Deployed
|
||||
2/lxd/0 started 10.246.114.55 juju-916d00-2-lxd-0 focal default Container started
|
||||
2/lxd/1 started 10.246.114.60 juju-916d00-2-lxd-1 focal default Container started
|
||||
2/lxd/2 started 10.246.114.59 juju-916d00-2-lxd-2 focal default Container started
|
||||
2/lxd/3 started 10.246.114.56 juju-916d00-2-lxd-3 focal default Container started
|
||||
2/lxd/4 started 10.246.114.58 juju-916d00-2-lxd-4 focal default Container started
|
||||
2/lxd/5 started 10.246.114.57 juju-916d00-2-lxd-5 focal default Container started
|
||||
0 started 10.246.114.21 virt-node-06 focal default Deployed
|
||||
0/lxd/0 started 10.246.114.79 juju-fe6804-0-lxd-0 focal default Container started
|
||||
0/lxd/1 started 10.246.114.78 juju-fe6804-0-lxd-1 focal default Container started
|
||||
0/lxd/2 started 10.246.114.80 juju-fe6804-0-lxd-2 focal default Container started
|
||||
0/lxd/3 started 10.246.114.36 juju-fe6804-0-lxd-3 focal default Container started
|
||||
0/lxd/4 started 10.246.114.77 juju-fe6804-0-lxd-4 focal default Container started
|
||||
0/lxd/5 started 10.246.114.34 juju-fe6804-0-lxd-5 focal default Container started
|
||||
0/lxd/6 started 10.246.114.35 juju-fe6804-0-lxd-6 focal default Container started
|
||||
1 started 10.246.114.41 virt-node-04 focal default Deployed
|
||||
1/lxd/0 started 10.246.114.27 juju-fe6804-1-lxd-0 focal default Container started
|
||||
1/lxd/1 started 10.246.114.47 juju-fe6804-1-lxd-1 focal default Container started
|
||||
1/lxd/2 started 10.246.114.31 juju-fe6804-1-lxd-2 focal default Container started
|
||||
1/lxd/3 started 10.246.114.26 juju-fe6804-1-lxd-3 focal default Container started
|
||||
1/lxd/4 started 10.246.114.45 juju-fe6804-1-lxd-4 focal default Container started
|
||||
1/lxd/5 started 10.246.114.24 juju-fe6804-1-lxd-5 focal default Container started
|
||||
2 started 10.246.114.54 virt-node-05 focal default Deployed
|
||||
2/lxd/0 started 10.246.114.32 juju-fe6804-2-lxd-0 focal default Container started
|
||||
2/lxd/1 started 10.246.114.33 juju-fe6804-2-lxd-1 focal default Container started
|
||||
2/lxd/2 started 10.246.114.22 juju-fe6804-2-lxd-2 focal default Container started
|
||||
2/lxd/3 started 10.246.114.25 juju-fe6804-2-lxd-3 focal default Container started
|
||||
2/lxd/4 started 10.246.114.46 juju-fe6804-2-lxd-4 focal default Container started
|
||||
2/lxd/5 started 10.246.114.44 juju-fe6804-2-lxd-5 focal default Container started
|
||||
|
||||
Relation provider Requirer Interface Type Message
|
||||
ceph-mon:client cinder-ceph:ceph ceph-client regular
|
||||
@ -150,9 +152,7 @@ installed from the instructions given on the :doc:`Deploy OpenStack
|
||||
nova-cloud-controller:cluster nova-cloud-controller:cluster nova-ha peer
|
||||
nova-compute:cloud-compute nova-cloud-controller:cloud-compute nova-compute regular
|
||||
nova-compute:compute-peer nova-compute:compute-peer nova peer
|
||||
nova-compute:juju-info ntp:juju-info juju-info subordinate
|
||||
nova-mysql-router:shared-db nova-cloud-controller:shared-db mysql-shared subordinate
|
||||
ntp:ntp-peers ntp:ntp-peers ntp peer
|
||||
openstack-dashboard:cluster openstack-dashboard:cluster openstack-dashboard-ha peer
|
||||
ovn-central:ovsdb ovn-chassis:ovsdb ovsdb regular
|
||||
ovn-central:ovsdb-cms neutron-api-plugin-ovn:ovsdb-cms ovsdb-cms regular
|
@ -24,4 +24,4 @@ Assuming the controller is called 'maas-controller', create a model called
|
||||
Advance to the :doc:`Deploy OpenStack <deploy>` page.
|
||||
|
||||
.. LINKS
|
||||
.. _How to use MAAS with Juju: https://jaas.ai/docs/maas-cloud
|
||||
.. _How to use MAAS with Juju: https://juju.is/docs/olm/maas
|
||||
|
@ -3,7 +3,8 @@ Configure OpenStack
|
||||
===================
|
||||
|
||||
Now that OpenStack is deployed it must now be configured for it to become
|
||||
functional. Use the values collected on the :doc:`settings <settings>` page.
|
||||
functional. Use the values collected on the :doc:`Collect local settings
|
||||
<settings>` page.
|
||||
|
||||
Install the OpenStack clients
|
||||
-----------------------------
|
||||
@ -13,7 +14,7 @@ command line. Install them now:
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
sudo snap install openstackclients --classic
|
||||
sudo snap install openstackclients
|
||||
|
||||
Access the cloud
|
||||
----------------
|
||||
|
23
doc/source/getting-started/overlay-focal-yoga-mymaas.yaml
Normal file
23
doc/source/getting-started/overlay-focal-yoga-mymaas.yaml
Normal file
@ -0,0 +1,23 @@
|
||||
machines:
|
||||
|
||||
'0':
|
||||
constraints: $CONSTRAINTS
|
||||
'1':
|
||||
constraints: $CONSTRAINTS
|
||||
'2':
|
||||
constraints: $CONSTRAINTS
|
||||
|
||||
variables:
|
||||
|
||||
data-port: &data-port br-ex:$OVN_DATA_PORT
|
||||
osd-devices: &osd-devices $OSD_DEVICES
|
||||
|
||||
applications:
|
||||
|
||||
ovn-chassis:
|
||||
options:
|
||||
bridge-interface-mappings: *data-port
|
||||
|
||||
ceph-osd:
|
||||
options:
|
||||
osd-devices: *osd-devices
|
@ -4,104 +4,27 @@ Configure the overlay bundle
|
||||
|
||||
The deployment will make use of the ``openstack-base`` bundle, which represents
|
||||
the core of a Charmed OpenStack cloud. A separate overlay bundle is used to
|
||||
tailor the configuration (possibly overriding the bundle) so that the deploy
|
||||
will work within a given environment.
|
||||
|
||||
Save the below overlay to
|
||||
``~/tutorial/overlay-openstack-base-focal-mymaas.yaml`` and replace the
|
||||
variables with the values that were collected in the :doc:`previous step
|
||||
<settings>`.
|
||||
tailor the configuration (possibly overriding setting in the bundle) so that
|
||||
the deploy will work within a given environment.
|
||||
|
||||
.. note::
|
||||
|
||||
If constraints are not being used and/or if network spaces do not apply then
|
||||
replace their values ($CONSTRAINTS and/or $EXT_SPACE) with a null value
|
||||
(nothing).
|
||||
Although it is possible to edit the bundle file itself, it is best practice
|
||||
to keep it pristine and to use an overlay instead.
|
||||
|
||||
.. code-block:: console
|
||||
The overlay file is :download:`overlay-focal-yoga-mymaas.yaml`. Download it and
|
||||
save it in the ``~/tutorial`` directory.
|
||||
|
||||
machines:
|
||||
Replace the variables in the file with the some of the values that were
|
||||
collected in the :doc:`previous step <settings>`.
|
||||
|
||||
'0':
|
||||
constraints: $CONSTRAINTS
|
||||
'1':
|
||||
constraints: $CONSTRAINTS
|
||||
'2':
|
||||
constraints: $CONSTRAINTS
|
||||
If constraints are not being used, replace ``$CONSTRAINTS`` with a null value
|
||||
(nothing).
|
||||
|
||||
variables:
|
||||
.. note::
|
||||
|
||||
data-port: &data-port br-ex:$OVN_DATA_PORT
|
||||
osd-devices: &osd-devices $OSD_DEVICES
|
||||
network-space: &network-space $EXT_SPACE
|
||||
If a network space is configured within MAAS for the cloud's subnet, each
|
||||
charm will need to be informed of it via the ``bindings`` charm parameter.
|
||||
|
||||
applications:
|
||||
|
||||
ovn-chassis:
|
||||
options:
|
||||
bridge-interface-mappings: *data-port
|
||||
|
||||
ceph-osd:
|
||||
options:
|
||||
osd-devices: *osd-devices
|
||||
bindings:
|
||||
"": *network-space
|
||||
|
||||
nova-compute:
|
||||
bindings:
|
||||
"": *network-space
|
||||
|
||||
vault:
|
||||
bindings:
|
||||
"": *network-space
|
||||
|
||||
ceph-mon:
|
||||
bindings:
|
||||
"": *network-space
|
||||
|
||||
ceph-radosgw:
|
||||
bindings:
|
||||
"": *network-space
|
||||
|
||||
glance:
|
||||
bindings:
|
||||
"": *network-space
|
||||
|
||||
keystone:
|
||||
bindings:
|
||||
"": *network-space
|
||||
|
||||
mysql-innodb-cluster:
|
||||
bindings:
|
||||
"": *network-space
|
||||
|
||||
neutron-api:
|
||||
bindings:
|
||||
"": *network-space
|
||||
|
||||
nova-cloud-controller:
|
||||
bindings:
|
||||
"": *network-space
|
||||
|
||||
rabbitmq-server:
|
||||
bindings:
|
||||
"": *network-space
|
||||
|
||||
placement:
|
||||
bindings:
|
||||
"": *network-space
|
||||
|
||||
ovn-central:
|
||||
bindings:
|
||||
"": *network-space
|
||||
|
||||
cinder:
|
||||
bindings:
|
||||
"": *network-space
|
||||
|
||||
openstack-dashboard:
|
||||
bindings:
|
||||
"": *network-space
|
||||
|
||||
Once you've substituted in your values and saved the file, proceed to the
|
||||
:doc:`Prepare Juju <juju>` page.
|
||||
Once you've edited and saved the file, proceed to the :doc:`Prepare Juju
|
||||
<juju>` page.
|
||||
|
@ -51,11 +51,6 @@ Assign a value to each variable now.
|
||||
- EXT_SUBNET
|
||||
- a subnet within MAAS
|
||||
|
||||
* - network space
|
||||
- **public-space**
|
||||
- EXT_SPACE
|
||||
- usage is mandatory if it exists
|
||||
|
||||
* - gateway
|
||||
- **10.246.112.1**
|
||||
- EXT_GW
|
||||
|
Loading…
Reference in New Issue
Block a user