#7512 Missing dependency for freeipa-client: python3-augeas
Closed: fixed Opened by frenaud.

Issue

ipa-client-install fails when python3-augeas package is not installed

Steps to Reproduce

  1. install freeipa-client package (from master branch)
  2. launch ipa-client-install

Actual behavior

ipa-client-install fails with

ipa-client-install --domain $DOMAIN --realm $REALM --principal admin --password $PASSWD -U
Traceback (most recent call last):
  File "/usr/sbin/ipa-client-install", line 22, in <module>
    from ipaclient.install import ipa_client_install
  File "/usr/lib/python3.6/site-packages/ipaclient/install/ipa_client_install.py", line 7, in <module>
    from ipaclient.install import client
  File "/usr/lib/python3.6/site-packages/ipaclient/install/client.py", line 63, in <module>
    from . import automount, ipadiscovery, timeconf, sssd
  File "/usr/lib/python3.6/site-packages/ipaclient/install/timeconf.py", line 25, in <module>
    from augeas import Augeas
ModuleNotFoundError: No module named 'augeas'

Expected behavior

The installation of freeipa-client package should require the installation of python3-augeas, so that ipa-client-install succeeds.

Version/Release/Distribution

$ rpm -q freeipa-server freeipa-client ipa-server ipa-client 389-ds-base pki-ca krb5-server
package freeipa-server is not installed
freeipa-client-4.6.90.pre1.dev201804241324+git5786faa05-0.fc27.x86_64
package ipa-server is not installed
package ipa-client is not installed
package 389-ds-base is not installed
package pki-ca is not installed
package krb5-server is not installed

Additional info:

freeipa-client does not require python3-augeas, but python3-ipaserver does:

client# rpm -qR freeipa-client |  grep augeas
client# 
server# rpm -qR python3-ipaserver | grep augeas
python3-augeas
server#

If the package python3-augeas is installed on the client node, ipa-client-install succeeds.


Metadata Update from @cheimes:
- Issue assigned to cheimes

Metadata Update from @cheimes:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/1850

master:

  • 13b9608d5c0715e9afb98362112c45bc346bad8b Add augeas dependency to client package

Metadata Update from @cheimes:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata