remove extraneous white space from hostname
Tony Mack [Thu, 15 Jan 2015 18:32:54 +0000 (13:32 -0500)]
planetstack/openstack_observer/steps/sync_slivers.py

index 75b0b1e..09c1c04 100644 (file)
@@ -93,7 +93,7 @@ class SyncSlivers(OpenStackSyncStep):
         if (legacy):
             host_filter = sliver.node.name.split('.',1)[0]
         else:
-            host_filter = sliver.node.name
+            host_filter = sliver.node.name.strip()
 
         availability_zone_filter = 'nova:%s'%host_filter
         sliver_name = '%s-%d'%(sliver.slice.name,sliver.id)