Bug 980209 - rhn-migrate-classic-to-rhsm --no-auto --force is throwing "Unknown feature: 'ENT_DIR'"
Summary: rhn-migrate-classic-to-rhsm --no-auto --force is throwing "Unknown feature: '...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Carter Kozak
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel510
TreeView+ depends on / blocked
 
Reported: 2013-07-01 17:38 UTC by John Sefler
Modified: 2014-09-15 00:08 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-01 13:48:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description John Sefler 2013-07-01 17:38:50 UTC
Description of problem:
I am getting "Unknown feature: 'ENT_DIR'" in the stdout from an attempt to run rhn-migrate-classic-to-rhsm --no-auto --force

Version-Release number of selected component (if applicable):
subscription management server: 0.8.15-1
subscription-manager: 1.8.11-1.git.31.dbc2fbd.el5
python-rhsm: 1.8.13-1.git.0.85d7af5.el5

How reproducible:


Steps to Reproduce:
The following trace comes from an automated test suite that has registered classically and added all of the available channels from RHN.  Then rhn-migrate-classic-to-rhsm --no-auto --force is launched as follows...

spawn rhn-migrate-classic-to-rhsm --no-auto --force
Red Hat account: qa
Password:
System Engine Username: testuser1
Password:
Org: admin

Retrieving existing RHN Classic subscription information...

+-----------------------------------------------------+
System is currently subscribed to these RHN Classic Channels:
+-----------------------------------------------------+
rhel-x86_64-server-5
rhel-x86_64-server-5-beta
rhel-x86_64-server-eucjp-5
rhel-x86_64-server-eucjp-5-beta
rhel-x86_64-server-dts-5-beta-debuginfo
rhel-x86_64-server-dts-5
rhel-x86_64-server-hts-5-debuginfo
rhel-x86_64-server-supplementary-5-debuginfo
rhel-x86_64-server-cluster-storage-5-debuginfo
rhel-x86_64-server-cluster-5-beta-debuginfo
rhel-x86_64-server-5-beta-debuginfo
rhel-x86_64-server-5-cf-tools-1-beta
rhel-x86_64-server-5-cf-tools-1
rhel-x86_64-rhev-agent-5-server-beta
rhel-x86_64-server-5-mrg-grid-execute-2
rhel-x86_64-server-5-mrg-grid-2
rhel-x86_64-server-5-mrg-messaging-2
rhel-x86_64-server-scalefs-5-beta
rhel-x86_64-server-scalefs-5
rhel-x86_64-server-5-mrg-grid-execute-1
rhel-x86_64-server-sjis-5
rhel-x86_64-server-5-mrg-management-1-beta
rhel-x86_64-server-5-mrg-grid-1-beta
rhel-x86_64-server-5-mrg-realtime-1-beta
rhel-x86_64-server-5-mrg-messaging-1-beta
rhel-x86_64-server-5-mrg-management-1
rhel-x86_64-server-5-mrg-grid-1
rhel-x86_64-server-5-mrg-realtime-1
rhel-x86_64-server-hpc-5-beta
rhel-x86_64-server-fastrack-5
rhel-x86_64-server-supplementary-5
rhel-x86_64-server-productivity-5
rhel-x86_64-server-cluster-5
rhn-tools-rhel-x86_64-server-5-beta
rhel-x86_64-server-hts-5-beta
rhel-x86_64-server-supplementary-5-beta
rhel-x86_64-server-cluster-storage-5-beta
rhel-x86_64-server-cluster-5-beta
rhel-x86_64-server-vt-5-beta
rhel-x86_64-server-rhsclient-5
rhel-x86_64-server-eucjp-5-beta-debuginfo

+-----------------------------------------------------+
No product certificates are mapped to these RHN Classic channels:
+-----------------------------------------------------+
rhel-x86_64-server-hts-5-debuginfo
rhel-x86_64-server-5-mrg-grid-execute-2
rhel-x86_64-server-5-mrg-grid-2
rhel-x86_64-server-5-mrg-messaging-2
rhel-x86_64-server-5-mrg-grid-execute-1
rhel-x86_64-server-5-mrg-management-1-beta
rhel-x86_64-server-5-mrg-grid-1-beta
rhel-x86_64-server-5-mrg-realtime-1-beta
rhel-x86_64-server-5-mrg-messaging-1-beta
rhel-x86_64-server-5-mrg-management-1
rhel-x86_64-server-5-mrg-grid-1
rhel-x86_64-server-5-mrg-realtime-1
rhel-x86_64-server-hpc-5-beta
rhel-x86_64-server-fastrack-5
rhn-tools-rhel-x86_64-server-5-beta
rhel-x86_64-server-hts-5-beta
rhel-x86_64-server-rhsclient-5

