Re: using a bundle with manually added machines (redux)

2017-01-04 Thread roger peppe
On 4 January 2017 at 15:34, roger peppe  wrote:
> a dep option

I meant to say "a deploy option" here.

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


Re: using a bundle with manually added machines (redux)

2017-01-04 Thread Mark Shuttleworth
On 04/01/17 10:55, Stuart Bishop wrote:
>
>
> On 3 January 2017 at 19:07, Rick Harding  > wrote:
>
> I'm looking into this. The bundle deploy feature in Juju 2.0 does
> not allow referring to existing machines because it breaks the
> reusability of the bundle. 
>
>
> It would be great if Juju started supporting non-reusable bundles too.
> Its a waste having to support two similarly named tools that do almost
> the same thing. I'm not sure who is using 'juju deploy', but Amulet
> and Mojo both depend on 'juju deployer' for this reason. Which slows
> feature adoption, as juju-deployer doesn't seem to be owned by anyone
> and adding support for new features happens on an ad-hoc basis (my
> team is just now adding storage and resource support to it, needed for
> Mojo, so we can start using these features with actual deployments).

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


Re: using a bundle with manually added machines (redux)

2017-01-04 Thread Stuart Bishop
On 3 January 2017 at 19:07, Rick Harding  wrote:

> I'm looking into this. The bundle deploy feature in Juju 2.0 does not
> allow referring to existing machines because it breaks the reusability of
> the bundle.
>

It would be great if Juju started supporting non-reusable bundles too. Its
a waste having to support two similarly named tools that do almost the same
thing. I'm not sure who is using 'juju deploy', but Amulet and Mojo both
depend on 'juju deployer' for this reason. Which slows feature adoption, as
juju-deployer doesn't seem to be owned by anyone and adding support for new
features happens on an ad-hoc basis (my team is just now adding storage and
resource support to it, needed for Mojo, so we can start using these
features with actual deployments).

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


Re: using a bundle with manually added machines (redux)

2017-01-03 Thread Rick Harding
I'm looking into this. The bundle deploy feature in Juju 2.0 does not allow
referring to existing machines because it breaks the reusability of the
bundle.

However, the manual provider is a bit unique in that it's how you get
machines into the system. The bundle deployment should work to pick up
machines that are not in use. However, since they're 'existing' it's
failing for you.

The reason Merlijn is able to do things is that in 1.25 you used the
juju-deployer tool to deploy bundles which supports a wide range of
customized, non-generic functions like pointing at existing machines.

On Tue, Jan 3, 2017 at 4:31 AM Merlijn Sebrechts <
merlijn.sebrec...@gmail.com> wrote:

> I've used the manual provider in Juju 1.x, and that functionality was
> working at the moment. This is one of the bundles that was working:
>
>
> https://raw.githubusercontent.com/IBCNServices/tengu-charms/master/bundles/streaming/bundle.yaml
>
> (ignore the "annotations" of the machines)
>
> 2016-12-29 20:16 GMT+01:00 Vance Morris <vmor...@us.ibm.com>:
>
> I'm going to assume that it's not working for me because I'm not using a
> cloud provider and instead manually adding the machines to Juju prior to
> deploying the bundle.
>
> I would think that this is a supported approach, but maybe I'm outside the
> bounds here...
>
> Thanks,
> Vance
>
> -Merlijn Sebrechts <merlijn.sebrec...@gmail.com> wrote: -
> To: Vance Morris/Dallas/IBM@IBMUS
> From: Merlijn Sebrechts <merlijn.sebrec...@gmail.com>
> Date: 12/29/2016 11:09AM
> Cc: "juju@lists.ubuntu.com" <juju@lists.ubuntu.com>
> Subject: Re: using a bundle with manually added machines (redux)
>
> Sorry, didn't see that, I was on my phone.
>
> The bundle looks correct to me, and everything seems in order when I
> import it into demo.jujucharms.com so I'm not sure why it doesn't work
> for you..
>
> 2016-12-29 17:13 GMT+01:00 Vance Morris <vmor...@us.ibm.com>:
> Greets Merlijn,
>
>  The bundle was attached to the original message, sorry I didn't call it
> out.
>
>  See here:
> https://lists.ubuntu.com/archives/juju/attachments/20161229/8b65108b/attachment.obj
>
>  Thanks,
>  Vance
>
>
>  -Merlijn Sebrechts <merlijn.sebrec...@gmail.com> wrote: -----
>  To: Vance Morris/Dallas/IBM@IBMUS
>  From: Merlijn Sebrechts <merlijn.sebrec...@gmail.com>
>  Date: 12/29/2016 08:33AM
>  Cc: "juju@lists.ubuntu.com" <juju@lists.ubuntu.com>
>  Subject: Re: using a bundle with manually added machines (redux)
>
>
>  Defining the machines and defining the correct machines for each
> application using `to` should work.
>
>  The error message looks like some applications don't define machines so
> juju tries to create new machines which obviously fails. Is it possible to
> share the bundle that produces this error message and show the command you
> use to deploy that bundle?
>
>  Note that if an application has multiple units, you must specify multiple
> machines to deploy to.
>
>  Op donderdag 29 december 2016 heeft Vance Morris <vmor...@us.ibm.com>
> het volgende geschreven:
>  > Whoops, sorry for that last message -- let's try this again!
>  >
>  > Hi all,
>  >
>  > Is it possible to use a bundle.yaml in conjunction with manually added
> machines?
>  >
>  > $ juju version
>  > 2.0.2-xenial-s390x
>  >
>  > $ juju status
>  > << snip >>
>  > Machine  StateDNS   Inst id   Series  AZ
>  > 0started  REDACTED  manual:REDACTED   xenial
>  > 1started  REDACTED  manual:REDACTED   xenial
>  > 2started  REDACTED  manual:REDACTED   xenial
>  > << snip >>
>  >
>  > When I go to deploy a bundle that defines machines 0, 1, and 2 and
> describes deployment of services to these machines, the charms are
> deployed, but no units are created.
>  >
>  > ERROR cannot deploy bundle: cannot create machine for holding aodh,
> ceilometer, ceph-mon, ceph-osd, cinder, glance, keystone, mongodb, mysql,
> neutron-api, neutron-gateway, nova-cloud-controller, nova-compute,
> openstack-dashboard, rabbitmq-server, swift-proxy and swift-storage-z1
> units: cannot add a new machine: use "juju add-machine ssh:[user@]"
> to provision machines
>  >
>  > If I manually deploy charms to the manually added machines, it's happy
> to oblige. Any suggestions?
>  >
>  >
>  > Sincerely,
>  >
>  > Vance Morris
>  > 1-720-349-9450 <(720)%20349-9450>
>  > vmor...@us.ibm.com
>  >
>
>
>
>
>
> --
> 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: using a bundle with manually added machines (redux)

2017-01-02 Thread Adam Stokes
We have a feature coming in conjure-up that supports pinning and deploying
to specific machines if on MAAS. You can test this out by adding the
`ppa:conjure-up/daily-git` ppa and pressing the 'Architecture' button on
the charm deploy screen.

This will allow you to do 2 things:

1. Pin applications to machines that have already been defined in the
bundle itself (effectively editing the bundle)

2. Allow you to select a MAAS machine to deploy the application to along
with giving you the ability to set the container type to either bare metal,
kvm, or lxd.

On Thu, Dec 29, 2016, 2:17 PM Vance Morris <vmor...@us.ibm.com> wrote:

I'm going to assume that it's not working for me because I'm not using a
cloud provider and instead manually adding the machines to Juju prior to
deploying the bundle.

I would think that this is a supported approach, but maybe I'm outside the
bounds here...

Thanks,
Vance

-Merlijn Sebrechts <merlijn.sebrec...@gmail.com> wrote: -
To: Vance Morris/Dallas/IBM@IBMUS
From: Merlijn Sebrechts <merlijn.sebrec...@gmail.com>
Date: 12/29/2016 11:09AM
Cc: "juju@lists.ubuntu.com" <juju@lists.ubuntu.com>
Subject: Re: using a bundle with manually added machines (redux)

Sorry, didn't see that, I was on my phone.

The bundle looks correct to me, and everything seems in order when I import
it into demo.jujucharms.com so I'm not sure why it doesn't work for you..

2016-12-29 17:13 GMT+01:00 Vance Morris <vmor...@us.ibm.com>:
Greets Merlijn,

 The bundle was attached to the original message, sorry I didn't call it
out.

 See here:
