[puppet4] fuel-pkgs task fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Nikita Karpin |
Bug Description
During deployment of the environment fuel-pkgs task fails with error:
E: No priority (or zero) specified for pin
ERR Execution of '/usr/bin/apt-get -q -y -o DPkg::Options:
Output from one of the controllers:
root@node-3:~# ls /etc/apt/
Auxiliary.pref mos-holdback.pref mos.pref mos-puppet4.pref mos-security.pref mos-updates.pref ubuntu.pref ubuntu-
root@node-3:~# cat /etc/apt/
# This file is managed by Puppet. DO NOT EDIT.
Explanation: osnailyfacter: ubuntu
Package: *
Pin: release a=xenial, n=xenial, o=Ubuntu, l=Ubuntu
Pin-Priority: 0
As we can see ubuntu repositories pins were created with 0 priorities. It's related to that fact that Puppet 4 functions parse null value from yaml backend as ruby :undef value, and it is treated as true here - https:/
Environment:
Fuel custom ISO - https:/
Puppet version - 4
Changed in fuel: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Nikita Karpin (mkarpin) |
milestone: | none → 11.0 |
Fix proposed to branch: master /review. openstack. org/419465
Review: https:/