| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2018-08-16 | |||
| 14:05:27 | efried | kosamara: As for attempting to define the same rule for all drivers, I think that's a good idea for consistency. | |
| 14:16:05 | sean-k-mooney | kosamara: i would generally try to minimise divergnce options in dirver | |
| 14:17:16 | sean-k-mooney | efried: host-specfic doen not inherintly mean driver-specific | |
| 14:17:58 | efried | sean-k-mooney: Can we have more than one nova-compute service running on a single host? Or more than one driver loaded in a single nova-compute process? | |
| 14:20:34 | sean-k-mooney | efried: yes we can have more then one nova compute on the same host | |
| 14:20:46 | sean-k-mooney | efried: normally only done with ironic | |
| 14:21:29 | sean-k-mooney | we can only have 1 driver loaded as far as i am aware | |
| 14:21:37 | efried | That sounds really confusing. Are they reporting different host resources? | |
| 14:22:03 | efried | or the compute services each "own" a different subset of the ironic nodes? | |
| 14:22:25 | sean-k-mooney | the compute serveice each own a subset of the ironic nodes | |
| 14:22:50 | efried | okay, so still, is there an example where multiple different drivers could exist on a single host? | |
| 14:23:16 | sean-k-mooney | efried: not really. no. | |
| 14:23:27 | sean-k-mooney | you could have ironic and libvirt on the same node | |
| 14:23:34 | sean-k-mooney | i have done that but only for dev | |
| 14:23:45 | efried | okay. So host <=> driver for all intents and purposes. | |
| 14:24:05 | sean-k-mooney | you not really going to run libvirt and say nova-docker on the same host that said you could | |
| 14:24:09 | efried | sean-k-mooney: If you did have that kind of dual setup, would they be pointing to different configs? | |
| 14:24:22 | sean-k-mooney | efried: yes | |
| 14:24:27 | efried | okay, then the model holds. | |
| 14:25:17 | sean-k-mooney | efried: the point i was more trying to make is that the config them selve are not virt driver specic in the content they contain | |
| 14:25:29 | efried | wtf, of course they are | |
| 14:25:47 | sean-k-mooney | what is different? | |
| 14:25:50 | efried | you try to put a libvirt nova.conf onto a powervm compute node, it won't work at all. | |
| 14:26:07 | sean-k-mooney | efried: only the libvirt section would be different | |
| 14:26:23 | sean-k-mooney | anything outside the virt driver section should be identical | |
| 14:26:32 | efried | That sounds like a theoretical statement, not a practical one. | |
| 14:26:50 | sean-k-mooney | efried: if it not we have serious bugs | |
| 14:27:38 | sean-k-mooney | the only section that should be virt driver sepecific is the virt driver section. | |
| 14:27:50 | efried | Same config *format* I'll grant you, but the idea of being able to compose one config file and then copy it verbatim around a heterogeneous cloud - I have a hard time believing that anybody actually does that. | |
| 14:28:47 | sean-k-mooney | efried: alot of the installers bacsically do that | |
| 14:29:10 | sean-k-mooney | you are right here may be some hardware specific changes such as the vcpu_pin_set | |
| 14:29:35 | sean-k-mooney | but that dose not depend on the virt driver virt driver | |
| 14:29:54 | dansmith | sean-k-mooney: to have more than one compute per host you have to tell them each that they are a different hostname, and thus a different config, which means they might as well be separate hosts | |
| 14:31:20 | efried | kosamara: Based on this discussion, how do you feel about recommending that virt drivers log a warning, but not raise an exception, when they encounter a field they don't recognize/support/use? | |
| 14:31:49 | kosamara | efried: That's what I was converging to, I think that's best | |
| 14:32:05 | efried | this would give the admin the right clue as to why their device doesn't show up, if they were in fact expecting that field to be processed. | |
| 14:32:20 | kosamara | which satisfies my scenario | |
| 14:32:36 | sean-k-mooney | dansmith: that is true. | |
| 14:32:52 | efried | "WARNING: Device identification field XXX in inventory.yaml not recognized by the YYY driver; ignoring" | |
| 14:33:48 | sean-k-mooney | efried: do you need to raise an exception? | |
| 14:34:03 | efried | no, that's what kosamara and I are talking about. | |
| 14:34:11 | sean-k-mooney | sorry you said not raise an exception | |
| 14:34:41 | efried | If it's a common thing for configs to be copied around a cloud, then we should log and ignore. | |
| 14:35:36 | sean-k-mooney | efried: ya if we raise an exception from config parsing we normall hard crash the agent. but that seam wrong in this case | |
| 14:37:05 | efried | sean-k-mooney: This processing is happening in the compute service, in the virt driver's update_provider_tree method, on startup and/or SIGHUP, so I don't think it crashes the compute service; but it would make lots of things not work, depending where the exception was raised in update_provider_tree. | |
| 14:40:29 | sean-k-mooney | efried: sorry i was not being clear. it not where the parsing is done. we have two classes of config options. 1 where if its invalid we stop the agent form running and a second where we log a warning and continue on | |
| 14:40:46 | efried | sean-k-mooney: Note that this isn't oslo.config | |
| 14:40:49 | sean-k-mooney | this feels more like a warning to me then stop everything | |
| 14:41:31 | sean-k-mooney | efried: yes. the impentation is not what im concerned about its the semantics im thinking about | |
| 14:43:36 | efried | Right. And semantically we converged on the fact that it's (apparently) fairly common for operators to write a config file once and then copy it around the cloud. | |
| 14:43:36 | efried | For this reason, as well as in anticipation of future support for a global inventory.yaml on the conductor, it makes most sense *not* to treat an unrecognized field as an error. | |
| 14:43:36 | efried | But, to avoid baffling the operator, we should log a warning that she'll see when she goes to investigate why her device isn't showing up. | |
| 14:43:59 | efried | kosamara: Fair summary? ^ | |
| 14:44:40 | sean-k-mooney | efried: its not that they write them once it more most deployment tools you a base config template with minimal per host overrides so the confige are largly the same. | |
| 14:45:06 | efried | cool. | |
| 14:45:54 | sean-k-mooney | the downside to that is you typo somthing once and you break everything. | |
| 14:46:30 | sean-k-mooney | i may have hard locked 15 servers due to a config typo in the past.. | |
| 15:07:32 | melwitt | . | |
| 15:21:34 | jaypipes | melwitt: , | |
| 15:21:45 | melwitt | ! | |
| 15:21:48 | jaypipes | ? | |
| 15:21:58 | jaypipes | :P | |
| 15:22:08 | melwitt | we're at an impasse... | |
| 15:22:17 | jaypipes | melwitt: was just a friendly comma saying hi to your full stop. | |
| 15:22:32 | melwitt | heh | |
| 15:36:51 | kosamara | efried: yes | |
| 15:48:01 | openstackgerrit | Claudiu Belu proposed openstack/nova master: tests: autospecs all the mock.patch usages https://review.openstack.org/470775 | |
| 16:05:25 | sean-k-mooney | melwitt: dansmith. i have found an issue in my livemigration. specifcally there is a case where livemigration fails, the instance is still running on the soruce but the vif_type is none beacuse the host_id is not set. | |
| 16:05:52 | sean-k-mooney | i need to do more digging to localise the actull issue | |
| 16:06:06 | dansmith | because we update the instance info in the db from the failure yeah? | |
| 16:06:20 | dansmith | I think mriedem had a patch for that recently, IIRC | |
| 16:07:19 | dansmith | sean-k-mooney: does the healer periodic fix it after it runs? | |
| 16:07:39 | sean-k-mooney | im not sure. i think we may have activated the port binding for the dest and not reactivated for source. | |
| 16:08:28 | sean-k-mooney | dansmith: ill get the logs and file a propper bug | |
| 16:08:42 | dansmith | okay there was a situation where we saved the failed binding info cache recently that matt was working on, so might be related | |
| 16:08:46 | dansmith | but yeah | |
| 16:09:37 | sean-k-mooney | dansmith: i dont think its related as teh vif_type is none in neutron not binding_failed. | |
| 16:09:46 | dansmith | ah okay | |
| 16:23:35 | kosamara | efried: On the namespacing of driver-generated traits: if we demand that all driver-generated traits exist within a namespace, we don't allow the drivers to generate standard traits. | |
| 16:28:38 | kosamara | I propose to allow the driver to generate either namespaced or standard traits. | |
| 17:34:27 | openstackgerrit | melanie witt proposed openstack/nova-specs master: Move rocky implemented specs https://review.openstack.org/592622 | |
| 17:35:48 | openstackgerrit | Chris Dent proposed openstack/nova master: Add explanatory prefix to post_test_perf output https://review.openstack.org/591850 | |
| 17:35:49 | openstackgerrit | Chris Dent proposed openstack/nova master: Add trait query to placement perf check https://review.openstack.org/592624 | |
| 17:42:10 | openstackgerrit | melanie witt proposed openstack/nova-specs master: Dynamically find releases for move-implemented-specs https://review.openstack.org/592628 | |
| 17:54:38 | Sundar | Hi all, could somebody tell me the status of nested resource providers, including virt driver changes (to avoid stomping on custom resources)? If there is a bp to track it, please point me to that. Thanks! | |
| 17:55:57 | melwitt | I think the placement side is considered done, but none of the nova integration side has been started yet. I'm not aware of a bp tracking it yet | |
| 17:58:55 | Sundar | melwitt: Thanks. So, in particular, the work to prevent virt drivers from overwriting custom resources has not started yet, right? If so, what is the blocker -- is it still upgrade considerations? | |
| 17:59:54 | dansmith | Sundar: resources or traits? | |
| 18:00:38 | Sundar | dansmith: I think both. When last checked, the virt drivers just overwrite the inventory of the compute node. | |
| 18:00:54 | dansmith | well, nova-compute does that with the help of the virt driver, | |
| 18:01:00 | openstackgerrit | melanie witt proposed openstack/nova-specs master: Add a script for counting blueprints https://review.openstack.org/581914 | |
| 18:01:09 | dansmith | but inventory of a provider should only be owned by a single entity, | |
| 18:01:27 | sean-k-mooney | Sundar: in dublin we said external service were not allowed to create inventoei in resouce providers they did not create | |
| 18:01:30 | dansmith | and since there is only one provider for a compute node right now, overwriting inventory entirely is kinda expected | |
| 18:01:38 | dansmith | right, what sean-k-mooney said | |
| 18:01:50 | dansmith | so until the providers start reporting things as nested, | |
| 18:02:07 | dansmith | there's no real opportunity for the coexistence of other nested providers with their own inventory they manage | |
| 18:02:16 | efried | kosamara: Yes, tricky question as to who "owns" a standard trait. | |
| 18:02:19 | dansmith | and that is dependent on the upgrade bit getting worked out | |
| 18:02:37 | Sundar | Yes. Even with nested RPs, we had the issue that the libvirt driver would overwrite the nested RP config. This was about a month or so ago. | |