https://lists.ubuntu.com/archives/juju/attachments/20161229/8b65108b/attachment.obj

 Thanks,
 Vance


 -Merlijn Sebrechts <merlijn.sebrec...@gmail.com> wrote: -
 To: Vance Morris/Dallas/IBM@IBMUS
 From: Merlijn Sebrechts <merlijn.sebrec...@gmail.com>
 Date: 12/29/2016 08:33AM
 Cc: "juju@lists.ubuntu.com" <juju@lists.ubuntu.com>
 Subject: Re: using a bundle with manually added machines (redux)


 Defining the machines and defining the correct machines for each
application using `to` should work.

 The error message looks like some applications don't define machines so
juju tries to create new machines which obviously fails. Is it possible to
share the bundle that produces this error message and show the command you
use to deploy that bundle?

 Note that if an application has multiple units, you must specify multiple
machines to deploy to.

 Op donderdag 29 december 2016 heeft Vance Morris <vmor...@us.ibm.com> het
volgende geschreven:
 > Whoops, sorry for that last message -- let's try this again!
 >
 > Hi all,
 >
 > Is it possible to use a bundle.yaml in conjunction with manually added
machines?
 >
 > $ juju version
 > 2.0.2-xenial-s390x
 >
 > $ juju status
 > << snip >>
 > Machine  StateDNS   Inst id   Series  AZ
 > 0started  REDACTED  manual:REDACTED   xenial
 > 1started  REDACTED  manual:REDACTED   xenial
 > 2started  REDACTED  manual:REDACTED   xenial
 > << snip >>
 >
 > When I go to deploy a bundle that defines machines 0, 1, and 2 and
describes deployment of services to these machines, the charms are
deployed, but no units are created.
 >
 > ERROR cannot deploy bundle: cannot create machine for holding aodh,
ceilometer, ceph-mon, ceph-osd, cinder, glance, keystone, mongodb, mysql,
neutron-api, neutron-gateway, nova-cloud-controller, nova-compute,
openstack-dashboard, rabbitmq-server, swift-proxy and swift-storage-z1
units: cannot add a new machine: use "juju add-machine ssh:[user@]"
to provision machines
 >
 > If I manually deploy charms to the manually added machines, it's happy
to oblige. Any suggestions?
 >
 >
 > Sincerely,
 >
 > Vance Morris
 > 1-720-349-9450 <(720)%20349-9450>
 > vmor...@us.ibm.com
 >





--
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: using a bundle with manually added machines (redux)

2016-12-30 Thread Vance Morris
The repo I'm building from is https://github.com/ubuntu-openstack/zopenstack
Perhaps I should be using Juju 1.25 as is suggested here:
https://github.com/ubuntu-openstack/zopenstack/blob/master/bundles/lpar/xenial-mitaka-stable.yaml#L11

Thanks,
Vance


-Merlijn Sebrechts <merlijn.sebrec...@gmail.com> wrote: -
To: Vance Morris/Dallas/IBM@IBMUS
From: Merlijn Sebrechts <merlijn.sebrec...@gmail.com>
Date: 12/29/2016 11:09AM
Cc: "juju@lists.ubuntu.com" <juju@lists.ubuntu.com>
Subject: Re: using a bundle with manually added machines (redux)

Sorry, didn't see that, I was on my phone.

The bundle looks correct to me, and everything seems in order when I import it 
into demo.jujucharms.com so I'm not sure why it doesn't work for you..

2016-12-29 17:13 GMT+01:00 Vance Morris <vmor...@us.ibm.com>:
Greets Merlijn,
 
 The bundle was attached to the original message, sorry I didn't call it out.
 
 See here: 
https://lists.ubuntu.com/archives/juju/attachments/20161229/8b65108b/attachment.obj
 
 Thanks,
 Vance
 
 
 -Merlijn Sebrechts <merlijn.sebrec...@gmail.com> wrote: -
 To: Vance Morris/Dallas/IBM@IBMUS
 From: Merlijn Sebrechts <merlijn.sebrec...@gmail.com>
 Date: 12/29/2016 08:33AM
 Cc: "juju@lists.ubuntu.com" <juju@lists.ubuntu.com>
 Subject: Re: using a bundle with manually added machines (redux)
 

 Defining the machines and defining the correct machines for each application 
using `to` should work.
 
 The error message looks like some applications don't define machines so juju 
