Bug 1352100 - repo for node upgrade should be enabled as default
Summary: repo for node upgrade should be enabled as default
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-node
Classification: oVirt
Component: General
Version: 4.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.0.1
: 4.0
Assignee: Ryan Barry
QA Contact: Huijuan Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-01 15:27 UTC by Huijuan Zhao
Modified: 2016-07-19 06:23 UTC (History)
10 users (show)

Fixed In Version: imgbased-0.7.1-0.1.el7ev
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 06:23:32 UTC
oVirt Team: Node
Embargoed:
rule-engine: ovirt-4.0.z+
huzhao: testing_plan_complete+
rule-engine: planning_ack+
dfediuck: devel_ack+
ycui: testing_ack+


Attachments (Terms of Use)
All logs (6.22 MB, application/x-gzip)
2016-07-01 15:27 UTC, Huijuan Zhao
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 59375 0 None None None 2016-07-07 22:59:18 UTC
oVirt gerrit 59383 0 None None None 2016-07-07 22:57:56 UTC
oVirt gerrit 59433 0 None None None 2016-07-05 14:31:37 UTC

Description Huijuan Zhao 2016-07-01 15:27:54 UTC
Created attachment 1174980 [details]
All logs

Description of problem:
repo for node upgrade are disabled as default, repo should be enable as default.

Version-Release number of selected component (if applicable):
ovirt-node-ng-installer-ovirt-4.0-2016062804.iso
imgbased-0.7.0-0.201606081307gitfb92e93.el7.centos.noarch
ovirt-node-ng-image-update-placeholder-4.0.0-1.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install ovirt-node-ng-installer-ovirt-4.0-2016062804.iso via kickstart file.
2. Reboot and login NGN, check repos:
#yum repolist all

Actual results:
1. After step 2, all repos are disabled:
[root@dell-op790-01 ~]# yum repolist all
Loaded plugins: fastestmirror, imgbased-warning
Warning: yum operations are not persisted across upgrades!
Determining fastest mirrors
repo id                                   repo name                     status
C7.0.1406-base/x86_64                     CentOS-7.0.1406 - Base        disabled
C7.0.1406-centosplus/x86_64               CentOS-7.0.1406 - CentOSPlus  disabled
C7.0.1406-extras/x86_64                   CentOS-7.0.1406 - Extras      disabled
C7.0.1406-fasttrack/x86_64                CentOS-7.0.1406 - CentOSPlus  disabled
C7.0.1406-updates/x86_64                  CentOS-7.0.1406 - Updates     disabled
C7.1.1503-base/x86_64                     CentOS-7.1.1503 - Base        disabled
C7.1.1503-centosplus/x86_64               CentOS-7.1.1503 - CentOSPlus  disabled
C7.1.1503-extras/x86_64                   CentOS-7.1.1503 - Extras      disabled
C7.1.1503-fasttrack/x86_64                CentOS-7.1.1503 - CentOSPlus  disabled
C7.1.1503-updates/x86_64                  CentOS-7.1.1503 - Updates     disabled
!base/7/x86_64                            CentOS-7 - Base               disabled
base-debuginfo/x86_64                     CentOS-7 - Debuginfo          disabled
base-source/7                             CentOS-7 - Base Sources       disabled
c7-media                                  CentOS-7 - Media              disabled
!centos-ovirt40-candidate                 CentOS-7 - oVirt 4.0          disabled
centosplus/7/x86_64                       CentOS-7 - Plus               disabled
centosplus-source/7                       CentOS-7 - Plus Sources       disabled
cr/7/x86_64                               CentOS-7 - cr                 disabled
!extras/7/x86_64                          CentOS-7 - Extras             disabled
extras-source/7                           CentOS-7 - Extras Sources     disabled
fasttrack/7/x86_64                        CentOS-7 - fasttrack          disabled
!group_cockpit-cockpit-preview/x86_64     Copr repo for cockpit-preview disabled
!ovirt-4.0/7                              Latest oVirt 4.0 Release      disabled
!ovirt-4.0-centos-gluster37/x86_64        CentOS-7 - Gluster 3.7        disabled
!ovirt-4.0-epel/x86_64                    Extra Packages for Enterprise disabled
!ovirt-4.0-patternfly1-noarch-epel/x86_64 Copr repo for patternfly1 own disabled
!ovirt-4.0-pre/7                          oVirt 4.0 Pre-Release         disabled
!updates/7/x86_64                         CentOS-7 - Updates            disabled
updates-source/7                          CentOS-7 - Updates Sources    disabled
!virtio-win-stable                        virtio-win builds roughly mat disabled
repolist: 0


Expected results:
1. After step 3, repo for node upgrade should be enabled as default

Additional info:

Comment 1 Ryan Barry 2016-07-01 16:43:21 UTC
I can't reproduce this. Can you provide the kickstart you're using?

Comment 2 Huijuan Zhao 2016-07-04 09:30:00 UTC
The kickstart is as follow:

# cat huzhao.ks 

liveimg --url=http://10.66.10.22:8090/rhevh/ngn/ovirt-node-ng-installer-ovirt-4.0-2016062804.iso/ovirt-node-ng-image.squashfs.img

clearpart --all

autopart --type=thinp

rootpw --plaintext redhat

timezone --utc Asia/Harbin

zerombr

text

reboot

%post --erroronfail
imgbase layout --init
imgbase --experimental volume --create /var 4G
%end

Comment 4 Huijuan Zhao 2016-07-11 07:11:35 UTC
Test version:
ovirt-node-ng-installer-ovirt-4.0-snapshot-2016071004.iso
imgbased-0.7.2-0.201607081443git3203932.el7.centos.noarch

Test steps:
1. Install ovirt-node-ng-installer-ovirt-4.0-snapshot-2016071004.iso
2. Reboot and login ovirt-node 4.0, check repos:
   # yum repolist all

Test results:
After step2, repos for upgrade are enable as default:
[root@dhcp-10-16 ~]# yum repolist all
Loaded plugins: fastestmirror, imgbased-warning
Warning: yum operations are not persisted across upgrades!
Could not retrieve mirrorlist http://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-4.0-snapshot-el7 error was
12: Timeout on http://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-4.0-snapshot-el7: (28, 'Connection timed out after 30001 milliseconds')
Could not retrieve mirrorlist http://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-4.0-snapshot-static-el7 error was
12: Timeout on http://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-4.0-snapshot-static-el7: (28, 'Connection timed out after 30001 milliseconds')
Loading mirror speeds from cached hostfile
 * ovirt-4.0-epel: ftp.cuhk.edu.hk
repo id                                  repo name               status
C7.0.1406-base/x86_64                    CentOS-7.0.1406 - Base  disabled
C7.0.1406-centosplus/x86_64              CentOS-7.0.1406 - CentO disabled
C7.0.1406-extras/x86_64                  CentOS-7.0.1406 - Extra disabled
C7.0.1406-fasttrack/x86_64               CentOS-7.0.1406 - CentO disabled
C7.0.1406-updates/x86_64                 CentOS-7.0.1406 - Updat disabled
C7.1.1503-base/x86_64                    CentOS-7.1.1503 - Base  disabled
C7.1.1503-centosplus/x86_64              CentOS-7.1.1503 - CentO disabled
C7.1.1503-extras/x86_64                  CentOS-7.1.1503 - Extra disabled
C7.1.1503-fasttrack/x86_64               CentOS-7.1.1503 - CentO disabled
C7.1.1503-updates/x86_64                 CentOS-7.1.1503 - Updat disabled
!base/7/x86_64                           CentOS-7 - Base         disabled
base-debuginfo/x86_64                    CentOS-7 - Debuginfo    disabled
base-source/7                            CentOS-7 - Base Sources disabled
c7-media                                 CentOS-7 - Media        disabled
centos-ovirt40-candidate                 CentOS-7 - oVirt 4.0    enabled:     16
centosplus/7/x86_64                      CentOS-7 - Plus         disabled
centosplus-source/7                      CentOS-7 - Plus Sources disabled
cr/7/x86_64                              CentOS-7 - cr           disabled
!extras/7/x86_64                         CentOS-7 - Extras       disabled
extras-source/7                          CentOS-7 - Extras Sourc disabled
fasttrack/7/x86_64                       CentOS-7 - fasttrack    disabled
!group_cockpit-cockpit-preview/x86_64    Copr repo for cockpit-p disabled
ovirt-4.0-centos-gluster37/x86_64        CentOS-7 - Gluster 3.7  enabled:     93
ovirt-4.0-epel/x86_64                    Extra Packages for Ente enabled: 10,304
ovirt-4.0-patternfly1-noarch-epel/x86_64 Copr repo for patternfl enabled:      2
ovirt-4.0-snapshot/7                     Latest oVirt 4.0 nightl disabled
ovirt-4.0-snapshot-static/7              Latest oVirt 4.0 additi disabled
!updates/7/x86_64                        CentOS-7 - Updates      disabled
updates-source/7                         CentOS-7 - Updates Sour disabled
virtio-win-stable                        virtio-win builds rough enabled:      2
repolist: 10,417
[root@dhcp-10-16 ~]# 

So this bug is fixed in ovirt-node-ng-installer-ovirt-4.0-snapshot-2016071004.iso, change the status to VERIFIED.

Comment 5 Sandro Bonazzola 2016-07-19 06:23:32 UTC
Since the problem described in this bug report should be
resolved in oVirt 4.0.1 released on July 19th 2016, it has been closed with a
resolution of CURRENT RELEASE.

For information on the release, and how to update to this release, follow the link below.

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

http://www.ovirt.org/release/4.0.1/


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