Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] failure on Centos8 #25

Open
noelmcloughlin opened this issue Apr 14, 2020 · 2 comments
Open

[BUG] failure on Centos8 #25

noelmcloughlin opened this issue Apr 14, 2020 · 2 comments
Labels

Comments

@noelmcloughlin
Copy link
Member

Your setup

Formula commit hash / release tag

Versions reports (master & minion)

Pillar / config used

timezone:
  name: 'Europe/Berlin'
  utc: True

Bug details

Describe the bug

[ERROR   ] Command '['timedatectl', 'set-local-rtc', 'false']' failed with return code: 1
[ERROR   ] stdout: Failed to set local RTC: hwclock failed: Child process exited with code 1
[ERROR   ] retcode: 1
[ERROR   ] {'timezone': 'Europe/Berlin'}


          ID: timezone_setting
    Function: timezone.system
        Name: Europe/Berlin
      Result: False
     Comment: Set timezone Europe/Berlin, Failed to set UTC to True
     Started: 10:45:32.901511
    Duration: 123.419 ms
     Changes:
              ----------
              timezone:
                  Europe/Berlin

Steps to reproduce the bug

Expected behaviour

Attempts to fix the bug

Additional context

@javierbertoli
Copy link
Member

Hi @noelmcloughlin . Just out of curiosity and to better understand, this is on 'real' hardware, right? not VMs/cloud? Because on the latter you can't set the HWclock (only the host can do it, if I'm not wrong). One way or the other, I think detecting it would be a nice feature of this formula, though 😄

@noelmcloughlin
Copy link
Member Author

Hello @javierbertoli good point. Perhaps it throws silent error on Cent7 but borks in Cent8. I never saw the error before and the pillars are just test pillars I use!

Yes, Could be improvement since state fails ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants