Re: [xcat-user] Timezone settings: how it works?

2019-12-19 Thread Vinícius Ferrão via xCAT-user
Nathan you’re right.

We hit another problem now: why genimage does not update the tzdata package.

We are debugging this issue.

Thank you!

Sent from my iPhone

On 13 Dec 2019, at 18:39, Nathan A Besaw  wrote:



The timezone files for the diskless image come from within the rootimg 
directory, not /usr/share/zoneinfo on the management node.

For your situation below, I would expect that the correct file is:
/install/netboot/centos7.6/x86_64/compute/rootimg/usr/share/zoneinfo/America/Sao_Paulo

Check to see if this checksum matches:
md5sum 
/install/netboot/centos7.6/x86_64/compute/rootimg/usr/share/zoneinfo/America/Sao_Paulo


"Vinícius Ferrão via xCAT-user" ---12/13/2019 02:31:42 PM---Hello, I’m with an 
issue with timezone settings of xCAT.

From: "Vinícius Ferrão via xCAT-user" 
To: "xcat-user@lists.sourceforge.net" 
Cc: "Vinícius Ferrão" 
Date: 12/13/2019 02:31 PM
Subject: [EXTERNAL] [xcat-user] Timezone settings: how it works?





Hello,

I’m with an issue with timezone settings of xCAT.

I do have the configuration in place on xCAT:
[root@headnode etc]# lsdef -t site clustersite | grep timezone
   timezone=America/Sao_Paulo

But when I run packimage it gets a timezone file from a place that I don’t know 
which is.

Here’s the md5 of /etc/localtime inside the image:
md5sum /install/netboot/centos7.6/x86_64/compute/rootimg/etc/localtime
346a7b10fbc17af944896bad4d093568

It should be this one:
md5sum /etc/localtime
339ff8dbd88e39f59b2fd4ee57b1fdb1  /etc/localtime

I even tried search for this specific md5 on /usr/share/zoneinfo but I was 
unable to find it:
find . -type f -exec md5sum {} + | grep 346a7b10fbc17af944896bad4d093568

So the question is, from where xCAT gets the zone info when running packimage?

Thanks,


___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user




___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user
___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user


Re: [xcat-user] Timezone settings: how it works?

2019-12-13 Thread Nathan A Besaw
The timezone files for the diskless image come from within the rootimg
directory, not /usr/share/zoneinfo on the management node.

For your situation below, I would expect that the correct file is:
/install/netboot/centos7.6/x86_64/compute/rootimg/usr/share/zoneinfo/America/Sao_Paulo

Check to see if this checksum matches:
md5sum /install/netboot/centos7.6/x86_64/compute/
rootimg/usr/share/zoneinfo/America/Sao_Paulo



From:   "Vinícius Ferrão via xCAT-user"

To: "xcat-user@lists.sourceforge.net"

Cc: "Vinícius Ferrão" 
Date:   12/13/2019 02:31 PM
Subject:    [EXTERNAL] [xcat-user] Timezone settings: how it works?



Hello,

I’m with an issue with timezone settings of xCAT.

I do have the configuration in place on xCAT:
[root@headnode etc]# lsdef -t site clustersite | grep timezone
timezone=America/Sao_Paulo

But when I run packimage it gets a timezone file from a place that I don’t
know which is.

Here’s the md5 of /etc/localtime inside the image:
md5sum /install/netboot/centos7.6/x86_64/compute/rootimg/etc/localtime
346a7b10fbc17af944896bad4d093568

It should be this one:
md5sum /etc/localtime
339ff8dbd88e39f59b2fd4ee57b1fdb1  /etc/localtime

I even tried search for this specific md5 on /usr/share/zoneinfo but I was
unable to find it:
find . -type f -exec md5sum {} + | grep 346a7b10fbc17af944896bad4d093568

So the question is, from where xCAT gets the zone info when running
packimage?

Thanks,


___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_xcat-2Duser=DwIGaQ=jf_iaSHvJObTbx-siA1ZOg=95pZYYPXXV-5mn9YO7FX6q2JdbPYeCR6fMnFTgqZ_M8=mz0ZfcfbWmFbjqRybKLAobvz8CDP0lt2s3Tv-Yfgg3k=Pn0ROvmesCsHa6zxgW8I7g_py5x8cWoRCBfSyErsAOc=




___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user


[xcat-user] Timezone settings: how it works?

2019-12-13 Thread Vinícius Ferrão via xCAT-user
Hello,

I’m with an issue with timezone settings of xCAT.

I do have the configuration in place on xCAT:
[root@headnode etc]# lsdef -t site clustersite | grep timezone
timezone=America/Sao_Paulo

But when I run packimage it gets a timezone file from a place that I don’t know 
which is.

Here’s the md5 of /etc/localtime inside the image:
md5sum /install/netboot/centos7.6/x86_64/compute/rootimg/etc/localtime 
346a7b10fbc17af944896bad4d093568

It should be this one:
md5sum /etc/localtime 
339ff8dbd88e39f59b2fd4ee57b1fdb1  /etc/localtime

I even tried search for this specific md5 on /usr/share/zoneinfo but I was 
unable to find it:
find . -type f -exec md5sum {} + | grep 346a7b10fbc17af944896bad4d093568

So the question is, from where xCAT gets the zone info when running packimage?

Thanks,


___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user