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

2016-05-13 Thread Eddy Truyen

Thanks Samuel,

it worked!

Best

Eddy

Op 4/05/2016 om 20:46 schreef 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
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


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