With "TimeZone" parameter defined, the deployment fails at step2 in controller

Bug #1710129 reported by Saravanan KR on 2017-08-11
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Medium
Unassigned

Bug Description

Add below env for the container deployment. The deployment fails at step2 in controller.

parameter_defaults:
  TimeZone: Kolkata

controller /var/log/messages failures paste
-------------------------------------------
http://paste.openstack.org/show/618140/

docker failure
--------------
[root@overcloud-controller-0 tripleo-config]# docker run --name mysql --label config_id=tripleo_step2 --label container_name=mysql --label managed_by=paunch --label config_data='{"environment": ["KOLLA_CONFIG_STRATEGY=COPY_ALWAYS" start_order": volumes": ["/var/lib/kolla/config_files/mysql.json:/var/lib/kolla/config_files/config.json /var/lib/config-data/puppet-generated/mysql/:/var/lib/kolla/config_files/src:ro /etc/localtime:/etc/localtime:ro /etc/hosts:/etc/hosts:ro /var/lib/mysql:/var/lib/mysql /var/log/containers/mysql:/var/log/mariadb" image": "10.60.19.51:5000/rhosp12/openstack-mariadb-docker:latest net": "host restart": "always"}' --detach=true --env=KOLLA_CONFIG_STRATEGY=COPY_ALWAYS --net=host --restart=always --volume=/var/lib/kolla/config_files/mysql.json:/var/lib/kolla/config_files/config.json --volume=/var/lib/config-data/puppet-generated/mysql/:/var/lib/kolla/config_files/src:ro --volume=/etc/localtime:/etc/localtime:ro --volume=/etc/hosts:/etc/hosts:ro --volume=/var/lib/mysql:/var/lib/mysql --volume=/var/log/containers/mysql:/var/log/mariadb 10.60.19.51:5000/rhosp12/openstack-mariadb-docker:latest
e8af4cd5eaff604f9f7dd15b90d7e616f2771862ef3ec44cf0bd635cb1996027
/usr/bin/docker-current: Error response from daemon: mkdir /etc/localtime: file exists.

Saravanan KR (skramaja) on 2017-08-11
Changed in tripleo:
importance: Undecided → Medium
status: New → Triaged
milestone: none → queens-1
Changed in tripleo:
milestone: queens-1 → queens-2
Changed in tripleo:
milestone: queens-2 → queens-3
Changed in tripleo:
milestone: queens-3 → queens-rc1
Changed in tripleo:
milestone: queens-rc1 → rocky-1
Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
milestone: stein-2 → stein-3

Is this still an issue?

David Juran (djuran) wrote :

AFAIK, it's working at least in Queens

Saravanan KR (skramaja) wrote :

I have not tested it. Will close it now. I will reopen if it persists.

Changed in tripleo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers