Bug 1238528 - overcloud deploy with --ntp-server doesn't work
Summary: overcloud deploy with --ntp-server doesn't work
Keywords:
Status: CLOSED DUPLICATE of bug 1233916
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: instack
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: Director
Assignee: James Slagle
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-02 05:19 UTC by Graeme Gillies
Modified: 2016-04-18 06:50 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-02 11:14:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Graeme Gillies 2015-07-02 05:19:47 UTC
When attempting to do an overcloud deploy specifying an ntp server e.g.


openstack overcloud deploy --control-scale 1 --compute-scale 1 --ceph-storage-scale 0 --block-storage-scale 0 --swift-storage-scale 0 --neutron-public-interface eth1 --nodes-json instackenv.json --overcloud_nameserver 192.168.1.1 --floating-ip-cidr 192.168.1.0/24 --floating-ip-start 192.168.1.230 --floating-ip-end 192.168.1.240 --bm-network-gateway 192.168.1.1 --use-tripleo-heat-templates --tripleo-root /home/stack/openstack-deployment/openstack-tripleo-heat-templates --ntp-server 0.au.pool.ntp.org

It fails with the following error

    "deploy_stderr": "\u001b[1;31mWarning: The package type's allow_virtual parameter will be changing its default value from false to true in a future release. If you do not want to allow virtual packages, please explicitly set allow_virtual to false.\n   (at /usr/share/ruby/vendor_ruby/puppet/type.rb:816:in `set_default')\u001b[0m\n\u001b[1;31mError: Could not start Service[ntp]: Execution of '/usr/bin/systemctl start ntpd' returned 6: Failed to issue method call: Unit ntpd.service failed to load: No such file or directory.\nWrapped exception:\nExecution of '/usr/bin/systemctl start ntpd' returned 6: Failed to issue method call: Unit ntpd.service failed to load: No such file or directory.\u001b[0m\n\u001b[1;31mError: /Stage[main]/Ntp::Service/Service[ntp]/ensure: change from stopped to running failed: Could not start Service[ntp]: Execution of '/usr/bin/systemctl start ntpd' returned 6: Failed to issue method call: Unit ntpd.service failed to load: No such file or directory.\u001b[0m\n\u001b[1;31mWarning: /Stage[main]/Ntp/Anchor[ntp::end]: Skipping because of failed dependencies\u001b[0m\n", 
    "deploy_status_code": 6
  }

Hard to read but the important part is

Failed to issue method call: Unit ntpd.service failed to load: No such file or directory

can we please make sure ntpd is installed and configured on the overcloud images? Likewise, maybe we should be looking at using systemds timedatectl and chrony instead?

Cheers,

Graeme

Comment 3 Mike Burns 2015-07-02 11:14:53 UTC
Can you please make sure you list relevant package versions or at least puddle/poodle that you're using?

In this case, I'm going to assume that you're using the 29.1 puddle which did not yet have bug 1233916 fixed

*** This bug has been marked as a duplicate of bug 1233916 ***

Comment 4 Graeme Gillies 2015-07-02 22:26:19 UTC
Sorry yeah I was using 29.1 in which case this duplication is correct.

I'll make sure to put the puddle/poodle in the future


Note You need to log in before you can comment on or make changes to this bug.