Ahh, now I finally see the issue: on Centos $releasever is always expanded  to major release number (7 in this case). But on downstream RHEL it's expanded to 7Server or 7Workstation depending on your installation. To fix your issue locally please replace 'el$releasever' with 'el7':

 cd /etc/yum.repos.d/
 mv ovirt-4.1.repo ovirt-4.1.xxx
 mv ovirt-4.1-dependencies.repo ovirt-4.1-dependencies.xxx
 cat ovirt-4.1.xxx | sed 's/el\$releasever/el7/g' > ovirt-4.1.repo
 cat ovirt-4.1-dependencies.xxx | sed 's/el\$releasever/el7/g' > ovirt-4.1-dependencies.repo
 rm ovirt-4.1.xxx
 rm ovirt-4.1-dependencies.xxx

@Sandro, can we fix that issue permanently for all existing ovirt-release* files?

Thanks

Martin


On Fri, Feb 17, 2017 at 5:56 PM, Lynn Dixon <ldixon@redhat.com> wrote:
Martin,
I have verified that the ovirt-4.1 repos is configured exactly in my repo file as you mentioned.

I also made the changes for skip_if_unavailable=0 and got this error when I tried to do yum check-update (see below)

I have also attached my 4.1 repo files in this email just to be sure

------------------------------------------------------------
[root@tywin yum.repos.d]# yum check-update
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager, versionlock
Repository virtio-win-stable is listed more than once in the configuration
centos-opstools-testing                                                                                                                                      | 2.9 kB  00:00:00     
centos-ovirt-common-candidate                                                                                                                                | 3.4 kB  00:00:00     
centos-ovirt41-candidate                                                                                                                                     | 3.4 kB  00:00:00     


 One of the configured repositories failed (Unknown),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=<repoid> ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable <repoid>
        or
            subscription-manager repos --disable=<repoid>

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

Cannot find a valid baseurl for repo: ovirt-4.1/7Server
------------------------------------------------------------------------------------



Lynn Dixon | Red Hat Certified Architect #100-006-188
Sr. Cloud ConsultantCloud Management Practice
Google Voice: 423-618-1414
Cell/Text: 423-774-3188



On Fri, Feb 17, 2017 at 11:33 AM, Martin Perina <mperina@redhat.com> wrote:
Hmm, strange. I've attached 4.1 repo files to the email, which should be installed by ovirt-release41. The most important repository which is somehow missing in your configuration is this one:

[ovirt-4.1]
name=Latest oVirt 4.1 Release
#baseurl=http://resources.ovirt.org/pub/ovirt-4.1/rpm/el$releasever/
mirrorlist=http://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-4.1-el$releasever
enabled=1
skip_if_unavailable=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-ovirt-4.1


Could you please edit your /etc/yum.repos.d/ovirt-4.1*.repo files and change set skip_if_unavailable=0. Afterwards please execute yum check-update and we should see some error, why those repositories are not available on your machine.

Thanks

Martin


On Fri, Feb 17, 2017 at 5:21 PM, Lynn Dixon <ldixon@redhat.com> wrote:
Hmmm.

Here is my repo-id info:

--------------------------------------
[root@tywin ~]# yum repoinfo enabled | grep Repo-id
Repository virtio-win-stable is listed more than once in the configuration
Repo-id      : centos-opstools-testing/x86_64
Repo-id      : centos-ovirt-common-candidate/x86_64
Repo-id      : centos-ovirt41-candidate/x86_64
Repo-id      : ovirt-4.0/7Server
Repo-id      : ovirt-4.1-centos-gluster38/x86_64
Repo-id      : ovirt-4.1-epel/x86_64
Repo-id      : ovirt-4.1-patternfly1-noarch-epel/x86_64
Repo-id      : qci-1.0-for-rhel-7-rpms/x86_64
Repo-id      : rhel-7-fast-datapath-rpms/7Server/x86_64
Repo-id      : rhel-7-server-extras-rpms/x86_64
Repo-id      : rhel-7-server-optional-rpms/7Server/x86_64
Repo-id      : rhel-7-server-rhev-mgmt-agent-rpms/7Server/x86_64
Repo-id      : rhel-7-server-rpms/7Server/x86_64
Repo-id      : rhel-7-server-tus-rpms/7Server/x86_64
---------------------------------------------------------------------

I am using RHEL7 and not CentOS...sorry, but that shouldn't matter.



I went ahead and followed your suggestions, removing, cleaning and reinstalling.

And here is the output from a yum check-update:

____________________________________________________________________________
[root@tywin ~]# yum check-update
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager, versionlock
Repository virtio-win-stable is listed more than once in the configuration
centos-opstools-testing                                                                                                                                      | 2.9 kB  00:00:00     
centos-ovirt-common-candidate                                                                                                                                | 3.4 kB  00:00:00     
centos-ovirt41-candidate                                                                                                                                     | 3.4 kB  00:00:00     
ovirt-4.1-centos-gluster38                                                                                                                                   | 2.9 kB  00:00:00     
ovirt-4.1-epel/x86_64/metalink                                                                                                                               |  14 kB  00:00:00     
ovirt-4.1-epel                                                                                                                                               | 4.3 kB  00:00:00     
ovirt-4.1-patternfly1-noarch-epel                                                                                                                            | 3.0 kB  00:00:00     
(1/8): centos-ovirt41-candidate/x86_64/primary_db                                                                                                            |  38 kB  00:00:00     
(2/8): ovirt-4.1-epel/x86_64/group_gz                                                                                                                        | 170 kB  00:00:00     
(3/8): ovirt-4.1-centos-gluster38/x86_64/primary_db                                                                                                          |  80 kB  00:00:00     
(4/8): centos-ovirt-common-candidate/x86_64/primary_db                                                                                                       |  81 kB  00:00:00     
(5/8): ovirt-4.1-epel/x86_64/updateinfo                                                                                                                      | 735 kB  00:00:00     
(6/8): ovirt-4.1-epel/x86_64/primary_db                                                                                                                      | 4.5 MB  00:00:00     
(7/8): ovirt-4.1-patternfly1-noarch-epel/x86_64/primary_db                                                                                                   | 2.2 kB  00:00:00     
(8/8): centos-opstools-testing/x86_64/primary_db                                                                                                             | 124 kB  00:00:00     

antlr-tool.noarch                                                                    2.7.7-35.el7                                                      centos-ovirt-common-candidate
glusterfs.x86_64                                                                     3.8.9-1.el7                                                       ovirt-4.1-centos-gluster38   
glusterfs-api.x86_64                                                                 3.8.9-1.el7                                                       ovirt-4.1-centos-gluster38   
glusterfs-cli.x86_64                                                                 3.8.9-1.el7                                                       ovirt-4.1-centos-gluster38   
glusterfs-client-xlators.x86_64                                                      3.8.9-1.el7                                                       ovirt-4.1-centos-gluster38   
glusterfs-fuse.x86_64                                                                3.8.9-1.el7                                                       ovirt-4.1-centos-gluster38   
glusterfs-libs.x86_64                                                                3.8.9-1.el7                                                       ovirt-4.1-centos-gluster38   
openvswitch.x86_64                                                                   2.6.90-1.el7                                                      centos-ovirt41-candidate     
otopi.noarch                                                                         1.6.0-1.el7                                                       centos-ovirt41-candidate     
otopi-java.noarch                                                                    1.6.0-1.el7                                                       centos-ovirt41-candidate     
ovirt-host-deploy.noarch                                                             1.6.0-1.el7                                                       centos-ovirt41-candidate     
ovirt-host-deploy-java.noarch                                                        1.6.0-1.el7                                                       centos-ovirt41-candidate     
ovirt-imageio-common.noarch                                                          1.0.0-1.el7                                                       centos-ovirt41-candidate     
ovirt-imageio-daemon.noarch                                                          1.0.0-1.el7                                                       centos-ovirt41-candidate     
ovirt-setup-lib.noarch                                                               1.1.0-1.el7                                                       centos-ovirt41-candidate     
python-ovirt-engine-sdk4.x86_64                                                      4.1.0-1.el7                                                       centos-ovirt41-candidate     
vdsm.x86_64                                                                          4.19.4-1.el7                                                      centos-ovirt41-candidate     
vdsm-api.noarch                                                                      4.19.4-1.el7                                                      centos-ovirt41-candidate     
vdsm-cli.noarch                                                                      4.19.4-1.el7                                                      centos-ovirt41-candidate     
vdsm-hook-macspoof.noarch                                                            4.19.4-1.el7                                                      centos-ovirt41-candidate     
vdsm-hook-nestedvt.noarch                                                            4.19.4-1.el7                                                      centos-ovirt41-candidate     
vdsm-hook-vmfex-dev.noarch                                                           4.19.4-1.el7                                                      centos-ovirt41-candidate     
vdsm-jsonrpc.noarch                                                                  4.19.4-1.el7                                                      centos-ovirt41-candidate     
vdsm-jsonrpc-java.noarch                                                             1.3.8-1.el7                                                       centos-ovirt41-candidate     
vdsm-python.noarch                                                                   4.19.4-1.el7                                                      centos-ovirt41-candidate     
vdsm-xmlrpc.noarch                                                                   4.19.4-1.el7                                                      centos-ovirt41-candidate     
vdsm-yajsonrpc.noarch                                                                4.19.4-1.el7                                                      centos-ovirt41-candidate    

___________________________________________________________________________________________________________________________

It's showing that there are indeed some updated packages, and coming from the 4.1 repos, but none of the ones listed are for the engine-setup.





Lynn Dixon | Red Hat Certified Architect #100-006-188
Sr. Cloud ConsultantCloud Management Practice
Google Voice: 423-618-1414
Cell/Text: 423-774-3188



On Fri, Feb 17, 2017 at 10:55 AM, Martin Perina <mperina@redhat.com> wrote:


On Fri, Feb 17, 2017 at 3:33 PM, Lynn Dixon <ldixon@redhat.com> wrote:
Sure! here is the output:  

----------------------------------------------------
[root@tywin ~]# yum info --show-duplicates ovirt-engine-setup
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager, versionlock
Repository virtio-win-stable is listed more than once in the configuration
centos-opstools-testing                                                                                             | 2.9 kB  00:00:00     
centos-ovirt-common-candidate                                                                                       | 3.4 kB  00:00:00     
centos-ovirt41-candidate                                                                                            | 3.4 kB  00:00:00     
ovirt-4.0                                                                                                           | 2.9 kB  00:00:00     

​It's suspicious that you don't see ovirt-4.1 repo here, something happened to repository configuration provided by ovirt-release-41 package. If you execute:

  yum repoinfo enabled | grep Repo-id

you should see following repositories:

  Repo-id      : base/7/x86_64
  Repo-id      : centos-opstools-testing/x86_64
  Repo-id      : centos-ovirt-common-candidate/x86_64
  Repo-id      : centos-ovirt40-release/x86_64
  Repo-id      : centos-ovirt41-candidate/x86_64
  Repo-id      : centos-sclo-rh/x86_64
  Repo-id      : centos-sclo-sclo/x86_64
  Repo-id      : extras/7/x86_64
  Repo-id      : ovirt-4.0/7
  Repo-id      : ovirt-4.0-centos-gluster37/x86_64
  Repo-id      : ovirt-4.0-epel/x86_64
  Repo-id      : ovirt-4.0-patternfly1-noarch-epel/x86_64
  Repo-id      : ovirt-4.1/7
  Repo-id      : ovirt-4.1-centos-gluster38/x86_64
  Repo-id      : ovirt-4.1-epel/x86_64
  Repo-id      : ovirt-4.1-patternfly1-noarch-epel/x86_64
  Repo-id      : updates/7/x86_64
  Repo-id      : virtio-win-stable

If not, please try following steps:

  yum remove ovirt-release41
  yum clean all
  rm /etc/yum.repos.d/ovirt-4.1*.repo
  yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release41.rpm
  yum check-update

After those steps your repositories should be fine and you should see oVirt 4.1 packages.
 
ovirt-4.1-centos-gluster38                                                                                          | 2.9 kB  00:00:00     
ovirt-4.1-epel/x86_64/metalink                                                                                      |  14 kB  00:00:00     
ovirt-4.1-patternfly1-noarch-epel                                                                                   | 3.0 kB  00:00:00     
ovirt-4.1-centos-gluster38/x86_64/primary_db                                                                        |  80 kB  00:00:00     
Installed Packages
Name        : ovirt-engine-setup
Arch        : noarch
Version     : 4.0.6.3
Release     : 1.el7.centos
Size        : 11 k
Repo        : installed
From repo   : ovirt-4.0
Summary     : Setup and upgrade scripts for oVirt Engine
URL         : http://www.ovirt.org
License     : ASL 2.0
Description : Setup and upgrade scripts for oVirt Engine

Available Packages
Name        : ovirt-engine-setup
Arch        : noarch
Version     : 4.0.0.6
Release     : 1.el7.centos
Size        : 8.6 k
Repo        : ovirt-4.0/7Server
Summary     : Setup and upgrade scripts for oVirt Engine
URL         : http://www.ovirt.org
License     : ASL 2.0
Description : Setup and upgrade scripts for oVirt Engine

