nodeName is set to ns2:metadata and not just metadata when namespaces are
specified using first example in the defect. Explicitly check namespaces
where necessary and use localName instead of nodeName.
Ensure that scheduler_hints are picked up from the correct namespace
Reviewed: https:/ /review. openstack. org/16116 github. com/openstack/ nova/commit/ b31f52840540d63 827b6fd7d294035 f4d8ee4a1d
Committed: http://
Submitter: Jenkins
Branch: stable/folsom
commit b31f52840540d63 827b6fd7d294035 f4d8ee4a1d
Author: Davanum Srinivas <email address hidden>
Date: Mon Oct 22 17:53:30 2012 -0400
Fix Broken XML Namespace Handling
nodeName is set to ns2:metadata and not just metadata when namespaces are
specified using first example in the defect. Explicitly check namespaces
where necessary and use localName instead of nodeName.
Ensure that scheduler_hints are picked up from the correct namespace
fix lines too long from pep8
Fixes bug 887191
Change-Id: I5db2b575d24f6b 1b358489e309af7 e6ace2950fd 60e6024a801efbd a292d44ebf)
(cherry picked from commit 10caf4b48fa67b1