Skip to content

When installing from scratch, /esg/gridftp_root/etc/grid-security/certificates/ isn’t created if non-existent #127

@plogerais

Description

@plogerais

While installing from scratch, if you don’t create the directory /esg/gridftp_root/etc/grid-security/certificates/, install.yml fails with this error :

TASK [globus_certs : Copy certificates over if it is] **********************************************************************************************************************************************************
changed: [vesg4cds-data.ipsl.upmc.fr]
fatal: [vesg4cds-idx.ipsl.upmc.fr]: FAILED! => {
    "changed": true,
    "cmd": "cp /etc/grid-security/certificates/* /esg/gridftp_root/etc/grid-security/certificates/",
    "delta": "0:00:00.005728",
    "end": "2019-09-16 15:19:56.689950",
    "rc": 1,
    "start": "2019-09-16 15:19:56.684222"
}

STDERR:

cp: la cible « /esg/gridftp_root/etc/grid-security/certificates/ » n'est pas un répertoire

To Reproduce
Steps to reproduce the behavior :

  1. Run installer with options --skip-tags gridftp
  2. See error

ESGF Node (please complete the following information):

  • Managed OS: CentOS 6 & 7
  • Host OS: CentOS 7
  • esgf-ansible Version: 4.0.4
  • Node type: Index

Additional context
Possible workaround : Using the command mkdir -p /esg/gridftp_root/etc/grid-security/certificates/, then launching the playbook install.yml again, solves the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions