Uploaded image for project: 'openATTIC'
  1. openATTIC
  2. OP-2006

Vagrant provisioning script can be executed only once

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0.18
    • Fix Version/s: None
    • Component/s: Development
    • Labels:

      Description

      If you try to run the provisioning script for a second time, it fails, as it tries to recreate symlinks and virtualenv. In order to fix it it's required to change symlink creation to "ln -sf <orig> <dest>" and check if virtualenv exists before creating it. Related to malachite installation, the following command also fails:

      + zypper ar http://download.opensuse.org/repositories/filesystems:/ceph:/jewel/openSUSE_Leap_42.1/filesystems:ceph:jewel.repo
      Adding repository 'filesystems:ceph:jewel (openSUSE_Leap_42.1)' ..........[done]
      Repository named 'filesystems_ceph_jewel' already exists. Please use another alias.

      This bug problem was also affecting a different project (ansible-modules-extras)  https://github.com/ansible/ansible-modules-extras/issues/3025 they managed to solve by parsing zypper command output with -x option

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            mscam Massimo Scamarcia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: