diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2013-02-06 10:55:50 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2013-02-11 12:06:57 +0000 |
commit | ba48398552b73d4392f508e31304685cace72269 (patch) | |
tree | 3b1fb4d368816d19743ffe76e968569a4c226d74 /nova/exception.py | |
parent | f262c435f4785ee18d7c3609767e5344915001b9 (diff) | |
download | nova-ba48398552b73d4392f508e31304685cace72269.tar.gz nova-ba48398552b73d4392f508e31304685cace72269.tar.xz nova-ba48398552b73d4392f508e31304685cace72269.zip |
Don't call 'vif.plug' twice during VM startup
When starting a VM, the 'get_guest_config' method would end
up calling both the 'plug' and 'get_config' methods on the
VIF driver impl. The 'plug' method was, however, already
being called by the 'create_domain_and_network' method in
libvirt/driver.py. The result was that when starting a VM,
Nova would be invoking 'plug' twice. Fortunately this does
not currently cause any serious problems, but it could well
do in the future.
Change-Id: I4b044a6d44801a27362e3bf8531962ba85e79466
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions