GroupAntiAffinityFilter scheduler hint still doesn't work

Bug #1303360 reported by izikpenso
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Gary Kotton
Icehouse
Fix Released
Undecided
Unassigned

Bug Description

After seeing that the following bug was fixed
https://bugs.launchpad.net/nova/+bug/1296913

executed the cmd:

nova boot --flavor m1.nano --image cirros-0.3.1-x86_64-uec --nic net-id=909e7fa9-b3af-4601-84c2-01145b1dea72 --hint group=foo server-foo

now the server-foo is stuck in scheduling state forever.

see attached logs.

Revision history for this message
izikpenso (izikp) wrote :
Revision history for this message
Gary Kotton (garyk) wrote :

Hi,
Can you please check that you have the latest code. It looks like https://github.com/openstack/nova/commit/ea6d8403bdc3c1d3ede87a2ed1c8740420c32080 should address this.
Thanks
gary

tags: added: scheduler
Revision history for this message
izikpenso (izikp) wrote :

Yes, I have the latest code.

ubuntu@ds-manual-22:~$ cd /opt/stack/nova && git show
commit 33fc957a5aeb9d310cbff3ac22c7a3c97a794f72
Merge: d87b6b2 93f2957
Author: Jenkins <email address hidden>
Date: Sun Apr 6 09:19:45 2014 +0000

    Merge "Reduce logging in scheduler"

Gary Kotton (garyk)
Changed in nova:
assignee: nobody → Gary Kotton (garyk)
milestone: none → juno-1
importance: Undecided → High
tags: added: icehouse-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/86582

Changed in nova:
status: New → In Progress
Gary Kotton (garyk)
tags: added: icehouse-rc-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/87109

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/87109
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=bff8604fd27fee588facbd429aaedcf227cd5871
Submitter: Jenkins
Branch: master

commit bff8604fd27fee588facbd429aaedcf227cd5871
Author: Gary Kotton <email address hidden>
Date: Sun Apr 13 01:49:07 2014 -0700

    Instance groups: add method get_by_hint

    In order to support backward compatibility a new method
    'get_by_hint' has been added. This method will check if the
    hint is a uuid and if no it will return get_by_uuid else it
    will return get_by_name.

    Change-Id: I728bf3454dc5a5367e21f242281719c1a967269a
    Partial-bug: #1303360

Thierry Carrez (ttx)
tags: removed: icehouse-rc-potential
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to nova (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/89544

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/86582
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=a2059b67b207d908b1c65c78dd806b1f5e79582d
Submitter: Jenkins
Branch: master

commit a2059b67b207d908b1c65c78dd806b1f5e79582d
Author: Gary Kotton <email address hidden>
Date: Thu Apr 10 05:59:05 2014 -0700

    Scheduler: enable scheduler hint to pass the group name

    Commit ea6d8403bdc3c1d3ede87a2ed1c8740420c32080 partially
    dealt with the problem. The actual scheduling would fail when
    the group name was passed.

    Change-Id: I668621770e59504164af9a2e861a59e900300bba
    Closes-bug: #1303360

Changed in nova:
status: In Progress → Fix Committed
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to nova (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/89610

Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/icehouse)

Reviewed: https://review.openstack.org/89544
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=4c551d957cfe96d21e2793e2d03db4ba4046b044
Submitter: Jenkins
Branch: stable/icehouse

commit 4c551d957cfe96d21e2793e2d03db4ba4046b044
Author: Gary Kotton <email address hidden>
Date: Sun Apr 13 01:49:07 2014 -0700

    Instance groups: add method get_by_hint

    In order to support backward compatibility a new method
    'get_by_hint' has been added. This method will check if the
    hint is a uuid and if no it will return get_by_uuid else it
    will return get_by_name.

    Change-Id: I728bf3454dc5a5367e21f242281719c1a967269a
    Partial-bug: #1303360
    (cherry picked from commit bff8604fd27fee588facbd429aaedcf227cd5871)

tags: added: in-stable-icehouse
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/89610
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=8d260a8eeff45bbb3bff14e92dc8d8847d15ee74
Submitter: Jenkins
Branch: stable/icehouse

commit 8d260a8eeff45bbb3bff14e92dc8d8847d15ee74
Author: Gary Kotton <email address hidden>
Date: Thu Apr 10 05:59:05 2014 -0700

    Scheduler: enable scheduler hint to pass the group name

    Commit ea6d8403bdc3c1d3ede87a2ed1c8740420c32080 partially
    dealt with the problem. The actual scheduling would fail when
    the group name was passed.

    Change-Id: I668621770e59504164af9a2e861a59e900300bba
    Closes-bug: #1303360
    (cherry picked from commit a2059b67b207d908b1c65c78dd806b1f5e79582d)

Chuck Short (zulcss)
tags: removed: icehouse-backport-potential
Thierry Carrez (ttx)
Changed in nova:
milestone: juno-1 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

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