← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1381468] Re: Type conflict in nova/nova/scheduler/filters/trusted_filter.py using attestation_port default value

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => kilo-1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1381468

Title:
  Type conflict in nova/nova/scheduler/filters/trusted_filter.py using
  attestation_port default value

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  When trusted filter in nova scheduler is running with default value of
  attestation_port:

  cfg.StrOpt('attestation_port', default='8443', help='Attestation
  server port'),

  method _do_request() in AttestationService class has this line:

  action_url = "https://%s:%d%s/%s"; % (self.host, self.port,
  self.api_url, action_url)

  It is easy to see that default type of attestation_port is string. 
  But in action_url self.port is required as integer (%d). It leads to conflict.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1381468/+subscriptions


References