[charms][watcher] OpenStack Watcher Charm

Stamatis Katsaounis skatsaounis at admin.grnet.gr
Wed Jan 8 11:25:08 UTC 2020


Hi all,

Purpose of this email is to let you know that we released an unofficial charm of OpenStack Watcher [1]. This charm gave us the opportunity to deploy OpenStack Watcher to our charmed OpenStack deployment.

After seeing value in it, we decided to publish it through GRNET GitHub Organization account for several reasons. First of all, we would love to get feedback on it as it is our first try on creating an OpenStack reactive charm. Secondly, we would be glad to see other OpenStack operators deploy Watcher and share with us knowledge on the project and possible use cases. Finally, it would be ideal to come up with an official OpenStack Watcher charm repository under charmers umbrella. By doing this, another OpenStack project is going to be available not only for Train version but for any future version of OpenStack. Most important, the CI tests are going to ensure that the code is not broken and persuade other operators to use it.

Before closing my email, I would like to give some insight on the architecture of the code base and the deployment process. To begin with, charm-watcher is based on other reactive OpenStack charms. During its deployment Barbican, Designate, Octavia and other charms' code bases were counseled. Furthermore, the structure is the same as any official OpenStack charm, of course without functional tests, which is something we cannot provide.

Speaking about the deployment process, apart from having a basic charmed OpenStack deployment, operator has to change two tiny configuration options on Nova cloud controller and Cinder. As explained in the Watcher configuration guide, special care has to be done with Oslo notifications for Nova and Cinder [2]. In order to achieve that in charmed OpenStack some issues were met and solved with the following patches [3], [4], [5], [6]. With these patches, operator can set the extra Oslo configuration and this is the only extra configuration needs to take place. Finally, with [7] Keystone charm can accept a relation with Watcher charm instead of ignoring it.

To be able to deploy GRNET Watcher charm on Train, patches [3], [4], [5] and [7] have to be back-ported to stable/19.10 branch but that will require the approval of charmers team. Please let me know if such an option is available and in that case I am going to open the relevant patches. Furthermore, if you think that it could be a good option to create a spec and then introduce an official Watcher charm, I would love to help on that.

I wish all a happy new year and I am looking forward to your response and possible feedback.

PS. If we could have an Ubuntu package for watcher-dashboard [8] like octavia-dashboard [9] we would release a charm for it as well.

Best regards,
Stamatis Katsaounis

[1] https://github.com/grnet/charm-watcher
[2] https://docs.openstack.org/watcher/latest/configuration/configuring.html#configure-nova-notifications
[3] https://review.opendev.org/#/c/699079/
[4] https://review.opendev.org/#/c/699081/
[5] https://review.opendev.org/#/c/699657/
[6] https://github.com/juju/charm-helpers/pull/405
[7] https://review.opendev.org/#/c/699082/
[8] https://github.com/openstack/watcher-dashboard
[9] https://launchpad.net/ubuntu/+source/octavia-dashboard

--
[cid:part10.101270FA.EDBB3A4A at admin.grnet.gr]
Stamatis Katsaounis
DevOps Engineer
t :(+30) 210 7471130 (ext. 483) f : + 30 210 7474490
GRNET | Networking Research and Education
www.grnet.gr<http://www.grnet.gr> | 7, Kifisias Av., 115 23, Athens
[Facebook icon]<https://www.facebook.com/grnet.gr/> [Twitter icon] <https://twitter.com/grnet_gr>  [Youtube icon] <https://www.youtube.com/user/EDETvideos>  [LinkedIn icon] <https://www.linkedin.com/company/55267/>  [Instagram icon] <https://www.instagram.com/grnet.gr/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200108/c4bf2811/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: elggckbbbdlhkdig.png
Type: image/png
Size: 4948 bytes
Desc: elggckbbbdlhkdig.png
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200108/c4bf2811/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bopemjoginlmgoci.png
Type: image/png
Size: 645 bytes
Desc: bopemjoginlmgoci.png
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200108/c4bf2811/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gpjbaodeiokhnjgn.png
Type: image/png
Size: 661 bytes
Desc: gpjbaodeiokhnjgn.png
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200108/c4bf2811/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oichedjkimmmjbge.png
Type: image/png
Size: 738 bytes
Desc: oichedjkimmmjbge.png
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200108/c4bf2811/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: edpopdhgfeakkkhe.png
Type: image/png
Size: 716 bytes
Desc: edpopdhgfeakkkhe.png
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200108/c4bf2811/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ajmnellhaofbfpnj.png
Type: image/png
Size: 653 bytes
Desc: ajmnellhaofbfpnj.png
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200108/c4bf2811/attachment-0011.png>


More information about the openstack-discuss mailing list