Juju should support physical placement on OpenStack

Bug #1049858 reported by Tom Haddon
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pyjuju
Fix Released
Medium
Martin Packman

Bug Description

As can be seen from http://paste.ubuntu.com/1200614/ "nova boot" supports a "--hint" option, which can be filtered by the scheduler to ensure instances are booted on specific underlying physical hardware. We'd need this to ensure, for instance, that all the application servers for a given service don't end up on the same physical server, and leave us with a hardware SPOF.

Related branches

Revision history for this message
Kapil Thangavelu (hazmat) wrote : Re: [Bug 1049858] [NEW] Juju should support physical placement on OpenStack

we can model it as a constraint, as long as its not associating machine
identity directly. ie. juju deploy --constraints="distinct=true", but if
its direct targeting of a single piece of hardware that's kinda of broken
within the juju mindset, as it becomes hard for us to expand a service
(great evidence of brokenness of such in the maas-name constraint).

-k

On Wed, Sep 12, 2012 at 10:17 AM, Tom Haddon <email address hidden>wrote:

> Public bug reported:
>
> As can be seen from http://paste.ubuntu.com/1200614/ "nova boot"
> supports a "--hint" option, which can be filtered by the scheduler to
> ensure instances are booted on specific underlying physical hardware.
> We'd need this to ensure, for instance, that all the application servers
> for a given service don't end up on the same physical server, and leave
> us with a hardware SPOF.
>
> ** Affects: juju
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to juju.
> https://bugs.launchpad.net/bugs/1049858
>
> Title:
> Juju should support physical placement on OpenStack
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1049858/+subscriptions
>

Martin Packman (gz)
Changed in juju:
importance: Undecided → Medium
status: New → Confirmed
Martin Packman (gz)
Changed in juju:
assignee: nobody → Martin Packman (gz)
status: Confirmed → In Progress
Revision history for this message
Martin Packman (gz) wrote :

I've landed a fix for this on trunk, it would be great if it could get some testing in a real scenario to see if it works for you guys, before documenting and a release.

The form currently takes a json dict, which isn't pretty but avoids an extra mini language and it's
    juju set-constraint 'os-scheduler-hints={"different_host":"<some-server-uuid-here>"}'
Note that tyoping your hint key will lead to it being silently ignored, so watch underscore versus hyphen and such.

Changed in juju:
milestone: none → 0.7
status: In Progress → Fix Committed
Martin Packman (gz)
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.