using a bundle with manually added machines (redux)
Rick Harding
rick.harding at canonical.com
Tue Jan 3 12:07:02 UTC 2017
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.sebrechts at 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 <vmorris at 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.sebrechts at gmail.com> wrote: -----
> To: Vance Morris/Dallas/IBM at IBMUS
> From: Merlijn Sebrechts <merlijn.sebrechts at gmail.com>
> Date: 12/29/2016 11:09AM
> Cc: "juju at lists.ubuntu.com" <juju at 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 <vmorris at 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.sebrechts at gmail.com> wrote: -----
> To: Vance Morris/Dallas/IBM at IBMUS
> From: Merlijn Sebrechts <merlijn.sebrechts at gmail.com>
> Date: 12/29/2016 08:33AM
> Cc: "juju at lists.ubuntu.com" <juju at 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 <vmorris at 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 State DNS Inst id Series AZ
> > 0 started REDACTED manual:REDACTED xenial
> > 1 started REDACTED manual:REDACTED xenial
> > 2 started 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@]<host>"
> 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>
> > vmorris at us.ibm.com
> >
>
>
>
>
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170103/14d825e0/attachment.html>
More information about the Juju
mailing list