Skip to content

Restart handler mechanism appears to have problems #48

@nuwang

Description

@nuwang

Problem:

The restart handler mechanism doesn't appear to work consistently and/or work well with other roles.

Background:

See discussion here: #47

Issues:

There are several attendant issues that also need to be solved:

  1. The build should fail when test tool installation during testing fails. However, it currently does not.
  2. The restart handler name used to be "restart galaxy", which is the same handler name used in the galaxy playbook: https://github.com/galaxyproject/ansible-galaxy/blob/6544db9b17cc4db6cfbaf6940545fb57edc37cdf/handlers/main.yml#L5.
    but this can cause the incorrect handler to be called when both galaxy and galaxy-tools roles are used together. We could use the same handler name if we use a "generic topic" as introduced in ansible 2.2 onwards or make the handler name unique, which is what was done in PR: Make sure ansible-galaxy-tools version of the restart handler is called #47. However, the latter seems to have caused a build break for unknown reasons.
  3. Supervisor seems to be having trouble restarting Galaxy as shown in: Make sure ansible-galaxy-tools version of the restart handler is called #47 (comment)
    Since a restart command should succeed, whether Galaxy is running or not, there may also be a supervisor config issue in the extras playbook.

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