mysql-shell in ubuntu/mysql image

Bug #1911054 reported by Jose C. Massón
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Docker Images
New
Undecided
Paulo Machado

Bug Description

In the Operator Engineering Team we are writing a charm[1] to deploy a MySQL InnoDB Cluster in K8s using the `ubuntu/mysql` docker image you upload to docker hub.

In order to setup the cluster we need a package called mysql-shell[2] inside the image.

Would that be possible?

[1] https://github.com/canonical/mysql-operator/tree/develop
[2] https://dev.mysql.com/downloads/shell/

Tags: mysql
Revision history for this message
Jose C. Massón (jose-masson) wrote :

Attached you'll find the modified Dokerfile I am using to test my development.
It needs refactor, but "works"

Revision history for this message
Jose C. Massón (jose-masson) wrote :
Revision history for this message
Robie Basak (racb) wrote :

We haven't packaged mysql-shell as a deb in Ubuntu due to questions about its security supportability. Similar policy questions would arise were we to include mysql-shell in our OCI images.

summary: - mysql-shel in ubuntu/mysql image
+ mysql-shell in ubuntu/mysql image
Revision history for this message
Jose C. Massón (jose-masson) wrote :

Hello Robie, is completely understandable your point.

Do you think that would be possible not modifying this image but creating a new one (for instance: ubuntu/mysql-mysql-shell) with this package so we can use it in our charm to deploy a MySQL InnoDB cluster?

Revision history for this message
Richard Harding (rharding) wrote :

@Jose, the issue is that there is no package to stick into the image currently. Our images are built from Ubuntu sources of packaging and since Ubuntu has no package for this, we'd first need to overcome that hurdle before it could be delivered as part of the image. Since these images are intended to be supported by the Canonical security and server teams, we'll have to go through that process of audit and review to get it into Ubuntu first.

Revision history for this message
Cristovao Cordeiro (cjdc) wrote :

Assigning it to @paulomachado, just in case the ticket is still relevant. If not, please close it

Changed in ubuntu-docker-images:
assignee: nobody → Paulo Machado (paulomachado)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.