+-----------------------------------------------------+
Installing product certificates for these RHN Classic channels:
+-----------------------------------------------------+
rhel-x86_64-server-5
rhel-x86_64-server-5-beta
rhel-x86_64-server-eucjp-5
rhel-x86_64-server-eucjp-5-beta
rhel-x86_64-server-dts-5-beta-debuginfo
rhel-x86_64-server-dts-5
rhel-x86_64-server-supplementary-5-debuginfo
rhel-x86_64-server-cluster-storage-5-debuginfo
rhel-x86_64-server-cluster-5-beta-debuginfo
rhel-x86_64-server-5-beta-debuginfo
rhel-x86_64-server-5-cf-tools-1-beta
rhel-x86_64-server-5-cf-tools-1
rhel-x86_64-rhev-agent-5-server-beta
rhel-x86_64-server-scalefs-5-beta
rhel-x86_64-server-scalefs-5
rhel-x86_64-server-sjis-5
rhel-x86_64-server-supplementary-5
rhel-x86_64-server-productivity-5
rhel-x86_64-server-cluster-5
rhel-x86_64-server-supplementary-5-beta
rhel-x86_64-server-cluster-storage-5-beta
rhel-x86_64-server-cluster-5-beta
rhel-x86_64-server-vt-5-beta
rhel-x86_64-server-eucjp-5-beta-debuginfo

Product certificates installed successfully to /etc/pki/product.

Preparing to unregister system from RHN Classic...
System successfully unregistered from RHN Classic.

Attempting to register system to Red Hat Subscription Management...
The system has been registered with ID: cad586f0-6375-4a2e-a540-bad2bbb69e9b
System 'jsefler-5server.usersys.redhat.com' successfully registered to Red Hat Subscription Management.

"Unknown feature: 'ENT_DIR'"
Stderr:
ExitCode: 255


Actual results:
above

Expected results:
Did not expect the "Unknown feature: 'ENT_DIR'".  Expected ExitCode 0

Additional info:

Comment 2 Carter Kozak 2013-07-02 18:05:31 UTC
commit 6fee68607cafea304345d1772965584de83e61ed
Author: ckozak <ckozak>
Date:   Mon Jul 1 13:55:31 2013 -0400

    980209: removed injection calls from migration script

Comment 4 John Sefler 2013-07-17 15:25:42 UTC
Verifying Version....
[root@jsefler-5 ~]# rpm -q subscription-manager-migration
subscription-manager-migration-1.8.13-1.el5

[root@jsefler-5 ~]# rhnreg_ks --serverUrl=https://xmlrpc.rhn.code.stage.redhat.com/XMLRPC --username=qa --password=****** --force --norhnsd --nohardware --nopackages --novirtinfo

[root@jsefler-5 ~]# rhn-channel --add -c rhel-x86_64-server-eucjp-5 -c rhel-x86_64-server-dts-5 -c rhel-x86_64-server-scalefs-5 -c rhel-x86_64-server-sjis-5 -c rhel-x86_64-server-cluster-5 -c rhel-x86_64-server-productivity-5 -c rhel-x86_64-rhev-agent-5-server-beta
Username: qa
Password: 

[root@jsefler-5 ~]# rhn-channel --list
rhel-x86_64-rhev-agent-5-server-beta
rhel-x86_64-server-5
rhel-x86_64-server-cluster-5
rhel-x86_64-server-dts-5
rhel-x86_64-server-eucjp-5
rhel-x86_64-server-productivity-5
rhel-x86_64-server-scalefs-5
rhel-x86_64-server-sjis-5

[root@jsefler-5 ~]# rhn-migrate-classic-to-rhsm --no-auto
Red Hat account: qa
Password: 
System Engine Username: testuser1
Password: 
Org: admin

Retrieving existing RHN Classic subscription information...

+-----------------------------------------------------+
System is currently subscribed to these RHN Classic Channels:
+-----------------------------------------------------+
rhel-x86_64-server-5
rhel-x86_64-server-dts-5
rhel-x86_64-rhev-agent-5-server-beta
rhel-x86_64-server-sjis-5
rhel-x86_64-server-productivity-5
rhel-x86_64-server-cluster-5
rhel-x86_64-server-eucjp-5
rhel-x86_64-server-scalefs-5

+-----------------------------------------------------+
Installing product certificates for these RHN Classic channels:
+-----------------------------------------------------+
rhel-x86_64-server-5
rhel-x86_64-server-dts-5
rhel-x86_64-rhev-agent-5-server-beta
rhel-x86_64-server-sjis-5
rhel-x86_64-server-productivity-5
rhel-x86_64-server-cluster-5
rhel-x86_64-server-eucjp-5
rhel-x86_64-server-scalefs-5

Product certificates installed successfully to /etc/pki/product.

Preparing to unregister system from RHN Classic...
System successfully unregistered from RHN Classic.

Attempting to register system to Red Hat Subscription Management...
The system has been registered with ID: ef0703a0-3a5a-4ba9-90d0-801d79779a71 
System 'jsefler-5.usersys.redhat.com' successfully registered to Red Hat Subscription Management.

[root@jsefler-5 ~]# echo $?
0

VERIFIED: no longer encountering "Unknown feature: 'ENT_DIR'" during the migration process.


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