Activity log for bug #1709260

Date Who What changed Old value New value Message
2017-08-08 07:43:57 Rajesh Tailor bug added bug
2017-08-08 07:44:32 Rajesh Tailor nova: assignee Rajesh Tailor (ratailor)
2017-08-08 08:16:35 Rajesh Tailor description I have multinode devstack setup with 2 compute and a controller node. The hostnames of the nodes are as follows: controller: controller.example.com compute0: compute0.example.com compute1: compute1.example.com Reproduction steps: 1) I have created a host-aggregate in availability zone "nova". nova aggregate-create test_agg nova 2) Then I set metadata on that host-aggregate. nova aggregate-set-metadata 1 ssd=true 3) Then I added compute hosts mentioned above to host-aggregate. nova aggregate-add-host test_agg COMPUTE0.example.com nova aggregate-add-host test_agg compute1.example.com While adding compute0 to host-aggregate, if I provide hostname as "COMPUTE0.example.com", instead of throwing HostNotFound error, it is added to host-aggregate. 4) After that I have created a flavor. nova flavor-create ssd.large 6 8192 80 4 5) Added metadata to flavor. nova flavor-key ssd.large set ssd=true Now when I try to create instance with above mentioned flavor, I can't spawn it on compute0 host. As scheduler is filtering only compute1 with AggregateInstanceExtraSpecsFilter filter. Expected Result: while adding the case-sensitive host to host-aggregate, nova-api should have thrown HostNotFound error. I have multinode devstack setup with 2 compute and a controller node. The hostnames of the nodes are as follows: controller: controller.example.com compute0: compute0.example.com compute1: compute1.example.com Reproduction steps: 1) I have created a host-aggregate in availability zone "nova".     nova aggregate-create test_agg nova 2) Then I set metadata on that host-aggregate.     nova aggregate-set-metadata 1 ssd=true 3) Then I added compute hosts mentioned above to host-aggregate.     nova aggregate-add-host test_agg COMPUTE0.example.com     nova aggregate-add-host test_agg compute1.example.com While adding compute0 to host-aggregate, if I provide hostname as "COMPUTE0.example.com", instead of throwing HostNotFound error, it is added to host-aggregate. 4) After that I have created a flavor. nova flavor-create ssd.large 6 8192 80 4 5) Added metadata to flavor. nova flavor-key ssd.large set ssd=true Now when I try to create instance with above mentioned flavor, I can't spawn it on compute0 host. As scheduler is filtering only compute1 with AggregateInstanceExtraSpecsFilter filter. Expected Result: while adding the case-sensitive host to host-aggregate, nova-api should have thrown HostNotFound error. Note: when I add the correct hostname "compute0.example.com", I am able to spawn instance on with above mentioned flavor on compute0 host and it is filtered by AggregateInstanceExtraSpecFilter as well.
2017-08-08 09:05:40 Sylvain Bauza nova: status New Confirmed
2017-08-08 09:05:44 Sylvain Bauza nova: importance Undecided Low
2017-08-08 09:05:53 Sylvain Bauza tags api
2017-08-08 12:09:33 Rajesh Tailor attachment added n-sch.log https://bugs.launchpad.net/nova/+bug/1709260/+attachment/4928791/+files/n-sch.log
2017-08-28 07:04:21 OpenStack Infra nova: status Confirmed In Progress
2018-07-24 12:24:10 OpenStack Infra nova: status In Progress Fix Released
2018-07-28 13:41:17 Matt Riedemann nominated for series nova/queens
2018-07-28 13:41:17 Matt Riedemann bug task added nova/queens
2018-07-28 13:41:27 Matt Riedemann nominated for series nova/pike
2018-07-28 13:41:27 Matt Riedemann bug task added nova/pike
2018-07-28 13:41:34 Matt Riedemann nova/pike: status New In Progress
2018-07-28 13:41:36 Matt Riedemann nova/queens: status New In Progress
2018-07-28 13:41:38 Matt Riedemann nova/pike: importance Undecided Low
2018-07-28 13:41:41 Matt Riedemann nova/queens: importance Undecided Low
2018-07-28 13:41:48 Matt Riedemann nova/pike: assignee Rajesh Tailor (ratailor)
2018-07-28 13:41:57 Matt Riedemann nova/queens: assignee Rajesh Tailor (ratailor)
2018-07-28 15:18:45 OpenStack Infra nova/queens: status In Progress Fix Committed
2018-07-30 17:55:03 OpenStack Infra nova/pike: status In Progress Fix Committed
2018-09-29 02:13:44 OpenStack Infra tags api api in-stable-rocky