Upgrade failed when "Installing package iptables from 1.4.7-11.mira2 to 1.4.7-11.el6"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
High
|
Matthew Mosesohn |
Bug Description
Steps:
1. Install fuel 5.1
2. Upload custom upgrade script to master node to /var directory
3. Run upgrade.sh
After applying the patch from https:/
=======
2014-11-03 16:23:10 DEBUG 26607 (utils) Notice: Installing package iptables from 1.4.7-11.mira2 to 1.4.7-11.el6
2014-11-03 16:23:10 DEBUG 26607 (utils) Debug: Executing '/bin/rpm -q iptables --nosignature --nodigest --qf %{NAME} %|EPOCH?
2014-11-03 16:23:10 DEBUG 26607 (utils) Debug: Package[
2014-11-03 16:23:10 DEBUG 26607 (utils) Debug: Executing '/bin/rpm -q -a --queryformat %{NAME}
2014-11-03 16:23:10 DEBUG 26607 (utils) Debug: Executing '/usr/bin/yum -d 0 -e 0 -y downgrade iptables-
2014-11-03 16:23:10 DEBUG 26607 (utils) Error: Could not update: Execution of '/usr/bin/yum -d 0 -e 0 -y downgrade iptables-
2014-11-03 16:23:10 DEBUG 26607 (utils) Requires: iptables = 1.4.7-11.mira2
2014-11-03 16:23:10 DEBUG 26607 (utils) Removing: iptables-
2014-11-03 16:23:10 DEBUG 26607 (utils) iptables = 1.4.7-11.mira2
2014-11-03 16:23:10 DEBUG 26607 (utils) Downgraded By: iptables-
2014-11-03 16:23:10 DEBUG 26607 (utils) iptables = 1.4.7-11.el6
2014-11-03 16:23:10 DEBUG 26607 (utils) You could try using --skip-broken to work around the problem
2014-11-03 16:23:10 DEBUG 26607 (utils) You could try running: rpm -Va --nofiles --nodigest
2014-11-03 16:23:10 DEBUG 26607 (utils)
2014-11-03 16:23:10 DEBUG 26607 (utils) Error: /Stage[
2014-11-03 16:23:10 DEBUG 26607 (utils) Requires: iptables = 1.4.7-11.mira2
2014-11-03 16:23:10 DEBUG 26607 (utils) Removing: iptables-
2014-11-03 16:23:10 DEBUG 26607 (utils) iptables = 1.4.7-11.mira2
2014-11-03 16:23:10 DEBUG 26607 (utils) Downgraded By: iptables-
2014-11-03 16:23:10 DEBUG 26607 (utils) iptables = 1.4.7-11.el6
2014-11-03 16:23:10 DEBUG 26607 (utils) You could try using --skip-broken to work around the problem
2014-11-03 16:23:10 DEBUG 26607 (utils) You could try running: rpm -Va --nofiles --nodigest
2014-11-03 16:23:10 DEBUG 26607 (utils)
=======
The other issue is that this error didn't cause a rollback, so many dependences was just skipped, and 'docker' service wasn't started at the end, so Fuel is not operational after upgrade is failed in this way.
Changed in fuel: | |
importance: | Undecided → Critical |
importance: | Critical → High |
status: | New → Confirmed |
Changed in fuel: | |
assignee: | Vladimir Kozhukalov (kozhukalov) → Fuel Library Team (fuel-library) |
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Marcin Iwinski (iwi) (iwi) |
Here it is not clear why puppet tried to downgrade iptables to el6. I just verified iptables version in 6.0. It is iptables- 1.4.7-11. mira2.x86_ 64.rpm. Looks like this bug is not actual any more. And upgrade 5.1.1-6.0 was successful.
Vladimir, do you have any additional info?