When i run bootstrap in How do I configure juju for local usage? i got this error. I have done the same steps. So why that error is comming? Then i checked the permission for index.json file i changed permission but it didn't work.
ERROR failed getting all instances: error executing "lxc-ls": Traceback (most recent call last):; File "/usr/bin/lxc-ls", line 31, in <module>; import lxc; File "/usr/lib/python3/dist-packages/lxc/__init__.py", line 26, in <module>; import _lxc; ImportError: /usr/lib/x86_64-linux-gnu/liblxc.so.1: undefined symbol: cgmanager_get_pid_cgroup_abs_sync
ERROR error executing "lxc-ls": Traceback (most recent call last):; File "/usr/bin/lxc-ls", line 31, in <module>; import lxc; File "/usr/lib/python3/dist-packages/lxc/__init__.py", line 26, in <module>; import _lxc; ImportError: /usr/lib/x86_64-linux-gnu/liblxc.so.1: undefined symbol: cgmanager_get_pid_cgroup_abs_sync
ERROR Bootstrap failed, and the environment could not be destroyed: exit status 1
ERROR rename /home/sajith/.juju/local/storage/.tmp/juju-filestorage-670557739 /home/sajith/.juju/local/storage/tools/streams/v1/index.json: permission denied
These are the steps I followed:
sudo add-apt-repository ppa:juju/stable
sudo apt-get update
sudo apt-get install juju-core
sudo apt-get install juju-local
ssh-keygen -t rsa
juju init
juju switch local
juju bootstrap
ERROR error executing "lxc-ls": Traceback (most recent call last):; File "/usr/bin/lxc-ls", line 31, in <module>; import lxc; File "/usr/lib/python3/dist-packages/lxc/__init__.py", line 26, in <module>; import _lxc; ImportError: /usr/lib/x86_64-linux-gnu/liblxc.so.1: undefined symbol: cgmanager_get_pid_cgroup_abs_sync
sudo rm ~/.juju/environments/local.jenv
and then reconfigure or reinstall from PPA's steps or ssh key generation. I think no other way due to it is more lightly problem for our tender Juju )) – swift Jun 30 '14 at 11:13