openstack-helm icon indicating copy to clipboard operation
openstack-helm copied to clipboard

bug: mariadb chart readiness probe fails with kolla/*-binary-mariadb image

Open wilreichert opened this issue 8 years ago • 4 comments

The mariadb chart readiness probe uses pymysql which is not installed in the kolla mariadb images. End result is the database starts fine but the container is never marked as read due to the probe failure.

wilreichert avatar Mar 07 '17 02:03 wilreichert

@wilreichert good catch!

@alanmeadows, would it make sense to explore using a more portable mysql binary client and shell based readiness check?

intlabs avatar Mar 07 '17 03:03 intlabs

The check that is currently python based is extremely simplistic, we can easily replace it with a simpler, less dependent check.

We will need to be able to:

  • Loop forever until success
  • Do error code checking/casing

This should be possible in shell with the mysql client.

alanmeadows avatar Mar 07 '17 15:03 alanmeadows

I can work on this

ap2516 avatar Mar 07 '17 20:03 ap2516

The peer finder python script is also affected. Taking a look at it now

andrecolin avatar Mar 08 '17 12:03 andrecolin