Enviroment
I work for IBM and trying to prototype netboot (pxe) for ubuntu. This question is used to identify an issue that was encountered when using juju to deploy the https://jujucharms.com/u/openstack-charmers-next/openstack-base/40 bundle. The bundle deploys out all necessary services (openstack, rabbitmq, ceph, mysql (percona) and so on. Unfortunately the openstack 40 bundle out of the box fails during mysql/percona deployment.
Problem
When setting up percona for mysql it fails due to
Unable to set password for the Percona Server "root" user
The above message is seen in the log for mysql on the node/machine that is running the lxc container for mysql/percona.
If you use juju status will see this:
mysql:
charm: cs:~openstack-charmers-next/trusty/percona-cluster-7
exposed: false
service-status:
  current: error
  message: 'hook failed: "install"'   <=====================
  since: 14 Oct 2015 16:19:51Z
relations:
  cluster:
  - mysql
units:
  mysql/0:
    workload-status:
      current: error
      message: 'hook failed: "install"'  <=====================
      since: 14 Oct 2015 16:19:51Z
    agent-status:
      current: idle
      since: 14 Oct 2015 16:19:51Z
      version: 1.24.6
    agent-state: error
    agent-state-info: 'hook failed: "install"'