tries to create new machines which obviously fails. Is it possible to share the 
bundle that produces this error message and show the command you use to deploy 
that bundle?
 
 Note that if an application has multiple units, you must specify multiple 
machines to deploy to.
 
 Op donderdag 29 december 2016 heeft Vance Morris <vmor...@us.ibm.com> het 
volgende geschreven:
 > Whoops, sorry for that last message -- let's try this again!
 >
 > Hi all,
 >
 > Is it possible to use a bundle.yaml in conjunction with manually added 
 > machines?
 >
 > $ juju version
 > 2.0.2-xenial-s390x
 >
 > $ juju status
 > << snip >>
 > Machine  StateDNS   Inst id   Series  AZ
 > 0started  REDACTED  manual:REDACTED   xenial
 > 1started  REDACTED  manual:REDACTED   xenial
 > 2started  REDACTED  manual:REDACTED   xenial
 > << snip >>
 >
 > When I go to deploy a bundle that defines machines 0, 1, and 2 and describes 
 > deployment of services to these machines, the charms are deployed, but no 
 > units are created.
 >
 > ERROR cannot deploy bundle: cannot create machine for holding aodh, 
 > ceilometer, ceph-mon, ceph-osd, cinder, glance, keystone, mongodb, mysql, 
 > neutron-api, neutron-gateway, nova-cloud-controller, nova-compute, 
 > openstack-dashboard, rabbitmq-server, swift-proxy and swift-storage-z1 
 > units: cannot add a new machine: use "juju add-machine ssh:[user@]" to 
 > provision machines
 >
 > If I manually deploy charms to the manually added machines, it's happy to 
 > oblige. Any suggestions?
 >
 >
 > Sincerely,
 >
 > Vance Morris
 > 1-720-349-9450
 > vmor...@us.ibm.com
 >
 
 
 


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


Re: using a bundle with manually added machines (redux)

2016-12-29 Thread Vance Morris
I'm going to assume that it's not working for me because I'm not using a cloud 
provider and instead manually adding the machines to Juju prior to deploying 
the bundle.

I would think that this is a supported approach, but maybe I'm outside the 
bounds here...

Thanks,
Vance

-Merlijn Sebrechts <merlijn.sebrec...@gmail.com> wrote: -
To: Vance Morris/Dallas/IBM@IBMUS
From: Merlijn Sebrechts <merlijn.sebrec...@gmail.com>
Date: 12/29/2016 11:09AM
Cc: "juju@lists.ubuntu.com" <juju@lists.ubuntu.com>
Subject: Re: using a bundle with manually added machines (redux)

Sorry, didn't see that, I was on my phone.

The bundle looks correct to me, and everything seems in order when I import it 
into demo.jujucharms.com so I'm not sure why it doesn't work for you..

2016-12-29 17:13 GMT+01:00 Vance Morris <vmor...@us.ibm.com>:
Greets Merlijn,
 
 The bundle was attached to the original message, sorry I didn't call it out.
 
 See here: 
https://lists.ubuntu.com/archives/juju/attachments/20161229/8b65108b/attachment.obj
 
 Thanks,
 Vance
 
 
 -Merlijn Sebrechts <merlijn.sebrec...@gmail.com> wrote: -
 To: Vance Morris/Dallas/IBM@IBMUS
 From: Merlijn Sebrechts <merlijn.sebrec...@gmail.com>
 Date: 12/29/2016 08:33AM
 Cc: "juju@lists.ubuntu.com" <juju@lists.ubuntu.com>
 Subject: Re: using a bundle with manually added machines (redux)
 

 Defining the machines and defining the correct machines for each application 
using `to` should work.
 
 The error message looks like some applications don't define machines so juju 
tries to create new machines which obviously fails. Is it possible to share the 
bundle that produces this error message and show the command you use to deploy 
that bundle?
 
 Note that if an application has multiple units, you must specify multiple 
machines to deploy to.
 
 Op donderdag 29 december 2016 heeft Vance Morris <vmor...@us.ibm.com> het 
volgende geschreven:
 > Whoops, sorry for that last message -- let's try this again!
 >
 > Hi all,
 >
 > Is it possible to use a bundle.yaml in conjunction with manually added 
 > machines?
 >
 > $ juju version
 > 2.0.2-xenial-s390x
 >
 > $ juju status
 > << snip >>
 > Machine  StateDNS   Inst id   Series  AZ
 > 0started  REDACTED  manual:REDACTED   xenial
 > 1started  REDACTED  manual:REDACTED   xenial
 > 2started  REDACTED  manual:REDACTED   xenial
 > << snip >>
 >
 > When I go to deploy a bundle that defines machines 0, 1, and 2 and describes 
 > deployment of services to these machines, the charms are deployed, but no 
 > units are created.
 >
 > ERROR cannot deploy bundle: cannot create machine for holding aodh, 
 > ceilometer, ceph-mon, ceph-osd, cinder, glance, keystone, mongodb, mysql, 
 > neutron-api, neutron-gateway, nova-cloud-controller, nova-compute, 
 > openstack-dashboard, rabbitmq-server, swift-proxy and swift-storage-z1 
 > units: cannot add a new machine: use "juju add-machine ssh:[user@]" to 
 > provision machines
 >
 > If I manually deploy charms to the manually added machines, it's happy to 
 > oblige. Any suggestions?
 >
 >
 > Sincerely,
 >
 > Vance Morris
 > 1-720-349-9450
 > vmor...@us.ibm.com
 >
 
 
 


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


Re: using a bundle with manually added machines (redux)

2016-12-29 Thread Merlijn Sebrechts
Sorry, didn't see that, I was on my phone.

The bundle looks correct to me, and everything seems in order when I import
it into demo.jujucharms.com so I'm not sure why it doesn't work for you..

2016-12-29 17:13 GMT+01:00 Vance Morris <vmor...@us.ibm.com>:

> Greets Merlijn,
>
> The bundle was attached to the original message, sorry I didn't call it
> out.
>
> See here: https://lists.ubuntu.com/archives/juju/attachments/
> 20161229/8b65108b/attachment.obj
>
> Thanks,
> Vance
>
>
> -Merlijn Sebrechts <merlijn.sebrec...@gmail.com> wrote: -
> To: Vance Morris/Dallas/IBM@IBMUS
> From: Merlijn Sebrechts <merlijn.sebrec...@gmail.com>
> Date: 12/29/2016 08:33AM
> Cc: "juju@lists.ubuntu.com" <juju@lists.ubuntu.com>
> Subject: Re: using a bundle with manually added machines (redux)
>
> Defining the machines and defining the correct machines for each
> application using `to` should work.
>
> The error message looks like some applications don't define machines so
> juju tries to create new machines which obviously fails. Is it possible to
> share the bundle that produces this error message and show the command you
> use to deploy that bundle?
>
> Note that if an application has multiple units, you must specify multiple
> machines to deploy to.
>
> Op donderdag 29 december 2016 heeft Vance Morris <vmor...@us.ibm.com> het
> volgende geschreven:
> > Whoops, sorry for that last message -- let's try this again!
> >
> > Hi all,
> >
> > Is it possible to use a bundle.yaml in conjunction with manually added
> machines?
> >
> > $ juju version
> > 2.0.2-xenial-s390x
> >
> > $ juju status
> > << snip >>
> > Machine  StateDNS   Inst id   Series  AZ
> > 0started  REDACTED  manual:REDACTED   xenial
> > 1started  REDACTED  manual:REDACTED   xenial
> > 2started  REDACTED  manual:REDACTED   xenial
> > << snip >>
> >
> > When I go to deploy a bundle that defines machines 0, 1, and 2 and
> describes deployment of services to these machines, the charms are
> deployed, but no units are created.
> >
> > ERROR cannot deploy bundle: cannot create machine for holding aodh,
> ceilometer, ceph-mon, ceph-osd, cinder, glance, keystone, mongodb, mysql,
> neutron-api, neutron-gateway, nova-cloud-controller, nova-compute,
> openstack-dashboard, rabbitmq-server, swift-proxy and swift-storage-z1
> units: cannot add a new machine: use "juju add-machine ssh:[user@]"
> to provision machines
> >
> > If I manually deploy charms to the manually added machines, it's happy
> to oblige. Any suggestions?
> >
> >
> > Sincerely,
> >
> > Vance Morris
> > 1-720-349-9450
> > vmor...@us.ibm.com
> >
>
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: using a bundle with manually added machines (redux)

