[Ubuntu 14.04] Failed to build an iso. We shouldn't install fence-agents on master nodes

Bug #1419889 reported by Alexander Kurenyshev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Sergii Golovatiuk

Bug Description

Tried to build an ISO, but got a fail.
In the log there is: Error: Could not update: Could not find package fence-agents

See all log here http://jenkins-product.srt.mirantis.net:8080/view/custom_iso/job/custom_trusty_6.1_iso/13/consoleFull

Tags: ubuntu14
Revision history for this message
Alexei Sheplyakov (asheplyakov) wrote :

Recently a new package fence-agents-all (version 4.0.7) has been added to the OSCI yum repo.
This package provides and obsoletes fence-agents version <= 3.1.13. Due to a poor integration
of puppet with package management tools installing fence-agents with puppet fails:

Debug: Package[fence-agents](provider=yum): Ensuring => latest
Debug: Executing '/usr/bin/yum -d 0 -e 0 -y install fence-agents'
Debug: Executing '/bin/rpm -q fence-agents --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH} :DESC: %%{SUMMARY}\n'
Error: Could not update: Could not find package fence-agents

puppet does not try to figure out if fence-agents is provided by a different package and query the status of that package, hence the error

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/154371

Changed in fuel:
assignee: Matthew Mosesohn (raytrac3r) → Alexei Sheplyakov (asheplyakov)
status: New → In Progress
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

That is correct. Puppet's rpm/yum package provider poorly handles meta packages and instances where a package name is obsoleted. We should avoid renaming packages when possible, but if we must, we need to amend Puppet manifests to reflect the new package name. Alexei's patch addresses this.

Roman Vyalov (r0mikiam)
Changed in fuel:
importance: Undecided → Critical
Roman Vyalov (r0mikiam)
Changed in fuel:
importance: Critical → Medium
Changed in fuel:
assignee: Alexei Sheplyakov (asheplyakov) → Sergii Golovatiuk (sgolovatiuk)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (master)

Change abandoned by Alexei Sheplyakov (<email address hidden>) on branch: master
Review: https://review.openstack.org/154371
Reason: The package causing the problem has been removed from the RPM mirrors

Changed in fuel:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.