@@ -292,7 +292,7 @@ Here's some ideas for things to explore with the deployment:
292292
293293* **Access Control Plane Components **: take a deep dive into the internals
294294 by `Exploring the Deployment `_.
295- * **Deploy Elasticsearch and Kibana **: see `Enabling Centralised Logging `_
295+ * **Deploy OpenSearch and OpenSearch Dashboards **: see `Enabling Centralised Logging `_
296296 to get logs aggregated from across our OpenStack control plane.
297297
298298Exploring the Deployment
@@ -382,8 +382,8 @@ Enabling Centralised Logging
382382^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
383383
384384In Kolla-Ansible, centralised logging is easily enabled and results in the
385- deployment of Elasticsearch and Kibana services and configuration to forward
386- all OpenStack service logging. **Be cautious as Elasticsearch will consume a
385+ deployment of OpenSearch services and configuration to forward
386+ all OpenStack service logging. **Be cautious as OpenSearch will consume a
387387significant portion of available resources on a standard deployment. **
388388
389389To enable the service, one flag must be changed in
@@ -394,16 +394,16 @@ To enable the service, one flag must be changed in
394394 -#kolla_enable_central_logging:
395395 +kolla_enable_central_logging: yes
396396
397- This will install ``elasticsearch `` and ``kibana `` containers, and configure
398- logging via ``fluentd `` so that logging from all deployed Docker containers will
399- be routed to Elasticsearch .
397+ This will deploy ``opensearch `` and ``opensearch_dashboards `` containers, and
398+ configure logging via ``fluentd `` so that logging from all deployed Docker
399+ containers will be routed to OpenSearch .
400400
401401Before this can be applied, it is necessary to download the missing images to
402402the seed VM. Pull, retag and push the centralised logging images:
403403
404404.. code-block :: console
405405
406- ~/kayobe/config/src/kayobe-config/pull-retag-push-images.sh kibana elasticsearch
406+ ~/kayobe/config/src/kayobe-config/pull-retag-push-images.sh ^opensearch
407407
408408 To deploy the logging stack:
409409
@@ -418,22 +418,23 @@ The new containers can be seen running on the controller node:
418418
419419.. code-block :: console
420420
421- $ ssh stack@192.168.33.3 sudo docker ps
422- CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
423- 304b197f888b 192.168.33.5:4000/kolla/centos-source-kibana:master "dumb-init --single-c " 18 minutes ago Up 18 minutes kibana
424- 9eb0cf47c7f7 192.168.33.5:4000/kolla/centos-source-elasticsearch:master "dumb-init --single-c " 18 minutes ago Up 18 minutes elasticsearch
421+ $ ssh stack@192.168.33.3 docker ps
422+ CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
423+ fad79f29afbc 192.168.33.5:4000/openstack. kolla/opensearch-dashboards:2024.1-rocky-9 "dumb-init --single-… " 6 hours ago Up 6 hours (healthy) opensearch_dashboards
424+ 64df77adc709 192.168.33.5:4000/openstack. kolla/opensearch:2024.1-rocky-9 "dumb-init --single-… " 6 hours ago Up 6 hours (healthy) opensearch
425425 ...
426426
427- We can see the log indexes in Elasticsearch :
427+ We can see the log indexes in OpenSearch :
428428
429429.. code-block :: console
430430
431431 curl -X GET "192.168.33.3:9200/_cat/indices?v"
432432
433- To access Kibana, we must first forward connections from our public interface
434- to the kibana service running on our ``controller0 `` VM.
433+ To access OpenSearch Dashboards, we must first forward connections from our
434+ public interface to the OpenSearch Dashboards service running on our
435+ ``controller0 `` VM.
435436
436- The easiest way to do this is to add Kibana 's default port (5601) to our
437+ The easiest way to do this is to add OpenSearch Dashboards 's default port (5601) to our
437438``configure-local-networking.sh `` script in ``~/kayobe/config/src/kayobe-config/ ``:
438439
439440.. code-block :: diff
@@ -453,17 +454,17 @@ Then rerun the script to apply the change:
453454
454455 config/src/kayobe-config/configure-local-networking.sh
455456
456- We can now connect to Kibana using our hypervisor host public IP and port 5601.
457+ We can now connect to OpenSearch Dashboards using our hypervisor host public IP and port 5601.
457458
458- The username is ``kibana `` and the password we can extract from the
459+ The username is ``opensearch `` and the password we can extract from the
459460Kolla-Ansible passwords (in production these would be vault-encrypted
460461but they are not here).
461462
462463.. code-block :: console
463464
464- grep kibana config/src/kayobe-config/etc/kolla/passwords.yml
465+ grep opensearch_dashboards config/src/kayobe-config/etc/kolla/passwords.yml
465466
466- Once you're in, Kibana needs some further setup which is not automated.
467+ Once you're in, OpenSearch Dashboards needs some further setup which is not automated.
467468Set the log index to ``flog-* `` and you should be ready to go.
468469
469470Adding the Barbican service
0 commit comments