[Bug 1302557] Re: bootstrapping local environment as none root doesn't work

2014-06-06 Thread Launchpad Bug Tracker
[Expired for juju-core (Ubuntu) because there has been no activity for
60 days.]

** Changed in: juju-core (Ubuntu)
   Status: Incomplete = Expired

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju-core in Ubuntu.
https://bugs.launchpad.net/bugs/1302557

Title:
  bootstrapping local environment as none root doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1302557/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1302557] Re: bootstrapping local environment as none root doesn't work

2014-04-07 Thread James Page
Thibaut

Please can you confirm which juju version you are using; 14.04 should
have 1.17.7.

** Changed in: juju-core (Ubuntu)
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju-core in Ubuntu.
https://bugs.launchpad.net/bugs/1302557

Title:
  bootstrapping local environment as none root doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1302557/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1302557] Re: bootstrapping local environment as none root doesn't work

2014-04-07 Thread Ruben Laguna
I'm not an expert but I think https://bugs.launchpad.net/juju-
core/+bug/1301663 is related. At least in my case the reason for the
invalid memory access is a permision denied .

I advise to run juju status and check for permission denied in the
output. if you see a

Error details:
open /home/vagrant/.juju/environments/local.jenv: permission denied 

then it's the same as reported on https://bugs.launchpad.net/juju-
core/+bug/1301663

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju-core in Ubuntu.
https://bugs.launchpad.net/bugs/1302557

Title:
  bootstrapping local environment as none root doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1302557/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1302557] Re: bootstrapping local environment as none root doesn't work

2014-04-07 Thread Ruben Laguna
By the way, in my case /home/vagrant/.juju/environments was owned by
root . I guess because I tried to sudo juju bootstrap before.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju-core in Ubuntu.
https://bugs.launchpad.net/bugs/1302557

Title:
  bootstrapping local environment as none root doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1302557/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1302557] Re: bootstrapping local environment as none root doesn't work

2014-04-07 Thread Thibaut Brandscheid
@James Page
After installing the newest updates - without the juju PPA - the juju version 
is 1.17.7.

My ~/.juju/environments/ is owned by root, too.

I removed the ~/.juju folder and started again with:
juju generate-config
juju switch local
juju bootstrap

This time the bootstraping command could be executed.
I guess the bootstrap section of the juju lxc article should be updated by 
removing sudo from the bootstrap command. In addition, it would be nice if juju 
didn't create ~/.juju/environments when the user accidently runs sudo juju 
bootstrap.
https://juju.ubuntu.com/docs/config-LXC.html#bootstrap-destroy

Off-topic:
Next I tried to set-up juju-gui by typing:
juju deploy juju-gui
juju expose juju-gui

I executed the juju-gui commands around 1 min after the juju bootstrap
command and it doesn't seem to work. Juju status gives me an agent-
state-info error '(error: template container juju-precise-template did
not stop)' (I could create a new bug ticket for this problem if you
wish).  The log command in the lxc article doesn't work either (no
matches found). https://juju.ubuntu.com/docs/config-LXC.html#debug-log

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju-core in Ubuntu.
https://bugs.launchpad.net/bugs/1302557

Title:
  bootstrapping local environment as none root doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1302557/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1302557] Re: bootstrapping local environment as none root doesn't work

2014-04-04 Thread Thibaut Brandscheid
** Description changed:

  OS: Ubuntu GNOME 14.04 64-Bit in VirtualBox
+ juju-core: 1.16.6-0ubuntu1
  
  Guide: https://juju.ubuntu.com/docs/config-LXC.html
  
  What I did:
  sudo apt-get install juju-core juju-local
  juju generate-config
  juju switch local
  
  sudo juju bootstrap → ERROR bootstrapping a local enviroment must not be done 
as root
  juju bootstrap → panic: runtime error: invalid memory address or nil pointer 
dereference
  
  I didn't use the PPA juju version, because I thought the version for the
  next LTS should work too, but it doesn't.
  
  What I would like to do:
  Bootstraping a local juju environment to lern how to use juju.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: juju (not installed)
  ProcVersionSignature: Ubuntu 3.13.0-22.44-generic 3.13.8
  Uname: Linux 3.13.0-22-generic x86_64
  ApportVersion: 2.14-0ubuntu1
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Fri Apr  4 14:08:09 2014
  InstallationDate: Installed on 2014-03-28 (7 days ago)
  InstallationMedia: Ubuntu-GNOME 14.04 LTS Trusty Tahr - Beta amd64 
(20140326.1)
  SourcePackage: juju-core
  UpgradeStatus: No upgrade log present (probably fresh install)

** Description changed:

  OS: Ubuntu GNOME 14.04 64-Bit in VirtualBox
  juju-core: 1.16.6-0ubuntu1
  
  Guide: https://juju.ubuntu.com/docs/config-LXC.html
  
  What I did:
  sudo apt-get install juju-core juju-local
  juju generate-config
  juju switch local
  
  sudo juju bootstrap → ERROR bootstrapping a local enviroment must not be done 
as root
  juju bootstrap → panic: runtime error: invalid memory address or nil pointer 
dereference
  
  I didn't use the PPA juju version, because I thought the version for the
  next LTS should work too, but it doesn't.
  
+ Edit:
+ The juju version in the trusty is currently the same as in the PPA.
+ 
  What I would like to do:
  Bootstraping a local juju environment to lern how to use juju.
+ 
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: juju (not installed)
  ProcVersionSignature: Ubuntu 3.13.0-22.44-generic 3.13.8
  Uname: Linux 3.13.0-22-generic x86_64
  ApportVersion: 2.14-0ubuntu1
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Fri Apr  4 14:08:09 2014
  InstallationDate: Installed on 2014-03-28 (7 days ago)
  InstallationMedia: Ubuntu-GNOME 14.04 LTS Trusty Tahr - Beta amd64 
(20140326.1)
  SourcePackage: juju-core
  UpgradeStatus: No upgrade log present (probably fresh install)

** Description changed:

  OS: Ubuntu GNOME 14.04 64-Bit in VirtualBox
  juju-core: 1.16.6-0ubuntu1
  
  Guide: https://juju.ubuntu.com/docs/config-LXC.html
  
  What I did:
  sudo apt-get install juju-core juju-local
  juju generate-config
  juju switch local
  
  sudo juju bootstrap → ERROR bootstrapping a local enviroment must not be done 
as root
  juju bootstrap → panic: runtime error: invalid memory address or nil pointer 
dereference
  
  I didn't use the PPA juju version, because I thought the version for the
  next LTS should work too, but it doesn't.
  
  Edit:
- The juju version in the trusty is currently the same as in the PPA.
+ The juju version in trusty is currently the same as in the PPA.
  
  What I would like to do:
  Bootstraping a local juju environment to lern how to use juju.
- 
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: juju (not installed)
  ProcVersionSignature: Ubuntu 3.13.0-22.44-generic 3.13.8
  Uname: Linux 3.13.0-22-generic x86_64
  ApportVersion: 2.14-0ubuntu1
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Fri Apr  4 14:08:09 2014
  InstallationDate: Installed on 2014-03-28 (7 days ago)
  InstallationMedia: Ubuntu-GNOME 14.04 LTS Trusty Tahr - Beta amd64 
(20140326.1)
  SourcePackage: juju-core
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju-core in Ubuntu.
https://bugs.launchpad.net/bugs/1302557

Title:
  bootstrapping local environment as none root doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1302557/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs