| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2018-06-13 | |||
| 19:06:43 | dansmith | oh, yep | |
| 19:06:47 | dansmith | it calls the inner | |
| 19:06:50 | dansmith | so yeah, shouldn't | |
| 19:07:17 | mriedem | yeah i'm just leaving a todo about optimizing the calls to that for multicreate in this certs change | |
| 19:07:26 | melwitt | mriedem: +1 on the rebuild logic | |
| 19:07:44 | dansmith | mriedem: we'll have to do something separate so we don't affect the cache when one returns and another hasn't run yet | |
| 19:07:52 | dansmith | (which is what I was hmmming about | |
| 19:08:32 | mriedem | i'm not planning to try and cachify get_minimum_version_all_cells | |
| 19:09:29 | melwitt | jaypipes: yaaay (pugs) | |
| 19:19:29 | jmlowe | Is there something special I have to do to get soft-anti-affinity to work? | |
| 19:20:24 | mgagne | mriedem: so I managed to run it against 2 libvirt instances and so far, the results are good. The allocations are created successfully. Note that I had to hack the inventory values a bit due to dev setup being smaller than production. But allocation values are ok otherwise. Next step for me will be to make sure inventory is fine in prod when migrating to placement (like ratios). But that's a different story. | |
| 19:22:20 | melwitt | jaypipes: http://i0.kym-cdn.com/photos/images/original/001/326/830/821.jpg | |
| 19:23:20 | mgagne | they can learn pretty fast how to spell park... | |
| 19:25:03 | mriedem | jmlowe: using OSC CLI? | |
| 19:25:19 | jmlowe | magnum actually | |
| 19:25:30 | mriedem | jmlowe: is magnum creating the server group? | |
| 19:25:37 | jmlowe | afaik | |
| 19:25:57 | mriedem | jmlowe: then they probably aren't specifying at least microversion 2.15: https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id13 | |
| 19:27:55 | jmlowe | I have this https://review.openstack.org/#/c/436447/ | |
| 19:28:08 | jmlowe | so I think they think they are using 2.15 | |
| 19:28:21 | mriedem | mgagne: heh, i remember we used to have to spell everything out when talking about that | |
| 19:28:30 | mriedem | kids and dogs, they are the same | |
| 19:28:51 | mgagne | my parents used english =) | |
| 19:29:23 | mriedem | jmlowe: the testing on that patch is spectacular | |
| 19:29:44 | jmlowe | .... | |
| 19:30:09 | mriedem | having said that, i don't speak heat code so not sure what you're seeing for failures | |
| 19:30:11 | jmlowe | my mother did teach me that if I have nothing nice to say | |
| 19:30:12 | mriedem | check the nova-api logs? | |
| 19:30:25 | mriedem | jmlowe: if the server group was created successfully, then that's not the issue | |
| 19:30:31 | mriedem | do you have the proper scheduler filters enabled? | |
| 19:30:57 | mriedem | https://docs.openstack.org/nova/latest/admin/configuration/schedulers.html#servergroupaffinityfilter | |
| 19:31:04 | mriedem | note the affinity filters are enabled by default, | |
| 19:31:06 | mriedem | as is the soft weigher | |
| 19:31:21 | mriedem | https://docs.openstack.org/nova/latest/admin/configuration/schedulers.html#id15 | |
| 19:31:25 | jaypipes | melwitt: :) | |
| 19:32:11 | mriedem | god our docs are confusing for people new to nova and cells v2 | |
| 19:32:12 | mriedem | "If cells are used, cells are weighted by the scheduler in the same manner as hosts." | |
| 19:32:14 | jmlowe | http://paste.openstack.org/show/723412/ | |
| 19:32:30 | jmlowe | I should have the defaults | |
| 19:32:32 | mriedem | we should asterisk all 'cells' mentions in the docs :) | |
| 19:32:57 | melwitt | bugathon candidate | |
| 19:33:04 | jmlowe | single v2 cell, I'm on pike | |
| 19:33:34 | mriedem | jmlowe: looks like 2.15 isn't specified | |
| 19:33:41 | jmlowe | grumble | |
| 19:33:43 | mriedem | jmlowe: is there something in the logs right before that with the request id and microversion? | |
| 19:34:20 | mriedem | jmlowe: you could just creating one on the command line as a test | |
| 19:34:47 | mriedem | openstack --os-compute-api-version 2.15 server group create --policy soft-anti-affinity jmlowe-test | |
| 19:35:21 | jmlowe | openstack server group create: error: argument --policy: invalid choice: u'soft-anti-affinity' (choose from 'affinity', 'anti-affinity') | |
| 19:35:26 | jmlowe | so... | |
| 19:36:02 | mgagne | mriedem: thanks for allocation healer =) | |
| 19:37:12 | jmlowe | I don't have available_filters or enabled_filters in my nova.conf | |
| 19:38:25 | jmlowe | also default for scheduler_driver | |
| 19:40:00 | mriedem | jmlowe: you have to specify the microversoin with osc | |
| 19:40:09 | mriedem | explicitly, it's not like nova cli | |
| 19:40:22 | mriedem | mgagne: thanks for kicking the tires - glad it's working out for you | |
| 19:40:43 | mriedem | ? | |
| 19:40:43 | mriedem | jmlowe: hmm, which version of osc | |
| 19:41:00 | mriedem | openstack server group create --help | |
| 19:41:05 | mriedem | that will tell you if it's new enough | |
| 19:41:12 | mgagne | mriedem: now time to see how to upgrade to Queens now that part of job is done already =) | |
| 19:41:25 | jmlowe | openstack 3.12.0 | |
| 19:41:34 | mriedem | https://review.openstack.org/#/c/521397/ | |
| 19:41:35 | mriedem | doh | |
| 19:41:38 | mriedem | you need <= 3.15 | |
| 19:41:40 | mriedem | * | |
| 19:41:42 | mriedem | >=3.15 | |
| 19:42:03 | mriedem | jmlowe: ooo 3.12.1 https://review.openstack.org/#/c/523858/ | |
| 19:42:05 | mriedem | pick that up | |
| 19:42:12 | mriedem | or use nova cli | |
| 19:42:48 | melwitt | +W needed on this change to "reserve" an ironic node up front before beginning the spawn process https://review.openstack.org/563722 | |
| 19:42:57 | melwitt | if anyone's interested | |
| 19:42:59 | jmlowe | same error on 3.15.0 | |
| 19:43:00 | mriedem | https://docs.openstack.org/python-novaclient/latest/cli/nova.html#nova-server-group-create | |
| 19:43:11 | mriedem | jmlowe: did you specify --os-compute-api-version 2.15? | |
| 19:45:55 | jmlowe | (openstack) Mikes-MacBook-Pro-3:~ jmlowe$ openstack --os-compute-api-version 2.15 server group create --policy soft-anti-affinity jmlowe-test | |
| 19:46:29 | jmlowe | that patch was in my cli | |
| 19:47:57 | mriedem | and that fails? | |
| 19:48:08 | mriedem | ? | |
| 19:48:08 | mriedem | openstack --version | |
| 19:49:57 | jmlowe | X-OpenStack-Nova-API-Version: 2.15 is in the request, ran with debug | |
| 19:50:11 | jmlowe | that version was 3.15.0 | |
| 19:50:16 | mriedem | and you got a 400? | |
| 19:50:30 | jmlowe | yes | |
| 19:50:35 | mriedem | pike? | |
| 19:50:43 | jmlowe | yes | |
| 19:51:05 | jmlowe | nova 16.1.4 | |
| 19:52:45 | mriedem | this all looks fine to me https://github.com/openstack/nova/blob/stable/pike/nova/api/openstack/compute/server_groups.py#L151 | |
| 19:53:19 | openstackgerrit | Matt Riedemann proposed openstack/nova master: Add trusted_image_certificates to REST API https://review.openstack.org/486204 | |
| 19:53:20 | openstackgerrit | Matt Riedemann proposed openstack/nova master: Add notification support for trusted_certs https://review.openstack.org/563269 | |
| 19:53:21 | openstackgerrit | Matt Riedemann proposed openstack/nova master: Add certificate validation docs https://review.openstack.org/560158 | |
| 19:53:22 | openstackgerrit | Matt Riedemann proposed openstack/nova master: WIP: Add trusted certs to feature support matrix docs https://review.openstack.org/574890 | |
| 19:53:23 | openstackgerrit | Matt Riedemann proposed openstack/nova master: Remove max_size parameter from fake_libvirt_utils.fetch_*image methods https://review.openstack.org/574911 | |
| 19:53:26 | mriedem | bpoulos: melwitt: ^ | |
| 19:57:10 | mriedem | jmlowe: i'm stumped | |
| 19:58:44 | bpoulos | mriedem: thank you for making those updates! | |
| 20:00:39 | mriedem | mgagne: were you working a patch for bug 1776743? if not, i can start on that | |
| 20:00:40 | openstack | bug 1776743 in OpenStack Compute (nova) "Allocation healer should ignore deleted instances" [High,Triaged] https://launchpad.net/bugs/1776743 - Assigned to Matt Riedemann (mriedem) | |
| 20:02:41 | mgagne | mriedem: didn't start work yet. but I found that you need to update filters at 2 places just so you know | |
| 20:03:27 | mriedem | mgagne: yup, the 2 places i pointed out? :P | |
| 20:03:51 | mgagne | only saw one? might be be that didn't read carefully as usual. | |