juju agent fails to start machine by using lxc as provider

Bug #1164843 reported by ZhengPeng Hou
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju (Ubuntu)
Confirmed
High
Unassigned

Bug Description

after bootstrap with local provider, trying to deploy a workload
juju deploy --repository=work/charm local:mongodb
which is a charm pulled from charmstore.
environment.yaml
default: lxc
environments:
  lxc:
    type: local
    control-bucket: juju-be71155aaa9d40ebbd30b6bd4738f17f
    admin-secret: c014637df32a496588a24489a592945b
    default-series: raring
    juju-origin: distro
    data-dir: /home/freeflying/tmp

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: juju 0.6-1ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-15.25-generic 3.8.4
Uname: Linux 3.8.0-15-generic x86_64
ApportVersion: 2.9.2-0ubuntu5
Architecture: amd64
Date: Fri Apr 5 10:23:06 2013
InstallationDate: Installed on 2012-10-02 (184 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Beta amd64 (20120926)
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: juju
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
ZhengPeng Hou (zhengpeng-hou) wrote :
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

2013-04-05 10:20:11,231: twisted@ERROR: Fatal Python error: Py_Initialize: Unable to get the locale encoding
2013-04-05 10:20:11,232: twisted@ERROR: File "/usr/lib/python2.7/encodings/__init__.py", line 123
2013-04-05 10:20:11,232: twisted@ERROR: raise CodecRegistryError,\
2013-04-05 10:20:11,232: twisted@ERROR: ^
2013-04-05 10:20:11,233: twisted@ERROR: SyntaxError: invalid syntax
2013-04-05 10:20:11,233: twisted@ERROR:
2013-04-05 10:20:11,234: juju.agents.machine@ERROR: Error starting unit: mongodb/0

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in juju (Ubuntu):
status: New → Confirmed
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

I'm marking this confirmed based on duplicate bug.

Changed in juju (Ubuntu):
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.