← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1781229] Re: copr builds broken

 

This bug is believed to be fixed in cloud-init in version 18.4. If this
is still a problem for you, please make a comment and set the state back
to New

Thank you.

** Changed in: cloud-init
       Status: Fix Committed => Fix Released

-- 
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/1781229

Title:
  copr builds broken

Status in cloud-init:
  Fix Released

Bug description:
  The last successful copr build was  18.3+7.g802c1d51-1.el7 
   18.3+9.g2e62cb8a-1.el7  is currently failing for
  https://copr.fedorainfracloud.org/coprs/g/cloud-init/cloud-init-dev/build/775930/

  epel-6-i386 
  epel-6-x86_64
  fedora-rawhide-i386
  fedora-rawhide-x86_64
  fedora-rawhide-ppc64le

  The rawhide errors look to all be a result of no 'python':
  + /usr/bin/python setup.py build
  BUILDSTDERR: /var/tmp/rpm-tmp.OtzNu9: line 31: /usr/bin/python: No such file or directory

  https://fedoraproject.org/wiki/Packaging:Python#Requires_and_BuildRequires_with_standardized_names
  might be useful for figuring out how to do that the right way.

  The epel issues seem to be related to get_linux_distro.
  It fails with stack trace like (cleaned up the output):

  | RuntimeError: Failed running ['/usr/bin/python', './tools/render-cloudcfg', 'systemd/cloud-init.service.tmpl', 'RENDERED_TEMPDan8FYU/cloud-init.service'] [rc=1] (, Traceback (most recent call last):
  |   File "./tools/render-cloudcfg", line 44, in <module>
  |     main()
  |   File "./tools/render-cloudcfg", line 19, in main
  |     platform = util.system_info()
  |   File "/builddir/build/BUILD/cloud-init-18.3-9-g2e62cb8a/cloudinit/util.py", line 627, in system_info
  |     'dist': get_linux_distro()
  |   File "/builddir/build/BUILD/cloud-init-18.3-9-g2e62cb8a/cloudinit/util.py", line 597, in get_linux_distro
  |     os_release.get('VERSION'))
  |   File "/usr/lib/python2.6/re.py", line 137, in match
  |     return _compile(pattern, flags).match(string)
  | TypeError: expected string or buffer
  |

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


References