MAAS + LXC containers == unable to upgrade charms due to git hostname resolution issues
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
juju-core | ||||||
1.18 |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
I know that git has disappeared from use by juju on service units for 1.19.x, but I still see issues upgrading charms running in LXC containers in MAAS environments under 1.18.x; specifically I get:
2014-06-12 10:15:26 ERROR juju.worker.
path: /var/lib/
args: []string{"commit", "--allow-empty", "-m", "Imported charm \"local:
*** Please tell me who you are.
Run
git config --global user.email "<email address hidden>"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got 'root@juju-
2014-06-12 10:15:26 ERROR juju.worker.
tags: | added: lxc maas-provider |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → Medium |
no longer affects: | juju-core |
tags: | added: canonical-is |
I worked around this by adding an entry to /etc/hosts for 127.0.1.1 so that git was able to resolve a full hostname.