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  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>
 > 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

Reply via email to