Re: Reminder: write tests fail first

2016-05-04 Thread Casey Marshall
An excellent demonstration of writing tests that fail first that I've seen
recently: https://www.youtube.com/watch?v=PEbnzuMZceA

On Wed, May 4, 2016 at 9:24 PM, Andrew Wilkins  wrote:

> See: https://bugs.launchpad.net/juju-core/+bug/1578456
>
> Cheers,
> Andrew
>
> --
> Juju-dev mailing list
> Juju-dev@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju-dev
>
>
-- 
Juju-dev mailing list
Juju-dev@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev


Re: Reminder: write tests fail first

2016-05-04 Thread Menno Smits
Good catch.

On 5 May 2016 at 14:24, Andrew Wilkins  wrote:

> See: https://bugs.launchpad.net/juju-core/+bug/1578456
>
> Cheers,
> Andrew
>
> --
> Juju-dev mailing list
> Juju-dev@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju-dev
>
>
-- 
Juju-dev mailing list
Juju-dev@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev


Reminder: write tests fail first

2016-05-04 Thread Andrew Wilkins
See: https://bugs.launchpad.net/juju-core/+bug/1578456

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


incorrect private address when using manual provider

2016-05-04 Thread Matt Rae
Hi we're seeing an issue where the juju private-address is chosen
incorrectly when using the manual provider on a host with multiple
interfaces.

Are there any details regarding how the private-address is chosen when
using the manual provider?

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


Re: juju 1.x add machine command: how to specify flavors in an openstack environment

2016-05-04 Thread Samuel Cozannet
Hi Eddy,

Thanks for using Juju :)

You can do

juju deploy  --constraints "mem=8G cpu-cores=4 root-disk=32G"
then
juju set-constraints  "mem=8G..."

You can find the list of available constraints here :
https://jujucharms.com/docs/1.25/reference-constraints

(for Juju 1.X)

and there: https://jujucharms.com/docs/devel/reference-constraints
(for Juju 2.X)

Best,
Samuel


--
Samuel Cozannet
Cloud, Big Data and IoT Strategy Team
Business Development - Cloud and ISV Ecosystem
Changing the Future of Cloud
Ubuntu   / Canonical UK LTD  / Juju