2016-12-29 Thread Vance Morris
Greets Merlijn,

The bundle was attached to the original message, sorry I didn't call it out.

See here: 
https://lists.ubuntu.com/archives/juju/attachments/20161229/8b65108b/attachment.obj

Thanks,
Vance


-Merlijn Sebrechts <merlijn.sebrec...@gmail.com> wrote: -
To: Vance Morris/Dallas/IBM@IBMUS
From: Merlijn Sebrechts <merlijn.sebrec...@gmail.com>
Date: 12/29/2016 08:33AM
Cc: "juju@lists.ubuntu.com" <juju@lists.ubuntu.com>
Subject: Re: using a bundle with manually added machines (redux)

Defining the machines and defining the correct machines for each application 
using `to` should work.

The error message looks like some applications don't define machines so juju 
tries to create new machines which obviously fails. Is it possible to share the 
bundle that produces this error message and show the command you use to deploy 
that bundle?

Note that if an application has multiple units, you must specify multiple 
machines to deploy to.

Op donderdag 29 december 2016 heeft Vance Morris <vmor...@us.ibm.com> het 
volgende geschreven:
> Whoops, sorry for that last message -- let's try this again!
>
> Hi all,
>
> Is it possible to use a bundle.yaml in conjunction with manually added 
> machines?
>
> $ juju version
> 2.0.2-xenial-s390x
>
> $ juju status
> << snip >>
> Machine  StateDNS   Inst id   Series  AZ
> 0started  REDACTED  manual:REDACTED   xenial
> 1started  REDACTED  manual:REDACTED   xenial
> 2started  REDACTED  manual:REDACTED   xenial
> << snip >>
>
> When I go to deploy a bundle that defines machines 0, 1, and 2 and describes 
> deployment of services to these machines, the charms are deployed, but no 
> units are created.
>
> ERROR cannot deploy bundle: cannot create machine for holding aodh, 
> ceilometer, ceph-mon, ceph-osd, cinder, glance, keystone, mongodb, mysql, 
> neutron-api, neutron-gateway, nova-cloud-controller, nova-compute, 
> openstack-dashboard, rabbitmq-server, swift-proxy and swift-storage-z1 units: 
> cannot add a new machine: use "juju add-machine ssh:[user@]" to 
> provision machines
>
> If I manually deploy charms to the manually added machines, it's happy to 
> oblige. Any suggestions?
>
>
> Sincerely,
>
> Vance Morris
> 1-720-349-9450
> vmor...@us.ibm.com
> 


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


Re: using a bundle with manually added machines (redux)

2016-12-29 Thread Merlijn Sebrechts
Defining the machines and defining the correct machines for each
application using `to` should work.

The error message looks like some applications don't define machines so
juju tries to create new machines which obviously fails. Is it possible to
share the bundle that produces this error message and show the command you
use to deploy that bundle?

Note that if an application has multiple units, you must specify multiple
machines to deploy to.

Op donderdag 29 december 2016 heeft Vance Morris  het
volgende geschreven:
> Whoops, sorry for that last message -- let's try this again!
>
> Hi all,
>
> Is it possible to use a bundle.yaml in conjunction with manually added
machines?
>
> $ juju version
> 2.0.2-xenial-s390x
>
> $ juju status
> << snip >>
> Machine  StateDNS   Inst id   Series  AZ
> 0started  REDACTED  manual:REDACTED   xenial
> 1started  REDACTED  manual:REDACTED   xenial
> 2started  REDACTED  manual:REDACTED   xenial
> << snip >>
>
> When I go to deploy a bundle that defines machines 0, 1, and 2 and
describes deployment of services to these machines, the charms are
deployed, but no units are created.
>
> ERROR cannot deploy bundle: cannot create machine for holding aodh,
ceilometer, ceph-mon, ceph-osd, cinder, glance, keystone, mongodb, mysql,
neutron-api, neutron-gateway, nova-cloud-controller, nova-compute,
openstack-dashboard, rabbitmq-server, swift-proxy and swift-storage-z1
units: cannot add a new machine: use "juju add-machine ssh:[user@]"
to provision machines
>
> If I manually deploy charms to the manually added machines, it's happy to
oblige. Any suggestions?
>
>
> Sincerely,
>
> Vance Morris
> 1-720-349-9450
> vmor...@us.ibm.com
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju