[Yahoo-eng-team] [Bug 1381468] Re: Type conflict in nova/nova/scheduler/filters/trusted_filter.py using attestation_port default value
** Changed in: nova/juno Status: Fix Committed => Fix Released -- 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 Status in OpenStack Compute (nova) icehouse series: Fix Released Status in OpenStack Compute (nova) juno series: 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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1381468] Re: Type conflict in nova/nova/scheduler/filters/trusted_filter.py using attestation_port default value
** Changed in: nova/icehouse Status: Fix Committed = Fix Released -- 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 Status in OpenStack Compute (nova) icehouse series: Fix Released Status in OpenStack Compute (nova) juno series: Fix Committed 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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1381468] Re: Type conflict in nova/nova/scheduler/filters/trusted_filter.py using attestation_port default value
** Also affects: nova/icehouse Importance: Undecided Status: New -- 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 Status in OpenStack Compute (nova) icehouse series: New Status in OpenStack Compute (nova) juno series: Fix Committed 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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1381468] Re: Type conflict in nova/nova/scheduler/filters/trusted_filter.py using attestation_port default value
** Also affects: nova/juno Importance: Undecided Status: New ** Changed in: nova/juno Status: New = Fix Committed ** Changed in: nova/juno Assignee: (unassigned) = Matthew Booth (mbooth-9) -- 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 Status in OpenStack Compute (nova) juno series: Fix Committed 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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp