Bug 1514625
| Summary: | Failed to upgrade ovirt-node-ng 4.1.6 to 4.1.7 (ovirt-node-ng-image-update-4.1.7-1) | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-node | Reporter: | Mike Goodwin <mike> |
| Component: | Installation & Update | Assignee: | Ryan Barry <rbarry> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Huijuan Zhao <huzhao> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.1 | CC: | bugs, cshao, dguo, huzhao, jiawu, lveyde, mike, qiyuan, rbarry, sbonazzo, vgshved, weiwang, yaniwang, ycui, yturgema, yzhao |
| Target Milestone: | ovirt-4.1.7 | Keywords: | TestBlocker, Upstream |
| Target Release: | --- | Flags: | rule-engine:
ovirt-4.1+
rule-engine: blocker+ huzhao: testing_ack+ |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1510858 | Environment: | |
| Last Closed: | 2017-11-20 17:02:15 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Node | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Mike Goodwin
2017-11-17 23:05:08 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release. This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP. Sandro/Lev, was something missed in publishing here? releng-tools was updated to point to the correct Jenkins build: https://gerrit.ovirt.org/#/c/83811/ The manifest there shows that it includes imgbased-0.9.50 However, the RPM I pull if I 'yum -y --downloadonly --downloaddir=. update ovirt-node-ng-image-update' includes imgbased-0.9.49, and it's definitely an earlier build: ><fs> sh 'cat /usr/share/imgbase/build/meta/nvr' ovirt-node-ng-4.1.7-0.20171107.0 Can we re-run the publisher? QE can reproduce this issue. Test version: From: ovirt-node-ng-4.1.6-0.20170919.0 To: ovirt-node-ng-4.1.7-0.20171107.0 Test steps: 1. Install ovirt-node-ng-4.1.6-0.20170919.0 2. Download 4.1.7 update rpm, and upgrade host: # yum install ovirt-node-ng-image-update-4.1.7-1.el7.centos.noarch.rpm 3. Focus the upgrade process and check /tmp/imgbased.log Actual results: In step 3, there is failure info during upgrade, almost same as comment 0. # yum install ovirt-node-ng-image-update-4.1.7-1.el7.centos.noarch.rpm Loaded plugins: fastestmirror, imgbased-persist Examining ovirt-node-ng-image-update-4.1.7-1.el7.centos.noarch.rpm: ovirt-node-ng-image-update-4.1.7-1.el7.centos.noarch Marking ovirt-node-ng-image-update-4.1.7-1.el7.centos.noarch.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package ovirt-node-ng-image-update.noarch 0:4.1.7-1.el7.centos will be obsoleting ---> Package ovirt-node-ng-image-update-placeholder.noarch 0:4.1.6-1.el7.centos will be obsoleted --> Finished Dependency Resolution Dependencies Resolved ====================================================================================================================================================================== Package Arch Version Repository Size ====================================================================================================================================================================== Installing: ovirt-node-ng-image-update noarch 4.1.7-1.el7.centos /ovirt-node-ng-image-update-4.1.7-1.el7.centos.noarch 585 M replacing ovirt-node-ng-image-update-placeholder.noarch 4.1.6-1.el7.centos Transaction Summary ====================================================================================================================================================================== Install 1 Package Total size: 585 M Is this ok [y/d/N]: y Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : ovirt-node-ng-image-update-4.1.7-1.el7.centos.noarch 1/2 warning: %post(ovirt-node-ng-image-update-4.1.7-1.el7.centos.noarch) scriptlet failed, exit status 1 Non-fatal POSTIN scriptlet failure in rpm package ovirt-node-ng-image-update-4.1.7-1.el7.centos.noarch Erasing : ovirt-node-ng-image-update-placeholder-4.1.6-1.el7.centos.noarch 2/2 Verifying : ovirt-node-ng-image-update-4.1.7-1.el7.centos.noarch 1/2 Verifying : ovirt-node-ng-image-update-placeholder-4.1.6-1.el7.centos.noarch 2/2 Installed: ovirt-node-ng-image-update.noarch 0:4.1.7-1.el7.centos Replaced: ovirt-node-ng-image-update-placeholder.noarch 0:4.1.6-1.el7.centos Complete! Expected results: In step3, should upgrade successful. (In reply to Ryan Barry from comment #3) > Sandro/Lev, was something missed in publishing here? > > releng-tools was updated to point to the correct Jenkins build: > > https://gerrit.ovirt.org/#/c/83811/ > > The manifest there shows that it includes imgbased-0.9.50 > > However, the RPM I pull if I 'yum -y --downloadonly --downloaddir=. update > ovirt-node-ng-image-update' includes imgbased-0.9.49, and it's definitely an > earlier build: > > ><fs> sh 'cat /usr/share/imgbase/build/meta/nvr' > ovirt-node-ng-4.1.7-0.20171107.0 > > Can we re-run the publisher? Looks like an issue caused by a bug in a repoman. Manually re-composed the repo with the correct package, so the issue should be resolved now. This was re-published, and upgrades from yum now also succeed. Leaves me wondering whether this will continue to fail for the next upgrade? While I'm sure this exact issue is resolved, is the parent issue of it not updating the packages in the first place also resolved? Hi Mike - This will not continue to fail. There was no parent issue. The tracebacks here look similar, but are not identical. Since imgbased threads updates, many tracebacks look similar without a full log, unfortunately. The root cause in this case is that a patch to migrate Satellite files from /usr/share/rhn threw an exception upstream (since /usr/share/rhn did not exist). New packages were built the day after 4.1.7 released, but a previously unknown problem with the upstream publisher prevented the new packages from making into the repos. We're good going forward. You guys should have bumped the spec so you wouldn't have to `yum reinstall ovirt-node-ng-image-update`, since anyone like me who did and it failed already have 4.1.7-1 and it doesn't see the re-publish as an upgrade. It did however upgrade the node properly this time, albeit there were errors like before in the postin scriplet, but I assume that is due to something the previous 4.1.7 upgrade did partially. Regardless, it succeeded. Thanks |