| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2017-07-18 | |||
| 18:41:25 | mriedem | *love's | |
| 18:41:27 | mriedem | loves? | |
| 18:41:46 | mriedem | so we have a pile of floor cleaners and tablets all over the house | |
| 18:41:48 | dansmith | I was thinking more along the lines of a "how to get excited about having a second child" book or something | |
| 18:42:01 | mriedem | that ship sailed a couple of years ago | |
| 18:42:02 | melwitt | lol | |
| 18:42:07 | openstackgerrit | Jay Pipes proposed openstack/nova master: placement: alloc candidates only shared resources https://review.openstack.org/484900 | |
| 18:42:12 | jaypipes | mriedem, dansmith, edleafe: ok dokey ^^ | |
| 18:42:44 | mriedem | when amazon makes a life-like enough "my buddy" cyborg child, we'll probably have one | |
| 18:42:53 | mriedem | and then i'll make it clean my floors | |
| 18:43:29 | melwitt | my buddy, that's a blast from the past | |
| 18:43:44 | mriedem | don't forget the hulk hogan my buddy | |
| 18:43:58 | melwitt | yikes | |
| 18:49:44 | dansmith | edleafe: do you have a game plan for the heal process? | |
| 18:50:13 | dansmith | I was thinking we had to convert the instances from ram/cpu/disk, but really we just need to add the source class to them I think for pike | |
| 18:50:33 | dansmith | edleafe: which we might be able to do in an online migration instead of in the driver, now that I think of it | |
| 18:50:57 | dansmith | edleafe: but we also need the piece to make the resource tracker report allocations for the custom resources an instance has in its flavor, which I don't think is done yet | |
| 18:51:00 | dansmith | jaypipes: right? | |
| 18:51:49 | mriedem | correct | |
| 18:51:52 | jaypipes | correct | |
| 18:51:56 | mriedem | the data migration and posting allocations isn't done | |
| 18:52:35 | edleafe | dansmith: doing it in the driver's init_host has a lot of advantages | |
| 18:52:55 | dansmith | ah, the reason is because we don't easily know ironic vs. libirt instances in manage | |
| 18:52:57 | dansmith | that's why | |
| 18:53:04 | dansmith | edleafe: we just need to be good about it (i.e. spawn a thread) | |
| 18:53:09 | edleafe | mostly that it runs once, and nova can't accidentally allocate against it until the healing is run | |
| 18:53:36 | edleafe | dansmith: well, we can see about improving it once I get it working | |
| 18:53:36 | dansmith | edleafe: well, I don't think we can block compute startup entirely right? | |
| 18:53:53 | dansmith | and we don't need to until we convert the requests to be custom-only, which is queens I think | |
| 18:54:24 | edleafe | dansmith: this has to be done in Pike so we can remove it in Queens and go to custom-only | |
| 18:54:44 | dansmith | edleafe: the migration does yeah, so we can do it async | |
| 18:54:47 | openstackgerrit | Baodong (Robert) Li proposed openstack/nova-specs master: Expose vlan trunking in metadata/configdrive https://review.openstack.org/471815 | |
| 18:55:02 | dansmith | so nobody is working on reporting allocations for custom resource type overrides in the flavors, right? | |
| 18:56:18 | edleafe | dansmith: the understanding was that operators would add the extra_specs stuff before starting Pike | |
| 18:56:41 | dansmith | edleafe: to the base flavors? | |
| 18:56:44 | mriedem | edleafe: they shouldn't do any of that, | |
| 18:56:45 | edleafe | dansmith: the nodes should already be populated with a resource_class in Ocata | |
| 18:56:48 | mriedem | until this other stuff is done | |
| 18:57:02 | dansmith | right | |
| 18:57:03 | dansmith | they can't | |
| 18:57:10 | dansmith | the spec says that in queens, afaik | |
| 18:57:15 | mriedem | we could likely build something into nova-status in queens | |
| 18:57:21 | edleafe | mriedem: well, yeah - that's why this is going into Pike | |
| 18:57:29 | dansmith | if we report inventory in pike, and allocations for existing, then everything is good to cut over in queens | |
| 18:57:39 | mriedem | you could query all ironic compute nodes in all cells and get the instances from them and check to see if their flavors have been migrated | |
| 18:58:14 | mriedem | anyway i think i put some words about the operator thing in the spec amendment | |
| 18:58:47 | dansmith | so again, | |
| 18:58:55 | dansmith | nobody is working on the reporting allocations part right? | |
| 18:59:11 | mriedem | correctamundo | |
| 18:59:29 | dansmith | okay I think that'll be easy so let me work on that a bit | |
| 18:59:43 | edleafe | dansmith: not sure what you mean by 'reporting allcations' | |
| 19:00:10 | dansmith | edleafe: healing the flavors on the instances to have the resource override is one thing, | |
| 19:00:13 | mriedem | edleafe: let me find that from the spec amendment | |
| 19:00:28 | dansmith | but we have to actually report those values as consumed in placement when we're making/updating the instance allocations | |
| 19:00:32 | dansmith | from resource tracker | |
| 19:00:40 | mriedem | edleafe: https://review.openstack.org/#/c/481748/1/specs/pike/approved/custom-resource-classes-in-flavors.rst@108 | |
| 19:01:23 | edleafe | mriedem: ok, that | |
| 19:01:51 | edleafe | mriedem: I am adding similar in the flavor migration stuff | |
| 19:02:09 | edleafe | setting the allocation for the custom ironic RC | |
| 19:02:18 | dansmith | migrating the instance flavor should make the allocation heal in the RT when that runs | |
| 19:02:26 | dansmith | edleafe: don't make those calls from driver init | |
| 19:02:30 | dansmith | otherwise we have it in two places | |
| 19:35:26 | openstackgerrit | Merged openstack/os-vif master: unplug_vf_passthrough: don't try to delete representor netdev https://review.openstack.org/478820 | |
| 19:40:07 | openstackgerrit | OpenStack Proposal Bot proposed openstack/nova master: Updated from global requirements https://review.openstack.org/484218 | |
| 19:55:54 | openstackgerrit | Jackie Truong proposed openstack/nova master: [WIP] Add trusted certificates to InstanceExtras https://review.openstack.org/457711 | |
| 19:57:35 | openstackgerrit | Jackie Truong proposed openstack/nova master: [WIP] Add trusted certificates to InstanceExtras https://review.openstack.org/457711 | |
| 20:02:45 | oorgeron | Hi folks, I'm working on a patch to enable nova to use mysql cluster. In tests, I'm running into errors that seem to indicate that sqlite is being used in the sqlalchemy migrations. Michael Bayer said that this has happened before in the nova gate, anyone know how to fix that? https://review.openstack.org/#/c/446643/ | |
| 20:06:08 | melwitt | oorgeron: the unit tests intentionally use sqlite | |
| 20:06:27 | melwitt | and functional tests | |
| 20:08:06 | melwitt | that said, I don't know how you could get things working with your change. probably need to ask someone like sdague | |
| 20:12:31 | oorgeron | melwitt: I'll reach out to sdague. | |
| 20:13:14 | openstackgerrit | Dan Smith proposed openstack/nova master: Consider instance flavor resource overrides in allocations https://review.openstack.org/484935 | |
| 20:13:30 | dansmith | mriedem: edleafe ^.. I still need to figure out what gabbit is failing on one of the functional tests | |
| 20:13:50 | mriedem | oorgeron: you can run mysql and postgresql opportunistic tests locally if you do some setup | |
| 20:14:32 | sdague | oorgeron: yeh, everything there looks like unit testable failures because of an assumption about an index | |
| 20:14:51 | mriedem | there should be a script in nova/tools to set this stuff up | |
| 20:14:58 | sdague | mriedem: it's not even that | |
| 20:15:20 | mriedem | https://github.com/openstack/nova/blob/master/tools/test-setup.sh | |
| 20:15:30 | sdague | http://logs.openstack.org/43/446643/6/check/gate-nova-python27-ubuntu-xenial/6e79a39/console.html.gz#_2017-07-14_19_47_37_197086 | |
| 20:15:39 | sdague | these are just run of the mill, non mysql / pg tests failing | |
| 20:16:01 | oorgeron | sdague: yeah the test is failing with a sqlite error with dropping an index. The scripts work fine with innodb and ndb as the database. | |
| 20:16:13 | sdague | oorgeron: right, they have to work with sqlite as well | |
| 20:16:18 | sdague | that's our unit testing environment | |
| 20:16:37 | mriedem | yeah...you can't just do stuff like this https://review.openstack.org/#/c/446643/6/nova/db/sqlalchemy/migrate_repo/versions/249_remove_duplicate_index.py | |
| 20:17:50 | mriedem | and this scares me https://review.openstack.org/#/c/446643/6/nova/db/sqlalchemy/models.py | |
| 20:18:21 | oorgeron | mriedmen: A lot of the other services are just doing tests against mysql and maybe postgresql. I could use another method to drop and add the foreignkey and not use the migrate method for doing that. | |
| 20:18:40 | mriedem | oorgeron: everyone is using sqlite for unit tests | |
| 20:18:48 | mriedem | we test with mysql in the devstack jobs in the gate | |
| 20:18:52 | mriedem | for integration testing | |
| 20:19:07 | mriedem | the unit tests also run with the opportunistic mysql and postgresql backends in the gate | |
| 20:19:09 | oorgeron | mriedem: I can drop foreign keys like this in other services and the tests pass. | |
| 20:19:14 | mriedem | but locally you have to set that all up optionally | |
| 20:19:23 | mriedem | oorgeron: that doesn't make it right | |
| 20:19:34 | mriedem | "hey look i deleted a bunch of code and nothing blew up!" | |
| 20:19:39 | mriedem | that probably just means they aren't doing testing | |
| 20:20:31 | mriedem | the model changes here worry me that the schema will change for other backends, like postgresql | |
| 20:20:50 | oorgeron | mriedem: first off, when you drop an index, you supposed to remove the foreign keys, if we're talking about the right order of sql steps. Innodb just happens to be very forgiving on that, doesn't make it right either. | |
| 20:21:13 | oorgeron | mriedem: also, if you look at that, it adds the key back after the index is dropped, which is the right way to do this in sql | |
| 20:21:46 | jaypipes | mriedem: how may I be of assistance? | |
| 20:21:49 | oorgeron | mriedem: But I'll try a dumber wait to drop and recreate the foreign key, instead of using the migrate method here. | |