Bug 1308820 - RHEL 7.2 VM created from On-Demmand Image is showing "not registered" when running "yum update"
Summary: RHEL 7.2 VM created from On-Demmand Image is showing "not registered" when ru...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.2
Hardware: other
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-16 08:24 UTC by mingzhan
Modified: 2016-02-18 22:01 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1308828 (view as bug list)
Environment:
Last Closed: 2016-02-18 22:01:43 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description mingzhan 2016-02-16 08:24:05 UTC
Description of problem:

RHEL 7.2 VM created from On-Demmand Image is showing "not registered" when running "yum update"

Version-Release number of selected component (if applicable):
TBD

How reproducible:
100%

Steps to Reproduce:
1.Login Azure portal through portal.azure.com
2.Create a RHEL 7.2 VM
3.Login the VM through SSH
4.Run "sudo yum update"

Actual results:
[azureuser@scotttestrhel72 ~]$ sudo yum update

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for azureuser:
Loaded plugins: langpacks, product-id, rhui-lb, search-disabled-repos,
              : subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
No packages marked for update

Actually, below will be always showing up when running yum related command:

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Expected results:
-the output should be indicating this is an registered RHEL.

Additional info:
The "not registered" message could be ignored given the "yum update" actually worked as design. 
but the message provided the bad user experience.

Comment 2 mingzhan 2016-02-17 10:26:03 UTC
Hi,Valentina

This bug is now having the high visibility to impact the user experience, do we have any work-around to fix it inside of image?

Scott

Comment 3 Barnaby Court 2016-02-18 22:01:43 UTC
Subscription manager appears to be working exactly the it was designed. If no subscription is attached to the system then no updates will be provided. 

Please open a support case with Red Hat from the Azure Portal for support of on-demand images.


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