local provider should use cloud images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
High
|
Clint Byrum |
Bug Description
Update: The underlying issue here is that the local provider/lxc should be using cloud images instead of the minimal debootstrap we're getting with lxc.
juju on oneiric with lxc provider
Any time I invoke a command that uses perl in a unit, I receive the following errors:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Related branches
- Kapil Thangavelu (community): Approve
-
Diff: 2440 lines (+724/-859)29 files modifiedMakefile (+1/-1)
juju/agents/tests/test_base.py (+1/-1)
juju/control/options.py (+1/-1)
juju/lib/lxc/__init__.py (+72/-94)
juju/lib/lxc/data/juju-create (+0/-156)
juju/lib/lxc/data/lxc.conf (+0/-3)
juju/lib/lxc/tests/test_lxc.py (+90/-92)
juju/lib/service.py (+19/-7)
juju/lib/tests/test_service.py (+17/-1)
juju/machine/tests/data/test_get_container (+44/-0)
juju/machine/tests/test_unit_deployment.py (+24/-40)
juju/machine/unit.py (+55/-59)
juju/providers/common/cloudinit.py (+79/-7)
juju/providers/common/tests/data/cloud_init_branch (+1/-1)
juju/providers/common/tests/data/cloud_init_branch_trunk (+1/-1)
juju/providers/common/tests/data/cloud_init_no_machine_id (+10/-0)
juju/providers/common/tests/data/cloud_init_ppa_apt_proxy (+39/-0)
juju/providers/common/tests/test_cloudinit.py (+36/-2)
juju/providers/common/utils.py (+7/-1)
juju/providers/ec2/tests/data/launch_cloud_init_branch (+1/-1)
juju/providers/local/__init__.py (+17/-14)
juju/providers/local/agent.py (+3/-9)
juju/providers/local/files.py (+11/-9)
juju/providers/local/network.py (+66/-118)
juju/providers/local/tests/test_agent.py (+13/-4)
juju/providers/local/tests/test_files.py (+9/-51)
juju/providers/local/tests/test_network.py (+106/-184)
juju/providers/local/tests/test_provider.py (+1/-1)
setup.py (+0/-1)
tags: | added: local |
Changed in juju: | |
milestone: | none → florence |
summary: |
- locale is not set on lxc containers + local provider should use cloud images |
description: | updated |
Changed in juju: | |
importance: | Medium → High |
Changed in juju: | |
milestone: | galapagos → honolulu |
Changed in juju: | |
milestone: | 0.6 → 0.7 |
status: | Confirmed → In Progress |
assignee: | nobody → Clint Byrum (clint-fewbar) |
Changed in juju: | |
milestone: | 0.7 → 0.6 |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Seems like this is a documentation bug. We should make it clear what the user can and cannot expect from the environment. I'd rather do that than get heavy handed about the container creation.
The other option is to make an LXC template that uses the Ubuntu cloud images. But that would then put bare metal installs as the second class citizen to LXC and EC2, so I think its better to simply document this and fix bugs as they come up. If you need a locale, you probably need a package which provides one, or a config option to configure it.