using a bundle with manually added machines (redux)

Merlijn Sebrechts merlijn.sebrechts at gmail.com
Tue Jan 3 09:31:06 UTC 2017


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
>  > vmorris at us.ibm.com
>  >
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170103/a3beee5b/attachment.html>


More information about the Juju mailing list