New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Salt "pkg" state doesn't work on Fedora 23 template #2073

Closed
marmarek opened this Issue Jun 15, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@marmarek
Member

marmarek commented Jun 15, 2016

Qubes OS version (e.g., R3.1):

R3.2

Affected TemplateVMs (e.g., fedora-23, if applicable):

Fedora 23

Expected behavior:

Packages are properly installed in Fedora 23 template

Actual behavior:

Error CommandExecutionError('Unable to install dnf-plugins-core') in salt/modules/yumpkg.py, line 190.

Steps to reproduce the behavior:

  1. Create salt formula in dom0 to install some package in Fedora 23 template (documentation).
  2. Execute qubesctl --target fedora-23 state.highstate

qubesctl --target fedora-23 state.highstate

General notes:

It looks like salt is too old ort that, as dnf is supported in 2015.8, but Fedora 23 have 2015.5.

@marmarek marmarek added this to the Release 3.2 milestone Jun 15, 2016

marmarek added a commit to marmarek/qubes-mgmt-salt-base-overrides that referenced this issue Jun 15, 2016

Workaround for too old yumpkg module
dnf in Fedora 23 uses python3, but salt expect python2 packages (it's
just about package names).
Disable the check using nasty hack. Until we get salt 2015.8.

Fixes QubesOS/qubes-issues#2073
@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jun 17, 2016

Member

It looks like Fedora 23 got salt update to 2015.5.10 and now it works.

Member

marmarek commented Jun 17, 2016

It looks like Fedora 23 got salt update to 2015.5.10 and now it works.

@marmarek marmarek closed this Jun 17, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment