Re: Juju 2.0-rc1 is here!

2016-09-22 Thread Chance Ellis
Fresh install of juju 2.0 rc1 on a maas 2.0 cloud. 

 

I have been tracking the container network interface issues and hoping they 
would be fixed in rc1 for an openstack deployment. I tried deploying the 
openstack on this new install. The machines spin up in maas but the containers 
fail. In the juju debug log I keep seeing these errors over and over:

 

machine-3: 17:34:26 ERROR juju.worker exited "3-container-watcher": worker 
"3-container-watcher" exited: panic resulted in: runtime error: invalid memory 
address or nil pointer dereference

machine-1: 17:34:27 ERROR juju.worker exited "1-container-watcher": worker 
"1-container-watcher" exited: panic resulted in: runtime error: invalid memory 
address or nil pointer dereference

machine-0: 17:34:27 ERROR juju.worker exited "0-container-watcher": worker 
"0-container-watcher" exited: panic resulted in: runtime error: invalid memory 
address or nil pointer dereference

machine-2: 17:34:29 ERROR juju.worker exited "2-container-watcher": worker 
"2-container-watcher" exited: panic resulted in: runtime error: invalid memory 
address or nil pointer dereference

 

If I ssh into the juju machine and “lxc list” there are no containers created. 

 

What info can I provide to help troubleshoot this?

 

 

 

From:  on behalf of Andrew Wilkins 

Date: Wednesday, September 21, 2016 at 2:07 AM
To: Curtis Hovey-Canonical , Juju email list 
, "juju-...@lists.ubuntu.com" 
Subject: Re: Juju 2.0-rc1 is here!

 

On Wed, Sep 21, 2016 at 1:56 PM Curtis Hovey-Canonical  
wrote:

A new development release of Juju, 2.0-rc1, is here!

 

Woohoo!

 


## What's New in RC1

* The Juju client now works on any Linux flavour. When bootstrapping
  with local tools, it's now possible to create a controller of any
  supported Linux series regardless of the Linux flavour the client
  is running on.
* Juju resolved command retries failed hooks by default:
  juju resolved  // marks unit errors resolved and retries failed hooks
  juju resolved --no-retry  //marks unit errors resolved w/o
retrying hooks
* MAAS 2.0 Juju provider has been updated to use MAAS API 2.0's owner
  data for instance tagging.
* Networking fixes for containers in MAAS 2.0 when the parent device is
  unconfigured. (#1566791)
* Azure provider performance has been enhanced, utilising Azure Resource
  Manager templates, and improved parallelisation.
* Azure provider now supports an "interactive" auth-type, making it much
  easier to set up credentials for bootstrapping. The "userpass"
  auth-type has been deprecated, and replaced with
  "service-principal-secret".

 

In case anyone jumps right on this, please note that 
https://streams.canonical.com/juju/public-clouds.syaml isn't yet updated. It 
will be updated soon, but in the mean time, if you want to try out the azure 
interactive add-credential, make sure you:

 - delete ~/.local/share/juju/public-clouds.yaml (if it exists)

 - *don't* run "juju update-clouds" until that file is updated

Then Juju will use the cloud definitions built into the client.

 

Cheers,

Andrew 

 


## How do I get it?

If you are running Ubuntu, you can get it from the juju devel ppa:

sudo add-apt-repository ppa:juju/devel
sudo apt-get update; sudo apt-get install juju-2.0

Or install it from the snap store

snap install juju --beta --devmode

Windows, Centos, and OS X users can get a corresponding installer at:

https://launchpad.net/juju/+milestone/2.0-rc1


## Feedback Appreciated!

We encourage everyone to subscribe the mailing list at
juju@lists.ubuntu.com and join us on #juju on freenode. We would love
to hear your feedback and usage of juju.


## Anything else?

You can read more information about what's in this release by viewing
the release notes here:

https://jujucharms.com/docs/devel/temp-release-notes


--
Curtis Hovey
Canonical Cloud Development and Operations
http://launchpad.net/~sinzui

--
Juju-dev mailing list
juju-...@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev

-- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju 

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Feedback wanted: Changes to the Ubuntu Charm

2016-09-22 Thread Ryan Beisner
On Thu, Sep 22, 2016 at 8:47 AM, Cory Johns 
wrote:

> For clarity, I'd just like to note that https://jujucharms.com/ubuntu/8
> is the candidate revision, and you can deploy this on 1.25.6 (without
> --channel support) by being specific about the revision number:
>

Great.  How can I determine that rev is the current candidate?



>
> juju deploy cs:ubuntu-8
>
> On Fri, Sep 16, 2016 at 2:56 PM, Rick Harding 
> wrote:
>
>> Typically you'd be able to tell the source for charms set via
>>
>> charm show ubuntu homepage
>> charm show ubuntu bugs-url
>>
>> In this case they're both set to https://ubuntu.com so not helpful in
>> getting to the source.
>>
>
> I feel like this highlights the fact that there is some ambiguity in these
> fields.  Many charms set these (or at least homepage) to point to the
> upstream project.  Of course, ideally, the charm would be a part of its
> respective upstream project, but that may not be the case for various
> reasons and in those cases it would be helpful to differentiate the
> upstream project URL, and possibly upstream bug tracker, from the charm
> repo URL and bug tracker.
>
> On a related note, though, the homepage field is no longer displayed
> anywhere that I can find on jujucharms.com.  Why is it not included in
> the Contribute sidebar?
>

Appears to be a regression in the latest charm store.  I believe rick_h
raised a bug, but I'm not readily finding that.



>
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/juju
>
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Feedback wanted: Changes to the Ubuntu Charm

2016-09-22 Thread Cory Johns
For clarity, I'd just like to note that https://jujucharms.com/ubuntu/8 is
the candidate revision, and you can deploy this on 1.25.6 (without
--channel support) by being specific about the revision number:

juju deploy cs:ubuntu-8

On Fri, Sep 16, 2016 at 2:56 PM, Rick Harding 
wrote:

> Typically you'd be able to tell the source for charms set via
>
> charm show ubuntu homepage
> charm show ubuntu bugs-url
>
> In this case they're both set to https://ubuntu.com so not helpful in
> getting to the source.
>

I feel like this highlights the fact that there is some ambiguity in these
fields.  Many charms set these (or at least homepage) to point to the
upstream project.  Of course, ideally, the charm would be a part of its
respective upstream project, but that may not be the case for various
reasons and in those cases it would be helpful to differentiate the
upstream project URL, and possibly upstream bug tracker, from the charm
repo URL and bug tracker.

On a related note, though, the homepage field is no longer displayed
anywhere that I can find on jujucharms.com.  Why is it not included in the
Contribute sidebar?
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


getting lxd forkstart error while doing bootstrap

2016-09-22 Thread Rajith P Venkata
Hi

I am getting error while doing bootstrap 
 I am getting ERROR failed to bootstrap model: cannot start bootstrap 
instance: Error calling 'lxd forkstart juju-4fce6d-0 
/var/lib/lxd/containers /var/log/lxd/juju-4fce6d-0/lxc.conf': err='exit 
status 1'

this error is on root@:/var/log/lxd/juju-4fce6d-0# uname -a
Linux c277-pkvm-vm54 3.16.0-70-generic #90~14.04.1-Ubuntu SMP Wed Apr 6 
22:57:48 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux





Rajith

IBM AIX Certified, OCPCertified


Cell- 9901966577
Email: rajith...@in.ibm.com



lxc.log
Description: Binary data
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju