Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1227393 - Add rh_subscription plugin to cloud-init in RHEL 7.x
Add rh_subscription plugin to cloud-init in RHEL 7.x
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: cloud-init (Show other bugs)
7.2
All Linux
high Severity high
: rc
: ---
Assigned To: Lars Kellogg-Stedman
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-02 10:37 EDT by Brent Baude
Modified: 2017-09-22 12:52 EDT (History)
11 users (show)

See Also:
Fixed In Version: cloud-init-0.7.6-3.el7
Doc Type: Enhancement
Doc Text:
The rh_subscription plug-in has been added to the cloud-init package. The plug-in can be used to automatically register a system with Red Hat Network by using either a username-password pair or an organization and an activation key.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-04-04 11:25:43 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0871 normal SHIPPED_LIVE cloud-init and cloud-utils-growpart bug fix and enhancement update 2017-04-04 15:25:15 EDT

  None (edit)
Description Brent Baude 2015-06-02 10:37:48 EDT
I have recently pushed a subscription for RHEL, which uses subman, to upstream cloud-init.  It has been reviewed by upstream.  I would like us to carry the code as a patch until upstream releases it.  The code can be found here:

bzr branch lp:~bbaude/cloud-init/rh_subscription

The three key files are:

cc_rh_subscription.py
cloud-config-rh_subscription.txt
test_rh_subscription.py

These are basically file adds and not code needs to be patched, changed.

Also, we need to dep at least selinux-policy-3.13.1-25 as it has fixes related to dbus, cloud-init, and rhsmcertd.


I am happy to test when you have a package.
Comment 2 Lars Kellogg-Stedman 2015-06-03 16:04:07 EDT
I am waiting for some dist-git rules to update before I can push the changes officially, but you can grab a test build here:

https://copr.fedoraproject.org/coprs/larsks/cloud-init/build/95698/
Comment 8 Brent Baude 2015-06-11 11:35:27 EDT
This is now merged upstream
Comment 15 Bent Terp 2016-06-21 08:02:30 EDT
I also need this, in order to autoprovision RHEL nodes on our OpenStack.
Comment 20 Brent Baude 2016-10-27 10:54:52 EDT
I have a proposed fix upstream for this awaiting approval.  Please open a different bugzilla for the request for change and we can track inclusion there.
Comment 26 errata-xmlrpc 2017-04-04 11:25:43 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:0871

Note You need to log in before you can comment on or make changes to this bug.