Bug 1130445
Summary: | [TEXT] - if engine-setup asks for updates and choice is no, suggest '--offline' on re-run. | |||
---|---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Gianluca Cecchi <gianluca.cecchi> | |
Component: | Setup.Engine | Assignee: | Yedidyah Bar David <didi> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | David Necpal <dnecpal> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 3.6.0 | CC: | arachman, bugs, didi, dnecpal, gianluca.cecchi, rbalakri, sbonazzo, s.kieske, srevivo, ykaul, ylavi | |
Target Milestone: | ovirt-4.2.0 | Keywords: | Reopened | |
Target Release: | 4.2.0 | Flags: | ylavi:
ovirt-4.2+
|
|
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1131364 (view as bug list) | Environment: | ||
Last Closed: | 2017-12-20 11:15:19 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1131364 | |||
Attachments: |
Description
Gianluca Cecchi
2014-08-15 09:03:15 UTC
This was don on CentOS 6.5 system. I'm going to attach engine-setup logs Created attachment 927036 [details]
engine-setup log when choosing No for updates apply
Created attachment 927038 [details]
engine-setup log when choosing Yes for updates apply and update for engine exists
Created attachment 927039 [details]
engine-setup log when choosing No for updates apply and updates not availeble for engine-setup itself but for other packages
Please note that in case there are updates available but not fr engine-setup itself and one chooses to apply them, the setup phase completes ok. So this bug entry is related to workflow when one doesn't wants to apply updates but wnats to run engine-setup with the currently installed environment. The problem exists both if it is the first time and when the engine as already installed before. Hi, Actually the current flow is by design. Perhaps all you wanted is the '--offline' option? Closing with insufficient data, please reopen if requested info can be provided. Sorry, I missed the bugzilla's update as it came about 3 months after opening... My point was that if one wants to run engine-setup again his/her already running environment and if in the mean time some updates have come, he/she is unable to process engine-setup without applying the updates. And this is not desirable or at least it should not be mandatory in my opinion. So yes, what suggested as "--offline" option could solve what I'm pointing out *** Bug 1131364 has been marked as a duplicate of this bug. *** 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. Decided to fix this because I now stumbled (again) on it by accepting the default "Yes" for "Install ovirt-provider-ovn?". This adds openvswitch to the list of packages to install, so the existing text is confusing. Changed it to "install or update". Not sure we should default to "Yes" on ovn, and if we do, perhaps Require: it by the engine. But changing the text is also helpful imo. Bug/problem isn't solved. Tested on version: ovirt-engine-4.2.0-0.0.master.20170903205106.gitb17261a.el7.centos.noarch # engine-setup . . . . . . [ INFO ] Checking for product updates... Setup needs to install or update the following packages: . . . . Replying "No" will abort Setup. You can pass the option "--offline" to prevent installing or updating packages. Do you wish to update them now? (Yes, No) [Yes]: No [ ERROR ] Failed to execute stage 'Environment customization': Aborted, packages must be updated. You can pass "--offline" to prevent checking for updates. [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20170905070757-xufoxw.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20170905072044-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed 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. (In reply to David Necpal from comment #12) > Bug/problem isn't solved. You might have a point if you consider the entire discussion above, but we decided to only make a text change, thus current Summary line. > > Tested on version: > ovirt-engine-4.2.0-0.0.master.20170903205106.gitb17261a.el7.centos.noarch > > # engine-setup > . > . > . > . > . > . > [ INFO ] Checking for product updates... > Setup needs to install or update the following packages: > . > . > . > . > Replying "No" will abort Setup. You can pass the option > "--offline" to prevent installing or updating packages. Here ^^^ , > Do you wish to update them now? (Yes, No) [Yes]: No > [ ERROR ] Failed to execute stage 'Environment customization': Aborted, > packages must be updated. You can pass "--offline" to prevent checking for > updates. and here ^^^, are the text changes. The alternative was to either allow switching to offline mode in the middle, or restarting setup for the user with --offline, and we decided that both of these will be quite complicated. Feel free to open another bug if you think this is important, current bug is text-only. Moving back to QE. > [ INFO ] Stage: Clean up > Log file is located at > /var/log/ovirt-engine/setup/ovirt-engine-setup-20170905070757-xufoxw.log > [ INFO ] Generating answer file > '/var/lib/ovirt-engine/setup/answers/20170905072044-setup.conf' > [ INFO ] Stage: Pre-termination > [ INFO ] Stage: Termination > [ ERROR ] Execution of setup failed Sorry, I understood the bug incorrectly Verified on version: ovirt-engine-4.2.0-0.0.master.20170903205106.gitb17261a.el7.centos.noarch This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017. Since the problem described in this bug report should be resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. *** Bug 1845087 has been marked as a duplicate of this bug. *** |