Hello,
i have a mysterious problem.
1) is NOT an UTC / Time zone problem + (edit) NOT a "ntpd" problem
########### INFORMATIONS of servers :
2) DESTINATION
-------------------
ROOT - DESTINATION # pveversion -vproxmox-ve-2.6.32: not correctly installed (running kernel: 3.2.59-01-amd64-proxmox)
pve-manager: 3.2-4 (running version: 3.2-4/e24a91c1)
pve-kernel-2.6.32-26-pve: 2.6.32-114
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.5-1
pve-cluster: 3.0-12
qemu-server: 3.1-16
pve-firmware: 1.1-3
libpve-common-perl: 3.0-18
libpve-access-control: 3.0-11
libpve-storage-perl: 3.0-19
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-6
vzctl: not correctly installed
vzprocps: not correctly installed
vzquota: not correctly installed
pve-qemu-kvm: 1.7-8
ksm-control-daemon: not correctly installed
glusterfs-client: 3.4.2-1
ROOT -DESTINATION # uname -a
Linux DESTINATION 3.2.59-01-amd64-proxmox #1 SMP Tue Jun 3 11:48:44 CEST 2014 x86_64 GNU/Linux
-------------------
3) SOURCE (proxmox v2)
-------------------
ROOT - SOURCE # pveversion -v
pve-manager: 2.3-13 (pve-manager/2.3/7946f1f1)
running kernel: 3.2.52-01-amd64-proxmox
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.4-4
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.93-2
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.9-1
pve-cluster: 1.0-36
qemu-server: 2.3-20
pve-firmware: not correctly installed
libpve-common-perl: 1.0-49
libpve-access-control: 1.0-26
libpve-storage-perl: 2.3-7
vncterm: 1.0-3
vzctl: not correctly installed
vzprocps: not correctly installed
vzquota: not correctly installed )
ROOT - SOURCE # uname -a
Linux SOURCE 3.2.52-01-amd64-proxmox #1 SMP Mon Oct 28 12:01:23 CET 2013 x86_64 GNU/Linux
-------------------
########### INFORMATIONS of servers !
[EDIT] --------------------
Debian 7.6 in both and similar kernel :
# uname -a
Linux SOURCE 3.2.59-01-amd64 {-proxmox} #1 SMP
On my vm exactly :
Linux SOURCE 3.2.59-01-amd64 #1 SMP
Debian 7.6
On my proxmox V3:
Linux SOURCE 3.2.59-01-amd64-proxmox #1 SMP
Debian 7.6
On my proxmox V2:
Linux SOURCE 3.2.52-01-amd64-proxmox #1 SMP
Debian 7.6
666.conf
-------------
bootdisk: virtio0
cores: 2
ide2: none,media=cdrom
memory: 2048
name: my-vm
net0: virtio=MAC ADRESS
onboot: 1
ostype: l26
sockets: 1
virtio0: my-lvm-vstore:vm-666-disk-1,size=50G
------------
add or not "localtime: 1" in 666.conf have no effect !
-------------------- [EDIT]
So my problem ; i migrated one VM from "SOURCE" to "DESTINATION" = in order proxmox v2 to proxmox v3.
Today 2014-08-28 when i started my VM (on proxmox V3) "date" say 2014-08-25@15:44
hwclock have good time : 2014-08-28@10:00 (when i write this)
When i started my VM on proxmox V2; the SAME VM, the same /etc/pve/qemeu-serrver/666.conf And the same LVM
Date and hwclock are good !
In first case proxmox V3 date is always 2014-08-25 ("date" say it) but hwclock have good time (time of my server)
In second case proxmox V2 date is good and hwclock too.
What i tryed (on my VM) :
1) hwclock --hctosys didn't work, "date" reset after reboot.
2) modify /etc/rcS to add some thing like "hwclock --hctosys" take no effect. (and more tries)
3) hwclock --adjust to modify /etc/adjtime ; to take effet
4) delete /etc/adjtime ; my hwclock reset to "date"
(and i neeed to make hwclock --sete --date "good date")
In all case "date" say 2014-08-25@15h44
Instead of hwclock say the "real time"
(NB : in all case i started in single mode ; there is an fsck issue to "future"
and i use single mode for down my network interface ; i don't want to update "date" by ntp : I want to solve this problem )
[EDIT] --------------------
For example :
1) My VM still running
2) i update "date" with hwclock or ntpd ; is same result !
3) Date reply Thu aug 28 12:00 = "real time" / good time
4) # reboot
5) When my VM restart
a) problem with fsck "wrong date ; from future" ... date reply >> 2014-08-25@15:44 last mount Thu aug 28 12:00 = "today" / actual time.
b) "give root password for maintenance (or type CTRL-D to continue )"
c) typing root password
d) my-vm # hwclock && date
Thu aug 28 12:00 ( = today )
Mon aug 25 15:44
Is it clear with example ?
If you prefer like : Groundhog Day or Edge of tomorow ! ^_^
This "image" is more comprehensive ??
-------------------- [EDIT]
So i presume i missed something but...
If you have any question to need more informations of my case you welcome
If you have any suggestions, with pleasure
thank you,
L.
i have a mysterious problem.
1) is NOT an UTC / Time zone problem + (edit) NOT a "ntpd" problem
########### INFORMATIONS of servers :
2) DESTINATION
-------------------
ROOT - DESTINATION # pveversion -vproxmox-ve-2.6.32: not correctly installed (running kernel: 3.2.59-01-amd64-proxmox)
pve-manager: 3.2-4 (running version: 3.2-4/e24a91c1)
pve-kernel-2.6.32-26-pve: 2.6.32-114
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.5-1
pve-cluster: 3.0-12
qemu-server: 3.1-16
pve-firmware: 1.1-3
libpve-common-perl: 3.0-18
libpve-access-control: 3.0-11
libpve-storage-perl: 3.0-19
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-6
vzctl: not correctly installed
vzprocps: not correctly installed
vzquota: not correctly installed
pve-qemu-kvm: 1.7-8
ksm-control-daemon: not correctly installed
glusterfs-client: 3.4.2-1
ROOT -DESTINATION # uname -a
Linux DESTINATION 3.2.59-01-amd64-proxmox #1 SMP Tue Jun 3 11:48:44 CEST 2014 x86_64 GNU/Linux
-------------------
3) SOURCE (proxmox v2)
-------------------
ROOT - SOURCE # pveversion -v
pve-manager: 2.3-13 (pve-manager/2.3/7946f1f1)
running kernel: 3.2.52-01-amd64-proxmox
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.4-4
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.93-2
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.9-1
pve-cluster: 1.0-36
qemu-server: 2.3-20
pve-firmware: not correctly installed
libpve-common-perl: 1.0-49
libpve-access-control: 1.0-26
libpve-storage-perl: 2.3-7
vncterm: 1.0-3
vzctl: not correctly installed
vzprocps: not correctly installed
vzquota: not correctly installed )
ROOT - SOURCE # uname -a
Linux SOURCE 3.2.52-01-amd64-proxmox #1 SMP Mon Oct 28 12:01:23 CET 2013 x86_64 GNU/Linux
-------------------
########### INFORMATIONS of servers !
[EDIT] --------------------
Debian 7.6 in both and similar kernel :
# uname -a
Linux SOURCE 3.2.59-01-amd64 {-proxmox} #1 SMP
On my vm exactly :
Linux SOURCE 3.2.59-01-amd64 #1 SMP
Debian 7.6
On my proxmox V3:
Linux SOURCE 3.2.59-01-amd64-proxmox #1 SMP
Debian 7.6
On my proxmox V2:
Linux SOURCE 3.2.52-01-amd64-proxmox #1 SMP
Debian 7.6
666.conf
-------------
bootdisk: virtio0
cores: 2
ide2: none,media=cdrom
memory: 2048
name: my-vm
net0: virtio=MAC ADRESS
onboot: 1
ostype: l26
sockets: 1
virtio0: my-lvm-vstore:vm-666-disk-1,size=50G
------------
add or not "localtime: 1" in 666.conf have no effect !
-------------------- [EDIT]
So my problem ; i migrated one VM from "SOURCE" to "DESTINATION" = in order proxmox v2 to proxmox v3.
Today 2014-08-28 when i started my VM (on proxmox V3) "date" say 2014-08-25@15:44
hwclock have good time : 2014-08-28@10:00 (when i write this)
When i started my VM on proxmox V2; the SAME VM, the same /etc/pve/qemeu-serrver/666.conf And the same LVM
Date and hwclock are good !
In first case proxmox V3 date is always 2014-08-25 ("date" say it) but hwclock have good time (time of my server)
In second case proxmox V2 date is good and hwclock too.
What i tryed (on my VM) :
1) hwclock --hctosys didn't work, "date" reset after reboot.
2) modify /etc/rcS to add some thing like "hwclock --hctosys" take no effect. (and more tries)
3) hwclock --adjust to modify /etc/adjtime ; to take effet
4) delete /etc/adjtime ; my hwclock reset to "date"
(and i neeed to make hwclock --sete --date "good date")
In all case "date" say 2014-08-25@15h44
Instead of hwclock say the "real time"
(NB : in all case i started in single mode ; there is an fsck issue to "future"
and i use single mode for down my network interface ; i don't want to update "date" by ntp : I want to solve this problem )
[EDIT] --------------------
For example :
1) My VM still running
2) i update "date" with hwclock or ntpd ; is same result !
3) Date reply Thu aug 28 12:00 = "real time" / good time
4) # reboot
5) When my VM restart
a) problem with fsck "wrong date ; from future" ... date reply >> 2014-08-25@15:44 last mount Thu aug 28 12:00 = "today" / actual time.
b) "give root password for maintenance (or type CTRL-D to continue )"
c) typing root password
d) my-vm # hwclock && date
Thu aug 28 12:00 ( = today )
Mon aug 25 15:44
Is it clear with example ?
If you prefer like : Groundhog Day or Edge of tomorow ! ^_^
This "image" is more comprehensive ??
-------------------- [EDIT]
So i presume i missed something but...
If you have any question to need more informations of my case you welcome
If you have any suggestions, with pleasure
thank you,
L.
Last edited: