Re: juju deploy with a series

2017-06-15 Thread fengxia
The patch and instructions are listed here: https://github.com/juju/juju/pull/6954 We didn't go this route. In our project, we ended up using MAAS to provision CentOS node to test charms. On 06/15/2017 10:51 PM, fengxia wrote: +1 On 06/15/2017 10:47 PM, Andrew Wilkins wrote: On Fri, Jun

Re: juju deploy with a series

2017-06-15 Thread fengxia
+1 On 06/15/2017 10:47 PM, Andrew Wilkins wrote: On Fri, Jun 16, 2017 at 1:36 AM John Meinel > wrote: "juju show-machine 10" is likely to tell you why we are failing to provision the machine. My guess is that we acctually need the alias to be "ju

Re: juju deploy with a series

2017-06-15 Thread fengxia
There was a bug filed back in 2015: https://bugs.launchpad.net/juju/+bug/1495978 It has information on how to make a work around to run CentOS in LXD. On 06/15/2017 12:37 PM, Daniel Bidwell wrote: I am trying to deploy a charm that I am writing for both ubuntu and centos. "lxc image alias li

Re: juju deploy with a series

2017-06-15 Thread Andrew Wilkins
On Fri, Jun 16, 2017 at 1:36 AM John Meinel wrote: > "juju show-machine 10" is likely to tell you why we are failing to > provision the machine. > > My guess is that we acctually need the alias to be "juju/centos7/amd64" > for Juju to recognize that it is the container image we want to be startin

Re: juju deploy with a series

2017-06-15 Thread fengxia
John, There are multiple issues with this since we have just gone through a similar effort: 1. LXD does not support CentOS image. 2. Default "charm build" will produce a dist that will not run on CentOS, even with "--series centos7". On 06/15/2017 01:34 PM, John Meinel wrote: "juju show-m

Re: juju deploy with a series

2017-06-15 Thread John Meinel
"juju show-machine 10" is likely to tell you why we are failing to provision the machine. My guess is that we acctually need the alias to be "juju/centos7/amd64" for Juju to recognize that it is the container image we want to be starting. John =:-> On Thu, Jun 15, 2017 at 8:37 PM, Daniel Bidwel

juju deploy with a series

2017-06-15 Thread Daniel Bidwell
I am trying to deploy a charm that I am writing for both ubuntu and centos.  "lxc image alias list" produces: lxc image alias list +---+--+---+ |   ALIAS   | FINGERPRINT  |DESCRIPTION| +---+--+-