Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
  • Products

    Top Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Products

    Downloads and Containers

    • Downloads
    • Packages
    • Containers

    Top Resources

    • Documentation
    • Product Life Cycles
    • Product Compliance
    • Errata
  • Knowledge

    Red Hat Knowledge Center

    • Knowledgebase Solutions
    • Knowledgebase Articles
    • Customer Portal Labs
    • Errata

    Top Product Docs

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Product Docs

    Training and Certification

    • About
    • Course Index
    • Certification Index
    • Skill Assessment
  • Security

    Red Hat Product Security Center

    • Security Updates
    • Security Advisories
    • Red Hat CVE Database
    • Errata

    References

    • Security Bulletins
    • Security Measurement
    • Severity Ratings
    • Security Data

    Top Resources

    • Security Labs
    • Backporting Policies
    • Security Blog
  • Support

    Red Hat Support

    • Support Cases
    • Troubleshoot
    • Get Support
    • Contact Red Hat Support

    Red Hat Community Support

    • Customer Portal Community
    • Community Discussions
    • Red Hat Accelerator Program

    Top Resources

    • Product Life Cycles
    • Customer Portal Labs
    • Red Hat JBoss Supported Configurations
    • Red Hat Insights
Or troubleshoot an issue.

Select Your Language

  • English
  • Français
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Insights
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift
  • Red Hat OpenShift AI
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • Red Hat OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat build of Keycloak
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products
Red Hat Product Errata RHBA-2020:2654 - Bug Fix Advisory
Issued:
2020-06-23
Updated:
2020-06-23

RHBA-2020:2654 - Bug Fix Advisory

  • Overview
  • Updated Packages

Synopsis

cloud-init bug fix and enhancement update

Type/Severity

Bug Fix Advisory

Red Hat Insights patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

An update for cloud-init is now available for Red Hat Enterprise Linux 7.

Description

The cloud-init packages provide a set of init scripts for cloud instances.
Cloud instances need special scripts to run during initialization to
retrieve and install SSH keys, and to let the user run various scripts.

Bug Fix(es) and Enhancement(s):

  • [RHEL7] swapon fails with "swapfile has holes" when created on a xfs

