On Thu, Sep 10, 2015 at 06:53:06PM -0230, Brent Eagles wrote: > Hi, > > I was recently informed of a situation that came up when an engineer > added an SR-IOV nic to a compute node that was hosting some guests that > had VFs attached. Unfortunately, adding the card shuffled the PCI > addresses causing some degree of havoc. Basically, the PCI addresses > associated with the previously allocated VFs were no longer valid.
This seems to be implying that they took the host offline to make hardware changes, and then tried to re-start the originally running guests directly, without letting the schedular re-run. If correct, then IMHO that is an unsupported approach. After making any hardware changes you should essentially consider that to be a new compute host. There is no expectation that previously running guests on that host can be restarted. You must let the compute host report its new hardware capabilities, and let the schedular place guests on it from scratch, using the new PCI address info. > I tend to consider this a non-issue. The expectation that hosts have > relatively static hardware configuration (and kernel/driver configs for > that matter) is the price you pay for having pets with direct hardware > access. That being said, this did come as a surprise to some of those > involved and I don't think we have any messaging around this or advice > on how to deal with situations like this. > > So what should we do? I can't quite see altering OpenStack to deal with > this situation (or even how that could work). Has anyone done any > research into this problem, even if it is how to recover or extricate > a guest that is no longer valid? It seems that at the very least we > could use some stern warnings in the docs. Taking a host offline for maintenance, should be considered equivalent to throwing away the existing host and deploying a new host. There should be zero state carry-over from OpenStack POV, since both the software and hardware changes can potentially invalidate previous informationm used by the schedular for deploying on that host. The idea of recovering a previously running guest should be explicitly unsupported. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev