Comment 4 for bug 1424701

Revision history for this message
Stanislaw Bogatkin (sbogatkin) wrote :

Okay :)
Problem actually related to that fact that in swarm tests we have image-base provisioning enabled by default (and in usual deployment we haven't - it's why I can't reproduce this bug in usual way).
In usual Centos deployed by cobbler we set
timezone --utc Etc/UTC

and in target OS we have:
[root@node-1 ~]# cat /etc/sysconfig/clock
ZONE="Etc/UTC"

and in image for image-base provisioning we hadn't set this option:
[root@nailgun targetimages]# pwd
/var/www/nailgun/targetimages
[root@nailgun targetimages]# cat centos_65_x86_64.img.gz | gunzip > centos_65_x86_64.img
[root@nailgun targetimages]# ls
centos_65_x86_64-boot.img.gz centos_65_x86_64.img centos_65_x86_64.img.gz profile.yaml TRANS.TBL ubuntu_1204_amd64-boot.img.gz ubuntu_1204_amd64.img.gz
[root@nailgun targetimages]# mount -o loop centos_65_x86_64.img /mnt/
[root@nailgun targetimages]# cat /mnt/etc/sysconfig/clock
ZONE="America/New_York"
UTC=True

So. it should be changed in image.