lile | Making sure I'm starting on the right track, hacluster_pcs is continually restarting. Inspecting the container shows it can't start because it can't find ssl.rb in /usr/share/pcsd, it should be /usr/lib/pcsd. Loading ssl.rb from there results in a failure to find the rack rubygem, so I'm installing that in the kolla hacluster_pcs Dockerfile via rubygem-rack. | 01:40 |
---|---|---|
goldyfruit | lile, which base ? | 01:51 |
goldyfruit | Ubuntu or Centos? | 01:51 |
lile | Centos | 01:54 |
lile | Do I need to manifest the path based on Ubuntu v. Centos? | 01:54 |
goldyfruit | I did all my tests on Ubuntu | 01:54 |
goldyfruit | Try to build on Ubuntu | 01:54 |
lile | Ah, ok, I'll look at how to properly address that | 01:55 |
lile | Sorry, I don't have Ubuntu here and our target is CentOS | 02:16 |
lile | I looked at the panko j2 files, I see how to properly address it | 02:16 |
lile | https://www.irccloud.com/pastebin/0vPdFVO2/ | 02:50 |
*** vishalmanchanda has joined #openstack-masakari | 04:13 | |
lile | goldyfruit, is ruby >= 2.2 on Ubuntu? | 04:33 |
lile | goldyfruit, I got things running in the container, but it's going to require an scl rh-ruby-2.5 for CentOS 7 base. | 05:15 |
*** goldyfruit has quit IRC | 05:58 | |
*** goldyfruit has joined #openstack-masakari | 05:58 | |
*** goldyfruit has quit IRC | 06:30 | |
*** goldyfruit has joined #openstack-masakari | 06:30 | |
*** vishalmanchanda has quit IRC | 11:12 | |
goldyfruit | lile, https://github.com/openstack/kolla/tree/master/docker/hacluster | 14:03 |
goldyfruit | This is the commit https://github.com/openstack/kolla/commit/046158b1494938a61f8a9b98d8b0bba88295f2df | 14:03 |
goldyfruit | The repository should be there already | 14:04 |
goldyfruit | "Stable High Availability/Clustering packages (CentOS_CentOS-7)" | 14:04 |
goldyfruit | But they changed something: https://github.com/openstack/kolla/commit/cf11cd6f3d1f0f0d9e1bb948672be12171a4099b | 14:05 |
goldyfruit | You will have to enable the repo | 14:05 |
goldyfruit | " The way of handling external repositories has changed. All such repos are | 14:06 |
goldyfruit | now disabled by default. There is "enable_extra_repos" macro to enable them | 14:06 |
goldyfruit | by name. Repositories names are defined in the "etc/repos.yaml" file." | 14:06 |
*** vishalmanchanda has joined #openstack-masakari | 14:11 | |
lile | goldyfruit, thanks for the pointer. I'll pull that thread and see where I can get | 14:31 |
lile | If I can't get there, I have a workaround in my back pocket | 14:32 |
lile | kolla/train hasn't merged that change. The repos are enabled by default in the version I'm using. | 14:47 |
goldyfruit | I checked master only | 14:50 |
lile | No problem | 14:52 |
lile | What I ran into, is the fact that CentOS is way behind on ruby (2.0.0). There isn't a path to get all the gem dependencies in alignment, it falls apart at sinatra-contrib, I can't get an old enough version for sinatra/cookies to work with ruby 2.0.0 | 14:55 |
lile | What version of ruby where you using on Ubuntu? | 14:55 |
goldyfruit | From Bionic | 14:57 |
lile | Ok, that's ruby 2.5.1, I'll get the centos container to use that via scl. If the kolla folks don't want it pulled in dynamically, I'll add it as a proper repo | 14:58 |
*** openstackgerrit has joined #openstack-masakari | 16:07 | |
openstackgerrit | Shilpa Devharakar proposed openstack/masakari master: Add support for multiple filters https://review.opendev.org/704810 | 16:07 |
openstackgerrit | Shilpa Devharakar proposed openstack/masakari master: Add host query parameter support https://review.opendev.org/707415 | 16:07 |
openstackgerrit | Shilpa Devharakar proposed openstack/python-masakariclient master: Add new filter `host_name` to segment list https://review.opendev.org/704811 | 16:09 |
openstackgerrit | Shilpa Devharakar proposed openstack/python-masakariclient master: Add support for multiple filters https://review.opendev.org/707417 | 16:09 |
*** vishalmanchanda has quit IRC | 17:51 | |
goldyfruit | lile, https://review.opendev.org/697712 has been merged few minutes ago | 19:09 |
lile | goldyfruit, will that be merged back to train? | 19:36 |
lile | i've got hacluster_pcs working on centos | 19:36 |
goldyfruit | I can do the cherry pick | 19:36 |
goldyfruit | Good ! | 19:36 |
lile | the cluster isn't connecting though, it appears to be a nodeid issue | 19:36 |
lile | https://www.irccloud.com/pastebin/2c1UCgx9/ | 19:37 |
lile | https://www.irccloud.com/pastebin/zvD5ZNcv/ | 19:38 |
lile | I've manually fixed the nodeid's and it seems to be starting now | 19:41 |
lile | I think this might be better? | 19:47 |
lile | https://www.irccloud.com/pastebin/VSnnhf6U/ | 19:47 |
lile | ok, with my changes, I seem to have a working pacemaker/corosync and hostmonitor cluster on Centos | 19:50 |
lile | deploying the full cluster now and will test hv node ha shortly | 19:51 |
*** ChanServ has quit IRC | 20:50 | |
*** ChanServ has joined #openstack-masakari | 21:13 | |
*** orwell.freenode.net sets mode: +o ChanServ | 21:13 | |
lile | goldyfruit, the hostmonitor is hacluster_pacemaker_remote correct? | 22:48 |
goldyfruit | pacemaker_remote and masakari-hostmonitor need to be on the compute | 22:49 |
lile | where do pull masakari-hostmonitor on train? | 22:52 |
lile | I don't see it in kolla or kolla-ansible for train | 22:52 |
goldyfruit | There don't exist | 22:55 |
goldyfruit | I only build masakari-instancemonitor | 22:55 |
lile | so I just need to build out a container for hostmonitor from masakari-monitors? | 22:57 |
goldyfruit | yeah | 22:58 |
lile | did you ever get the pcsd ui working over the web? | 23:05 |
lile | I get nothing but Unable to connect to node 10.232.194.237, no token available in the logs | 23:06 |
lile | I think authkey needs to get pushed to the container in kolla-ansible | 23:08 |
lile | looks like it might need both the pacemaker and corosync authkeys | 23:15 |
lile | ah, regarding hostmonitor, it's already in masakari-monitors, I just need to redeploy it with kolla-ansible for hostmonitor. That's a lot easier. | 23:35 |
*** goldyfruit has quit IRC | 23:45 | |
*** goldyfruit has joined #openstack-masakari | 23:45 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!