samuel.cozan...@canonical.com
mob: +33 616 702 389
skype: samnco
Twitter: @SaMnCo_23
[image: View Samuel Cozannet's profile on LinkedIn]


On Wed, May 4, 2016 at 8:41 PM, Eddy Truyen 
wrote:

> Hey,
>
> How can I  specify in juju1 in the `juju machine add` command the type of
> flavor (number of virtual cpus, GB of RAM).?
>
> I work in an openstack environment. As far as I can see I can only specify
> desired memory: juju machine add --constraints mem=8G
>
> but how do I specify the number of virtual cpus?
>
> Best
>
> Eddy
>
> --
> 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


juju 1.x add machine command: how to specify flavors in an openstack environment

2016-05-04 Thread Eddy Truyen

Hey,

How can I  specify in juju1 in the `juju machine add` command the type 
of flavor (number of virtual cpus, GB of RAM).?


I work in an openstack environment. As far as I can see I can only 
specify desired memory: juju machine add --constraints mem=8G


but how do I specify the number of virtual cpus?

Best

Eddy

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


Reviewed designs ibm-was-nd, ibm-xcat, ibm-was-wxs, ibm-dsm and ibm-pac

2016-05-04 Thread Matt Bruzek
Kevin Monroe and I reviewed several charm designs, and one bundle design
from our parters at IBM.

All these designs use the reactive framework and are well thought out. Most
got our +1 but we had a few questions about ibm-pac that was unclear.

Here is the summary:

was-nd
- approved last week, but thanks for the new diagram
-
https://docs.google.com/document/d/17Uh_EghiBKZiDf8ZiM6T-VQzVfoTj4gOlwTl9oieBwc/comment

xcat
- replies to previous comments seem sound
-
https://docs.google.com/document/d/1DgK79jsP2mnxfu_5uHWDSgMriy1VN3kYUK2On2OCSU8/comment

was-wxs
- a few comments, but nothing blocking.  please let us know if you have
questions about our comments
-
https://docs.google.com/document/d/1Zc396dKOHQU-PI1MvVT02q966FAs_H5f2X2L1ERcXBI/comment

web infrastructure bundle
- minor comments to keep in mind when implementing this bundle, but this
looks *really* interesting and is well thought-out.  nice job!
-
https://docs.google.com/document/d/1WWo8PSAjRrb0D4swdX2mghPgEbgT5LA2vD9wHsv8Qlc/comment

ibm-dsm:
- minor comments, overall +1
-
https://docs.google.com/document/d/1qQY5gJNDVTDPECWDmLzkNWWwGHukWHHucRQIosuL1RU/comment

ibm-pac:
- We had a few questions about co-location of charms on this design. While
you can use --to   we generally use a subordinate for proper co-location.
We will wait to hear back from the partners if the can use a subordinate
charm.
https://docs.google.com/document/d/1E46oFIUr0h_MpCLiGTnp2vD-UrKdLCuNP3T3hD4etqo/comment

Thanks,

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


Re: compute-data network

2016-05-04 Thread Dimiter Naydenov
On 05/04/2016 10:57 AM, Dimiter Naydenov wrote:
> On 05/03/2016 10:07 PM, James Beedy wrote:
>> Hello All,
>>
>> After reading Dimiter's
>> post: 
>> https://insights.ubuntu.com/2015/11/08/deploying-openstack-on-maas-1-9-with-juju/,
>> I have some questions regarding the network implementation.
>>
>> Can someone please link me to some docs describing the intrinsics of
>> what a 'compute-data' network is? What services communicate on the
>> 'compute-data' network? How is 'compute-data' network
>> recognized/consumed by openstack charms and subsequent openstack services?
>>
>> Thanks!
>>
>>
>>
> Hey James,
> 
> The compute-data network is used for guest VM traffic (instances started
> by OpenStack) to other guest VMs or to OpenStack services.
> If you have a look at the first post in the series, the architecture
> diagram shows the different networks OpenStack uses (the ‘data’ network
> there is called ‘compute-data’ in later posts, to distinguish it from
> the ‘storage-data’ network).
> 
> As for how the charms are configured to use those networks, I'm sure
> some of the openstack charmers here can give you a more detailed answer.
> 
> Cheers,
> 
> 
> 

Sorry, I figured out you might be missing the link to that first article
with the OpenStack diagram, so here it is:

http://blog.naydenov.net/2015/11/deploying-openstack-on-maas-1-9-with-juju-network-setup/

-- 
Dimiter Naydenov 
Juju Core Sapphire team 



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


Re: compute-data network

2016-05-04 Thread Dimiter Naydenov
On 05/03/2016 10:07 PM, James Beedy wrote:
> Hello All,
> 
> After reading Dimiter's
> post: 
> https://insights.ubuntu.com/2015/11/08/deploying-openstack-on-maas-1-9-with-juju/,
> I have some questions regarding the network implementation.
> 
> Can someone please link me to some docs describing the intrinsics of
> what a 'compute-data' network is? What services communicate on the
> 'compute-data' network? How is 'compute-data' network
> recognized/consumed by openstack charms and subsequent openstack services?
> 
> Thanks!
> 
> 
>
Hey James,

The compute-data network is used for guest VM traffic (instances started
by OpenStack) to other guest VMs or to OpenStack services.
If you have a look at the first post in the series, the architecture
diagram shows the different networks OpenStack uses (the ‘data’ network
there is called ‘compute-data’ in later posts, to distinguish it from
the ‘storage-data’ network).

As for how the charms are configured to use those networks, I'm sure
some of the openstack charmers here can give you a more detailed answer.

Cheers,
-- 
Dimiter Naydenov 
Juju Core Sapphire team 



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