Bug 1343997

Summary: [Tracker][TestOnly] Ensure a propper channel setup and subscriptions work
Product: Red Hat Enterprise Virtualization Manager Reporter: Fabian Deutsch <fdeutsch>
Component: relengAssignee: Joey Boggs <jboggs>
Status: CLOSED CURRENTRELEASE QA Contact: Huijuan Zhao <huzhao>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.0.0CC: cshao, dfediuck, eedri, gklein, huzhao, jboggs, lsurette, mgoldboi, rbarry, srevivo, weiwang, ycui, ykaul
Target Milestone: ovirt-4.0.1Keywords: TestOnly, Tracking
Target Release: ---Flags: huzhao: testing_plan_complete+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-29 11:51:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Rel-Eng RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1157410    

Description Fabian Deutsch 2016-06-08 13:07:00 UTC
Description of problem:
This bug is about tracking that the channels are setup correctly and subscribing the host to these channels is working.

Comment 2 Fabian Deutsch 2016-06-24 09:54:01 UTC
Moving this to rel-eng, as node is just consuming this.

This needs to be enabled in staging first.

Comment 3 Fabian Deutsch 2016-06-24 12:58:54 UTC
The channel must only contain the rhev-hypervisor7-ng-image-update and the rhevm-appliance packages.

Comment 4 Ying Cui 2016-06-28 12:03:50 UTC
Is there any update info on this bug? the relevant subscription-manager parts testing depends on it.

Comment 7 Huijuan Zhao 2016-07-26 09:58:42 UTC
Test version:
RHVH-7.2-20160718.1-RHVH-x86_64-dvd1.iso
imgbased-0.7.2-0.1.el7ev.noarch
redhat-release-virtualization-host-4.0-0.20.el7.x86_64
kernel-3.10.0-327.22.2.el7.x86_64
redhat-virtualization-host-image-update-placeholder-4.0-0.20.el7.noarch

Test steps:
1. Install RHVH-7.2-20160718.1-RHVH-x86_64-dvd1.iso
2. Reboot and login RHVH, register to rhsm:
   #  grep -e '^hostname' -e '^baseurl' /etc/rhsm/rhsm.conf
      hostname = subscription.rhsm.stage.redhat.com
      baseurl= https://cdn.stage.redhat.com 
   # grep '^serverURL=' /etc/sysconfig/rhn/up2date
     serverURL=https://xmlrpc.rhn.code.stage.redhat.com/XMLRPC 

   # subscription-manager register --username=** --password=**     --serverurl=subscription.rhsm.stage.redhat.com
   # subscription-manager subscribe
     Installed Product Current Status:
     Product Name: Red Hat Virtualization Host
     Status:       Subscribed
3. Enable and Check the repos:
   # yum repolist all
4. Update RHVH via "yum update"

Test results:
1. After step3, 
# yum repolist all
Loaded plugins: imgbased-warning, product-id, search-disabled-repos, subscription-manager
Warning: yum operations are not persisted across upgrades!
repo id                                                                     repo name                                                                      status
!rhel-7-server-rhvh-4-beta-debug-rpms/x86_64                                Red Hat Virtualization Host 7 Beta (Debug RPMs)                                enabled:  2
!rhel-7-server-rhvh-4-beta-rpms/x86_64                                      Red Hat Virtualization Host 7 Beta (RPMs)                                      enabled: 38
!rhel-7-server-rhvh-4-beta-source-rpms/x86_64                               Red Hat Virtualization Host 7 Beta (Source RPMs)                               enabled: 12
!rhel-7-server-rhvh-4-debug-rpms/x86_64                                     Red Hat Virtualization Host 7 (Debug RPMs)                                     enabled:  0
!rhel-7-server-rhvh-4-rpms/x86_64                                           Red Hat Virtualization Host 7 (RPMs)                                           enabled:  0
!rhel-7-server-rhvh-4-source-rpms/x86_64                                    Red Hat Virtualization Host 7 (Source RPMs)                                    enabled:  0
repolist: 52

2. After step4, RHVH upgrade successful.

So there is RHVH channel on cdn.stage, this bug is fixed on RHVH-7.2-20160718.1-RHVH-x86_64-dvd1.iso, I will change the status to VERIFIED