Invalid apt preference file for Fuel plugins
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Evgeniy L |
Bug Description
This is on a fresh Ubuntu node with the elasticsearch_
When the plugin ships a more recent version of a package that also exists in the MOS repository, apt won't install the newer package. Eventually this can fail the plugin's installation.
# apt-get install tzdata-java
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
tzdata-java : Depends: tzdata (= 2015b-0ubuntu0.
N: Ignoring file 'elasticsearch_
E: Unable to correct problems, you have held broken packages.
See the error above about the invalid filename extension for the elasticsearch_
# cat preferences.
Package: *
Pin: release a=/
Pin-Priority: 1100
# cat preferences.d/MOS
Package: *
Pin: release a=trusty
Pin-Priority: 1001
Even after renaming the elasticsearch_
# apt-cache policy
Package files:
1100 /var/lib/
release a=now
500 http://
origin 10.20.0.2
1001 http://
release o=Ubuntu,
origin 10.20.0.2
1001 http://
release o=Ubuntu,
origin 10.20.0.2
Pinned packages:
Workaround:
===========
In our Puppet manifests, we force the installation of the offending package by specifying its version. See https:/
tags: | added: plugins |
description: | updated |
description: | updated |
description: | updated |
Changed in fuel: | |
assignee: | nobody → Evgeniy L (rustyrobot) |
milestone: | none → 6.1 |
importance: | Undecided → High |
status: | New → Confirmed |
tags: |
added: feature-plugins removed: plugins |
Changed in fuel: | |
assignee: | Evgeniy L (rustyrobot) → Igor Kalnitsky (ikalnitsky) |
tags: | added: tricky |
description: | updated |
Changed in fuel: | |
assignee: | Vladimir Sharshov (vsharshov) → Evgeniy L (rustyrobot) |
tags: | added: on-verification |
tags: | removed: on-verification |
Related fix proposed to branch: master /review. openstack. org/175358
Review: https:/