Name        : ovirt-engine-setup
Arch        : noarch
Version     : 4.0.1.1
Release     : 1.el7.centos
Size        : 8.7 k
Repo        : ovirt-4.0/7Server
Summary     : Setup and upgrade scripts for oVirt Engine
URL         : http://www.ovirt.org
License     : ASL 2.0
Description : Setup and upgrade scripts for oVirt Engine

Name        : ovirt-engine-setup
Arch        : noarch
Version     : 4.0.2.6
Release     : 1.el7.centos
Size        : 9.1 k
Repo        : ovirt-4.0/7Server
Summary     : Setup and upgrade scripts for oVirt Engine
URL         : http://www.ovirt.org
License     : ASL 2.0
Description : Setup and upgrade scripts for oVirt Engine

Name        : ovirt-engine-setup
Arch        : noarch
Version     : 4.0.2.7
Release     : 1.el7.centos
Size        : 9.2 k
Repo        : ovirt-4.0/7Server
Summary     : Setup and upgrade scripts for oVirt Engine
URL         : http://www.ovirt.org
License     : ASL 2.0
Description : Setup and upgrade scripts for oVirt Engine

Name        : ovirt-engine-setup
Arch        : noarch
Version     : 4.0.3
Release     : 1.el7.centos
Size        : 9.4 k
Repo        : ovirt-4.0/7Server
Summary     : Setup and upgrade scripts for oVirt Engine
URL         : http://www.ovirt.org
License     : ASL 2.0
Description : Setup and upgrade scripts for oVirt Engine

Name        : ovirt-engine-setup
Arch        : noarch
Version     : 4.0.4.4
Release     : 1.el7.centos
Size        : 9.8 k
Repo        : ovirt-4.0/7Server
Summary     : Setup and upgrade scripts for oVirt Engine
URL         : http://www.ovirt.org
License     : ASL 2.0
Description : Setup and upgrade scripts for oVirt Engine

Name        : ovirt-engine-setup
Arch        : noarch
Version     : 4.0.5.5
Release     : 1.el7.centos
Size        : 10 k
Repo        : ovirt-4.0/7Server
Summary     : Setup and upgrade scripts for oVirt Engine
URL         : http://www.ovirt.org
License     : ASL 2.0
Description : Setup and upgrade scripts for oVirt Engine

Name        : ovirt-engine-setup
Arch        : noarch
Version     : 4.0.6.3
Release     : 1.el7.centos
Size        : 10 k
Repo        : ovirt-4.0/7Server
Summary     : Setup and upgrade scripts for oVirt Engine
URL         : http://www.ovirt.org
License     : ASL 2.0
Description : Setup and upgrade scripts for oVirt Engine

------------------------------------------------------------------------------------------------------------



Lynn Dixon | Red Hat Certified Architect #100-006-188
Sr. Cloud ConsultantCloud Management Practice
Google Voice: 423-618-1414
Cell/Text: 423-774-3188



On Fri, Feb 17, 2017 at 3:27 AM, Martin Perina <mperina@redhat.com> wrote:
So could you please share following output?

yum info --show-duplicates ovirt-engine-setup


On Fri, Feb 17, 2017 at 9:07 AM, Lynn Dixon <ldixon@redhat.com> wrote:
Yes Martin, that was the first step I did.  I have also double checked that the 4.1 repo is enabled.

Lynn Dixon | Red Hat Certified Architect #100-006-188
Sr. Cloud ConsultantCloud Management Practice
Google Voice: 423-618-1414
Cell/Text: 423-774-3188



On Fri, Feb 17, 2017 at 3:07 AM, Martin Perina <mperina@redhat.com> wrote:
Hi,

have you installed oVirt 4.1 repositories before trying to update setup packages?

  yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release41.rpm

Regards

Martin

On Fri, Feb 17, 2017 at 8:55 AM, Lynn Dixon <ldixon@redhat.com> wrote:
I am following the three simple steps in the release notes here: https://www.ovirt.org/release/4.1.0/

I have added the repo fine, and did a yum clean all just to be cautions.

However, when I try to run the yum update "ovirt-*-setup*"  command it just returns no updates found.  Likewise, if I even try to do a yum update ovirt-engine-setup it returns no updates found.

I am currently running oVirt  4.0.6.3-1.el7.centos on a CentOS machine.  I feel like I am missing something really simple here, but I can not get it to update any packages beyond the 4.0 repos.  I have even tried disabling the 4.0 repos, but no luck.

Any suggestions?


Lynn Dixon | Red Hat Certified Architect #100-006-188
Sr. Cloud ConsultantCloud Management Practice
Google Voice: 423-618-1414
Cell/Text: 423-774-3188



_______________________________________________
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel