Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • v1.14.7
  • v1.14.6
  • v1.14.5
  • v1.14.4
  • v1.14.3
  • v1.14.2
  • v1.14.1
  • v1.14.0
  • v1.13.2
  • v1.13.1
  • v1.13.0
  • v1.12.1
  • v1.12.0
  • v1.11.1
  • v1.11.0
  • v1.10.0
  • v1.9.2
  • v1.9.1
  • v1.9.0
  • v1.8.4
21 results

ipaclient_setup_automount.py

  • Thomas Woerner's avatar
    0a468d32
    ipaclient_setup_automount with new install states · 0a468d32
    Thomas Woerner authored
    This is "Fix ipa-client-automount install/uninstall with new install
    states" https://github.com/freeipa/freeipa/pull/7100 for ansible-freeipa:
    
    Issue 8384 introduced a new installation state for the statestore
    to identify when client/server installation is completely finished
    rather than relying on has_files().
    
    The problem is that ipa-client-automount may be called during
    ipa-client-install and since installation is not complete at that
    point the automount install was failing with "IPA client not
    configured".
    
    Add a new state, 'automount', to designate that automount installation
    is in process. If check_client_configuration() fails it checks to
    see if [installation] automount is True. If so it continues with the
    installation.
    
    This also addresses an issue where the filestore and statestore are
    shared between the client and automount installers but the client
    wasn't refreshing state after automount completed. This resulted in
    an incomplete state and index file of backed-up files which caused
    files to not be restored on uninstall and the state file to be
    orphaned.
    
    Fixes: https://pagure.io/freeipa/issue/9487
    0a468d32
    History
    ipaclient_setup_automount with new install states
    Thomas Woerner authored
    This is "Fix ipa-client-automount install/uninstall with new install
    states" https://github.com/freeipa/freeipa/pull/7100 for ansible-freeipa:
    
    Issue 8384 introduced a new installation state for the statestore
    to identify when client/server installation is completely finished
    rather than relying on has_files().
    
    The problem is that ipa-client-automount may be called during
    ipa-client-install and since installation is not complete at that
    point the automount install was failing with "IPA client not
    configured".
    
    Add a new state, 'automount', to designate that automount installation
    is in process. If check_client_configuration() fails it checks to
    see if [installation] automount is True. If so it continues with the
    installation.
    
    This also addresses an issue where the filestore and statestore are
    shared between the client and automount installers but the client
    wasn't refreshing state after automount completed. This resulted in
    an incomplete state and index file of backed-up files which caused
    files to not be restored on uninstall and the state file to be
    orphaned.
    
    Fixes: https://pagure.io/freeipa/issue/9487