[Openstack] Unable to set options for mysql using Juju Charm

Vijaya Bhaskar vijayabhaskar at sparksupport.com
Tue Dec 23 12:00:48 UTC 2014


Hi everyone,

I am trying to deploy a openstack cluster using Juju Charms + MAAS. I just
tried to deploy mysql with bind_address = 10.0.11.5, but the options are
not applied. When I run juju get mysql , it reports the options correctly ,
however they are not.


vijay at openstack-test:~$ juju status
environment: maas
machines:
  "0":
    agent-state: started
    agent-version: 1.20.14
    dns-name: delayed-income.maas
    instance-id:
/MAAS/api/1.0/nodes/node-ea3f69a2-8a6d-11e4-a2dd-5254001c68d7/
    series: trusty
    hardware: arch=amd64 cpu-cores=1 mem=1024M tags=virtual
    state-server-member-status: has-vote
  "1":
    agent-state: started
    agent-version: 1.20.14
    dns-name: tan-care.maas
    instance-id:
/MAAS/api/1.0/nodes/node-25f730c4-8a6e-11e4-a2dd-5254001c68d7/
    series: trusty
    hardware: arch=amd64 cpu-cores=1 mem=1024M tags=virtual
  "2":
    agent-state: started
    agent-version: 1.20.14
    dns-name: identical-kiss.maas
    instance-id:
/MAAS/api/1.0/nodes/node-4cbe52fa-8a6e-11e4-88fa-5254001c68d7/
    series: trusty
    hardware: arch=amd64 cpu-cores=1 mem=500M tags=virtual
services:
  juju-gui:
    charm: cs:trusty/juju-gui-16
    exposed: false
    units:
      juju-gui/0:
        agent-state: started
        agent-version: 1.20.14
        machine: "2"
        open-ports:
        - 80/tcp
        - 443/tcp
        public-address: identical-kiss.maas
  mysql:
    charm: cs:trusty/mysql-13
    exposed: false
    relations:
      cluster:
      - mysql
    units:
      mysql/0:
        agent-state: started
        agent-version: 1.20.14
        machine: "0"
        public-address: delayed-income.maas
networks:
  maas-eth0:
    provider-id: maas-eth0
    cidr: 10.0.11.0/24


vijay at openstack-test:~$ juju get mysql
charm: mysql
service: mysql
settings:
  bind-address:
    description: mysql bind host address
    type: string
    value: 10.0.11.5

root at delayed-income:/home/ubuntu# grep bind /etc/mysql/my.cnf
bind-address            = 0.0.0.0


I went through the logs , and found this info:

2014-12-23 11:52:53 INFO juju-log Installing mysql-server with options:
['--option=Dpkg::Options::=--force-confold']

I think the options are not applied while installing


Please help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141223/224017a3/attachment.html>


More information about the Openstack mailing list