Bug 1318752

Summary: ERROR -- : Failed to apply time and timezone configuration: /bin/timedatectl exit code: 1
Product: Red Hat CloudForms Management Engine Reporter: John Prause <jprause>
Component: ApplianceAssignee: Joe Vlcek <jvlcek>
Status: CLOSED ERRATA QA Contact: Jeff Teehan <jteehan>
Severity: high Docs Contact:
Priority: high    
Version: 5.5.0CC: abellott, cpelland, dajohnso, jhardy, jrafanie, jteehan, jvlcek, kmorey, mfeifer, nachandr, nstephan, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.5.4   
Hardware: All   
OS: All   
Whiteboard: appliance:timezone
Fixed In Version: 5.5.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1316674 Environment:
Last Closed: 2016-05-31 13:41:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1316674    
Bug Blocks:    

Comment 1 CFME Bot 2016-04-14 12:11:55 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=9d47e6a7c2602fec86d7fd3c82ef05acfe3aa4e2

commit 9d47e6a7c2602fec86d7fd3c82ef05acfe3aa4e2
Merge: 9f2426a 9c51cf0
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Thu Apr 14 08:11:25 2016 -0400
Commit:     Gregg Tanzillo <gtanzill>
CommitDate: Thu Apr 14 08:11:25 2016 -0400

    Merge branch 'bz_1318752' into '5.5.z'
    
    Separate setting timezone from setting date and time.
    
    Move timezone and date_time from appliance_console.rb to new classes
    and added disabling of automatic time synchronization when setting date
    and time.
    
    Fixes BZ:
    https://bugzilla.redhat.com/show_bug.cgi?id=1316674
    
    cherry-pick of:
    https://github.com/ManageIQ/manageiq/pull/7246
    
    Fixes 5.5.z BZ:
    https://bugzilla.redhat.com/show_bug.cgi?id=1318752
    
    Cherry pick was not clean for gems/pending/appliance_console.rb due to
    minor issues.
    
    See merge request !879

 gems/pending/appliance_console.rb                  | 125 ++++-------
 .../appliance_console/date_time_configuration.rb   | 118 +++++++++++
 gems/pending/appliance_console/locales/en.yml      |   4 +-
 gems/pending/appliance_console/prompts.rb          |  12 +-
 .../appliance_console/timezone_configuration.rb    |  93 +++++++++
 .../date_time_configuration_spec.rb                | 232 +++++++++++++++++++++
 .../pending/spec/appliance_console/prompts_spec.rb |  16 --
 .../timezone_configuration_spec.rb                 | 101 +++++++++
 8 files changed, 586 insertions(+), 115 deletions(-)

Comment 2 CFME Bot 2016-04-14 12:11:59 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=de7dfa01fd3e2fa56c510a107ed37a8e88b18d93

commit de7dfa01fd3e2fa56c510a107ed37a8e88b18d93
Author:     Joe VLcek <jvlcek>
AuthorDate: Fri Mar 11 15:26:57 2016 -0500
Commit:     Joe VLcek <jvlcek>
CommitDate: Wed Mar 30 16:38:29 2016 -0400

    Separate setting timezone from setting date and time.
    
    Move timezone and date_time from appliance_console.rb to new classes
    and added disabling of automatic time synchronization when setting date
    and time.
    
    Fixes BZ:
    https://bugzilla.redhat.com/show_bug.cgi?id=1316674
    
    cherry-pick of:
    https://github.com/ManageIQ/manageiq/pull/7246
    
    Fixes 5.5.z BZ:
    https://bugzilla.redhat.com/show_bug.cgi?id=1318752
    
    Cherry pick was not clean for gems/pending/appliance_console.rb due to
    minor issues.

 gems/pending/appliance_console.rb                  | 125 ++++-------
 .../appliance_console/date_time_configuration.rb   | 118 +++++++++++
 gems/pending/appliance_console/locales/en.yml      |   4 +-
 gems/pending/appliance_console/prompts.rb          |  12 +-
 .../appliance_console/timezone_configuration.rb    |  93 +++++++++
 .../date_time_configuration_spec.rb                | 230 +++++++++++++++++++++
 .../pending/spec/appliance_console/prompts_spec.rb |  16 --
 .../timezone_configuration_spec.rb                 |  99 +++++++++
 8 files changed, 582 insertions(+), 115 deletions(-)
 create mode 100644 gems/pending/appliance_console/date_time_configuration.rb
 create mode 100644 gems/pending/appliance_console/timezone_configuration.rb
 create mode 100644 gems/pending/spec/appliance_console/date_time_configuration_spec.rb
 create mode 100644 gems/pending/spec/appliance_console/timezone_configuration_spec.rb

Comment 3 Jeff Teehan 2016-04-18 17:30:42 UTC
I'll do this one too since I already have the 5.6 version.

Comment 5 Jeff Teehan 2016-04-28 16:05:06 UTC
This is working in 5.5.4.0 as well.  Verified on https://10.16.6.83/

Comment 7 errata-xmlrpc 2016-05-31 13:41:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1101