Open mirw opened 8 years ago
@mirw Adding it to the charm install is certainly a valid option as it's not being used in that hook context yet. We may want to evaluate how to extrapolate this charm into a layer (much larger work item), and merge those dependencies into a wheelhouse for offline ability.
I haven't touched this charm in quite a while, as there has been talk of DNS being included in Juju-Core which isn't fully fleshed out, but it seems like it belongs there rather than in a third party charm.
I'd like to invite you to converse about the moving of dns into juju-core on the public mailing list as a stake holder for the feature. I think having your input on the base feature would be invaluable, as you're making use of "advanced" (air quotes) records, namely NAPTR, AAAA's and SRV records.
Thanks - what's the URL for joining the mailing list?
...and do you have any thoughts on what might have changed here to expose this issue? I'm sure it didn't happen when I used this before - maybe newer versions of Juju install different base packages (i.e. not including python-dns) on their managed machines?
I recently rebuild my Juju OpenStack rig, which meant I had to re-download my Ubuntu images. I pulled down Ubuntu 12.04.5, where previously I was using Ubuntu 12.04.4. (I'm not sure if this is relevant, but it seems to be the only change I can see.)
When I deploy the DNS charm (whether I do it in online or offline mode), I get the following error:
It seems the DNS module isn't installed. I can fix this by
juju ssh
-ing into the machine and runningsudo apt-get install python-dns*
, followed byjuju resolved --retry dns/0
.Should
python-dns*
(or maybe just one ofpython-dns
orpython-dnspython
) be added to theapt_install
line inhooks/install
, or is this dependency supposed to be satisfied by the list incharm/requirements.txt
?As I say, I've worked around this, but it would be useful to understand how the dependency should be satisfied (and how it's been satisfied in the past, as it's clearly worked previously). Any pointers you can provide would be appreciated!