filesystem by cloud-init (BZ#1801094)

  • [cloud-init][rhel-7.8.z]cloud-init cloud-final.service fail with

KeyError: 'modules-init' after upgrade to version 18.2-1.el7_6.1 in RHV
(BZ#1802173)

  • cloud-init Azure byte swap (hyperV Gen2 Only) (BZ#1810064)
  • Support for AWS IMDS v2 (available in cloud-init 19.4) (BZ#1827207)
  • [Azure] cloud-init provisioning failed in Azure (BZ#1832177)

Solution

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

For details on how to apply this update, refer to:

https://access.redhat.com/articles/11258

Affected Products

  • Red Hat Enterprise Linux Server 7 x86_64
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support 7 x86_64
  • Red Hat Enterprise Linux for IBM z Systems 7 s390x
  • Red Hat Enterprise Linux for Power, big endian 7 ppc64
  • Red Hat Enterprise Linux for Power, little endian 7 ppc64le
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 7 s390x
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, big endian 7 ppc64
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, little endian 7 ppc64le

Fixes

  • BZ - 1801094 - [RHEL7] swapon fails with "swapfile has holes" when created on a xfs filesystem by cloud-init [rhel-7.8.z]
  • BZ - 1802173 - [cloud-init][rhel-7.8.z]cloud-init cloud-final.service fail with KeyError: 'modules-init' after upgrade to version 18.2-1.el7_6.1 in RHV
  • BZ - 1810064 - cloud-init Azure byte swap (hyperV Gen2 Only) [rhel-7.8.z]
  • BZ - 1827207 - Support for AWS IMDS v2 (available in cloud-init 19.4) [rhel-7.8.z]
  • BZ - 1832177 - [Azure] cloud-init provisioning failed in Azure [rhel-7.8.z]

CVEs

(none)

References

(none)

Note: More recent versions of these packages may be available. Click a package name for more details.

Red Hat Enterprise Linux Server 7

SRPM
cloud-init-18.5-6.el7_8.5.src.rpm SHA-256: 2a941bb105043412dca15c14857936aebe86fd51452c8730d6628b1cf55eaa00
x86_64
cloud-init-18.5-6.el7_8.5.x86_64.rpm SHA-256: 81fb7af0f576c9a184527fd2d0b54c1705e9b32adddef6cf8fff101aae2db491

Red Hat Enterprise Linux Server - Extended Life Cycle Support 7

SRPM
cloud-init-18.5-6.el7_8.5.src.rpm SHA-256: 2a941bb105043412dca15c14857936aebe86fd51452c8730d6628b1cf55eaa00
x86_64
cloud-init-18.5-6.el7_8.5.x86_64.rpm SHA-256: 81fb7af0f576c9a184527fd2d0b54c1705e9b32adddef6cf8fff101aae2db491

Red Hat Enterprise Linux for IBM z Systems 7

SRPM
cloud-init-18.5-6.el7_8.5.src.rpm SHA-256: 2a941bb105043412dca15c14857936aebe86fd51452c8730d6628b1cf55eaa00
s390x
cloud-init-18.5-6.el7_8.5.s390x.rpm SHA-256: 7dd065f1e24b751a34f906d0b960339c65e9d394198db128cb5218052872048e

Red Hat Enterprise Linux for Power, big endian 7

SRPM
cloud-init-18.5-6.el7_8.5.src.rpm SHA-256: 2a941bb105043412dca15c14857936aebe86fd51452c8730d6628b1cf55eaa00
ppc64
cloud-init-18.5-6.el7_8.5.ppc64.rpm SHA-256: 96f9f3026f33b0d76a1a8b22f3fe66616c198d8b62acc9feb221075ec283d213

Red Hat Enterprise Linux for Power, little endian 7

SRPM
cloud-init-18.5-6.el7_8.5.src.rpm SHA-256: 2a941bb105043412dca15c14857936aebe86fd51452c8730d6628b1cf55eaa00
ppc64le
cloud-init-18.5-6.el7_8.5.ppc64le.rpm SHA-256: 02bc98f5d31716e5dd661e0decfa35f85ffd0fbb8bc005928a6e98380dff3c96

Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 7

SRPM
cloud-init-18.5-6.el7_8.5.src.rpm SHA-256: 2a941bb105043412dca15c14857936aebe86fd51452c8730d6628b1cf55eaa00
s390x
cloud-init-18.5-6.el7_8.5.s390x.rpm SHA-256: 7dd065f1e24b751a34f906d0b960339c65e9d394198db128cb5218052872048e

Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, big endian 7

SRPM
cloud-init-18.5-6.el7_8.5.src.rpm SHA-256: 2a941bb105043412dca15c14857936aebe86fd51452c8730d6628b1cf55eaa00
ppc64
cloud-init-18.5-6.el7_8.5.ppc64.rpm SHA-256: 96f9f3026f33b0d76a1a8b22f3fe66616c198d8b62acc9feb221075ec283d213

Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, little endian 7

SRPM
cloud-init-18.5-6.el7_8.5.src.rpm SHA-256: 2a941bb105043412dca15c14857936aebe86fd51452c8730d6628b1cf55eaa00
ppc64le
cloud-init-18.5-6.el7_8.5.ppc64le.rpm SHA-256: 02bc98f5d31716e5dd661e0decfa35f85ffd0fbb8bc005928a6e98380dff3c96

The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.

Red Hat LinkedIn YouTube Facebook X, formerly Twitter

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

Red Hat legal and privacy links

  • About Red Hat
  • Jobs
  • Events
  • Locations
  • Contact Red Hat
  • Red Hat Blog
  • Inclusion at Red Hat
  • Cool Stuff Store
  • Red Hat Summit
© 2025 Red Hat

Red Hat legal and privacy links

  • Privacy statement
  • Terms of use
  • All policies and guidelines
  • Digital accessibility