block if deployed in a container

Bug #1902314 reported by Andrea Ieri
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
NTP Charm
New
Undecided
Unassigned

Bug Description

ntp should not be run in containers, as they will use the clock of the underlying host.

The charm should therefore block to signal the operator that there is no need to deploy ntp on lxds.

Note: charmhelpers provides container detection in charmhelpers.core.host.is_container()

Revision history for this message
Andrea Ieri (aieri) wrote :

...actually I see that the charm does detect when it's running in a container and disables time adjustments. Does it still make sense to install the software when running in an lxd?

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.