SNTP tried to set date to 1/1/1970 but set as 08/19/2037

Bug #1417114 reported by Tatyana Dubyk
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
Medium
Andrey Danin

Bug Description

[root@nailgun ~]# fuel --fuel-version
api: '1.0'
astute_sha: ed5270bf9c6c1234797e00bd7d4dd3213253a413
auth_required: true
build_id: 2015-02-01_22-55-01
build_number: '92'
feature_groups:
- mirantis
fuellib_sha: c5e4a0410ba66f9e9911f62b3b71c0b9c29aed6e
fuelmain_sha: ''
nailgun_sha: c0932eb5c2aa7fd1e13a999cb1b4bf5aff101c3b
ostf_sha: c9100263140008abfcc2704732e98fbdfd644068
production: docker
python-fuelclient_sha: 2ea7b3e91c1d2ff85110bf5abb161a6f4e537358
release: '6.1'
release_versions:
  2014.2-6.1:
    VERSION:
      api: '1.0'
      astute_sha: ed5270bf9c6c1234797e00bd7d4dd3213253a413
      build_id: 2015-02-01_22-55-01
      build_number: '92'
      feature_groups:
      - mirantis
      fuellib_sha: c5e4a0410ba66f9e9911f62b3b71c0b9c29aed6e
      fuelmain_sha: ''
      nailgun_sha: c0932eb5c2aa7fd1e13a999cb1b4bf5aff101c3b
      ostf_sha: c9100263140008abfcc2704732e98fbdfd644068
      production: docker
      python-fuelclient_sha: 2ea7b3e91c1d2ff85110bf5abb161a6f4e537358
      release: '6.1'

Interfaces on slaves:
eth0 - admin(PXE)
eth1 - public
eth2 - management
eth3 - VM(Fixed) VLAN ID:103
eth4 - storage

Steps to reproduce:
1. deploy lab using iso : 6.1 build 92
2. create env with parameters:
-OS: any (as example I uses Ubuntu)
-hypervisor: vcenter
-settings for vcenter :
VCENTER_IP=172.16.0.254
<email address hidden>
VCENTER_PASSWORD=Qwer!1234
VCENTER_CLUSTERS=Cluster1

-networking setup: default
-storage backends: vmware esxi for glance and cinder
with settings:

vcenter/ESXi IP: 172.16.0.254
username: <email address hidden>
password: Qwer!1234
Datastore name: nfs
Datacenter name: Datacenter
Datastore Images directory: /openstack_glance

-additional services: default

3. click on create nodes button and add:
 - 1 node with role : cinder
 - 1 node with role: controller
   then start deployment
4. in Fuel UI check that provisioning process on node with Cinder role has already been finished, but on node with controller role is still in provisioning status and after more than 30 min. it looks like it is hanging on.

5. check that in Virtual Manager all slaves have already been provisioned (compare uses mac addressed)

Reason:
Ubuntu came up after provisioning and run SNTP (something like 'sntp ubuntu.pool.ntp.org') to adjust date and time. It received a wrong data '1970-01-01 00:00:05' but after the data was applied the system time became 'Wed Aug 19 20:15:33 UTC 2037'.

Tatyana Dubyk (tdubyk)
Changed in fuel:
milestone: none → 6.1
assignee: nobody → Fuel Core Team (fuel-core)
Revision history for this message
Tatyana Dubyk (tdubyk) wrote :
Revision history for this message
Tatyana Dubyk (tdubyk) wrote :

[root@nailgun ~]# fuel nodes list
id | status | name | cluster | ip | mac | roles | pending_roles | online | group_id
---|--------------|------------------|---------|------------|-------------------|------------|---------------|--------|---------
7 | provisioned | Untitled (85:0d) | 4 | 10.108.0.4 | 64:33:75:bd:85:0d | cinder | | True | 4
6 | provisioning | Untitled (f1:11) | 4 | 10.108.0.5 | 64:5c:42:1b:f1:11 | controller | | True | 4
10 | discover | Untitled (bc:14) | None | 10.108.0.6 | 64:c5:f6:8f:bc:14 | | | True | None
8 | discover | Untitled (23:be) | None | 10.108.0.3 | 64:22:2c:58:23:be | | | True | None
9 | discover | Untitled (ab:67) | None | 10.108.0.7 | 64:9c:28:64:ab:67 | | | True | None

Changed in fuel:
assignee: Fuel Core Team (fuel-core) → Andrey Danin (gcon-monolake)
importance: Undecided → Medium
Revision history for this message
Andrey Danin (gcon-monolake) wrote :

Node-6

After reboot, SNTP updated the time to 19 Aug, 2036
And after that NTPD couldn't start because of another process was using an UDP port.

Feb 2 13:30:22 node-6 cron[904]: (CRON) INFO (Running @reboot jobs)
Feb 2 13:30:22 node-6 sntp[914]: sntp 4.2.8p1-beta2@1.3265 Wed Jan 28 20:32:29 UTC 2015 (1)
Feb 2 13:30:24 node-6 sntp[952]: sntp 4.2.8p1-beta2@1.3265 Wed Jan 28 20:32:29 UTC 2015 (1)
Feb 2 13:30:24 node-6 sntp[952]: 1970-01-01 00:00:05.943083 (+0000) +711441909.156437 +/- 474294606.126671 2.ubuntu.pool.ntp.org 46.243.48.222 s2
Aug 19 20:15:33 node-6 ntpd[978]: ntpd 4.2.8p1-beta2@1.3265 Wed Jan 28 20:32:44 UTC 2015 (1): Starting
Aug 19 20:15:33 node-6 ntpd[978]: Command line: /usr/bin/ntpd -p /var/run/ntpd.pid
Aug 19 20:15:33 node-6 ntpd[979]: proto: precision = 0.173 usec (-22)
Aug 19 20:15:33 node-6 ntpd[979]: unable to bind to wildcard address :: - another process may be running - EXITING
Aug 19 20:15:42 node-6 ntpdate[697]: step time server 84.242.110.163 offset -0.149254 sec

Tatyana Dubyk (tdubyk)
description: updated
Revision history for this message
Andrey Danin (gcon-monolake) wrote :

In fact, date become too far in future.
root@node-6:~# date
Wed Aug 19 21:29:37 UTC 2037

Changed in fuel:
status: New → Confirmed
summary: - In VirtManager provisioning has already been finished, but in Fuel ui
- this status is hanging.
+ SNTP tried to set date to 1/1/1970 but set as 08/19/2037
tags: added: partner
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.