ntp install conflicts with existing ntp unit

Bug #1761002 reported by Behzad
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Charms Deployment Guide
Fix Released
Low
Peter Matulis

Bug Description

This doc is inaccurate in this way: The last section in NTP charm is wrong. There are two relations that proposed which are:
juju add-relation neutron-gateway ntp
juju add-relation ceph-osd ntp

but when yo run these two. there would be a conflict in using port 123. The reason is that there would be two instants of NTP in one machine.

This is a doc addition request:
I think it should be theses two relations:

juju add-relation neutron-gateway ntp
juju add-relation nova-compute ntp

-----------------------------------
Release: 0.1 on 2018-03-09 10:29
SHA: 98e4a6558f01d59106d5fcc3aa5fca4aa9bc02ff
Source: Can't derive source file URL
URL: https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/latest/install-openstack.html

Revision history for this message
Ryan Beisner (1chb1n) wrote :

We believe this is resolved in the latest ceph-mon and ceph-osd charm revisions. If you find that that is not the case, please re-open this bug with additional and updated information. Thank you.

Changed in charm-deployment-guide:
status: New → Incomplete
Revision history for this message
James Page (james-page) wrote :

This is less about the charms and more about the deployment.

I think the doc needs updating; however I think only a single unit of the ntp charm will be run on the machine, associated with both ceph-osd and neutron-gateway so triaging as low.

Changed in charm-deployment-guide:
status: Incomplete → Triaged
importance: Undecided → Medium
importance: Medium → Low
Revision history for this message
Peter Matulis (petermatulis) wrote :

I have verified the issue with the latest charms (OpenStack Charms release 19.10).

https://paste.ubuntu.com/p/HfmpNTsrXN/

I guess the fix is to not create the relation between neutron-gateway and ntp. I don't understand why that was done in the first place.

$ juju add-relation neutron-gateway ntp

Changed in charm-deployment-guide:
assignee: nobody → Peter Matulis (petermatulis)
status: Triaged → In Progress
summary: - Install OpenStack in OpenStack Charms Deployment Guide
+ ntp install conflicts with existing ntp unit
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-deployment-guide (master)

Fix proposed to branch: master
Review: https://review.opendev.org/694852

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-deployment-guide (master)

Reviewed: https://review.opendev.org/694852
Committed: https://git.openstack.org/cgit/openstack/charm-deployment-guide/commit/?id=1bbcc43f40d739dd88c808b5cf2c586a013150b5
Submitter: Zuul
Branch: master

commit 1bbcc43f40d739dd88c808b5cf2c586a013150b5
Author: Peter Matulis <email address hidden>
Date: Mon Nov 18 17:31:24 2019 -0500

    Prevent too many ntp units from being installed

    Closes-Bug: #1761002

    Change-Id: I93db56d730da98c58fdb622802c4c2f8863ee713

Changed in charm-deployment-guide:
status: In Progress → Fix Released
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.