Tracked in Github Issues as https://github.com/canonical/cloud-
init/issues/2519

** Bug watch added: github.com/canonical/cloud-init/issues #2519
   https://github.com/canonical/cloud-init/issues/2519

** Changed in: cloud-init
       Status: Confirmed => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1413788

Title:
  inconsistent parameter list in get_hostname method for subclasses of
  sources.DataSource

Status in cloud-init:
  Expired

Bug description:
  The sources.DataSource class has method defined as:
     def get_hostname(self, fqdn=False, resolve_ip=False)

  The parameter list in the following subclasses of sources.DataSource is not 
consistent with this method (see [1] for details):
  DataSourceDigitalOcean
  DataSourceGCE

  [1] 
  $ find cloudinit/sources/ -type f | xargs grep 'def get_hostname'
  cloudinit/sources//init.py: def get_hostname(self, fqdn=False, 
resolve_ip=False):
  cloudinit/sources//DataSourceCloudSigma.py: def get_hostname(self, 
fqdn=False, resolve_ip=False):
  cloudinit/sources//DataSourceDigitalOcean.py: def get_hostname(self, 
fqdn=False):
  cloudinit/sources//DataSourceGCE.py: def get_hostname(self, fqdn=False, 
_resolve_ip=False):
  cloudinit/sources//DataSourceOpenNebula.py: def get_hostname(self, 
fqdn=False, resolve_ip=None):

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1413788/+subscriptions


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to