undercloud installation fails if rsyslog is not installed

Bug #1850562 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Medium
Emilien Macchi

Bug Description

Description of problem:

After a fresh install of RHEL 8.0, attempted an undercloud install. It failed due to missing rsyslog:

[stack@undercloud undercloud-ansible-54348tim]$ cat ansible-errors.json
{"hardprov-dl360-g9-01": [["Check if rsyslog exists", {"msg": "non-zero return code", "cmd": "systemctl is-active rsyslog", "stdout": "inactive", "stderr": "", "rc": 3, "start": "2019-10-02 01:52:11.855265", "end": "2019-10-02 01:52:11.862984", "delta": "0:00:00.007719", "changed": true, "invocation": {"module_args": {"_raw_params": "systemctl is-active rsyslog", "_uses_shell": true, "warn": true, "stdin_add_newline": true, "strip_empty_ends": true, "argv": null, "chdir": null, "executable": null, "creates": null, "removes": null, "stdin": null}}, "stdout_lines": ["inactive"], "stderr_lines": [], "_ansible_no_log": false}]]}[stack@hardprov-dl360-g9-01 undercloud-ansible-54348tim]

Can workaround this by installing rsyslog manually:
$ sudo dnf install rsyslog
$ systemctl start rsyslog.service

Revision history for this message
Alex Schultz (alex-schultz) wrote :

rsyslog appears to be required for haproxy and swift

Revision history for this message
Emilien Macchi (emilienm) wrote :

I couldn't reproduce (OSP16 on RHEL7), with these rpms: http://ix.io/20k4
My undercloud deployed just fine. Can you please share your rpm list?

Revision history for this message
Alex Schultz (alex-schultz) wrote :

To reproduce ensure rsyslog is not installed prior to deploying the undercloud. The qcow2 image has it by default, but an base install from an iso may not.

Changed in tripleo:
assignee: nobody → Emilien Macchi (emilienm)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.opendev.org/692195

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.opendev.org/692195
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=5ff628f1cfb72a88e7414370e0f9083a206eb710
Submitter: Zuul
Branch: master

commit 5ff628f1cfb72a88e7414370e0f9083a206eb710
Author: Emilien Macchi <email address hidden>
Date: Wed Oct 30 17:59:43 2019 +0100

    Install and start Rsyslog on the Undercloud & Standalone

    Create a new Rsyslog service that is deployed on the host (not in a
    container) and with Ansible.

    Make it so it's deployed by default on Undercloud & Standalone setups.
    Also move the tasks that configure rsyslogd for HAproxy & Swift to be
    executed after the host prep tasks (using deploy step tasks).

    Change-Id: I027c64aefcc4715da17836a5cf0141152cf146aa
    Closes-Bug: #1850562

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/692754

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/train)

Reviewed: https://review.opendev.org/692754
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=83ae5542ce47bb25ae03c1b0cc4f8e2cc2887af9
Submitter: Zuul
Branch: stable/train

commit 83ae5542ce47bb25ae03c1b0cc4f8e2cc2887af9
Author: Emilien Macchi <email address hidden>
Date: Wed Oct 30 17:59:43 2019 +0100

    Install and start Rsyslog on the Undercloud & Standalone

    Create a new Rsyslog service that is deployed on the host (not in a
    container) and with Ansible.

    Make it so it's deployed by default on Undercloud & Standalone setups.
    Also move the tasks that configure rsyslogd for HAproxy & Swift to be
    executed after the host prep tasks (using deploy step tasks).

    Change-Id: I027c64aefcc4715da17836a5cf0141152cf146aa
    Closes-Bug: #1850562
    (cherry picked from commit 5ff628f1cfb72a88e7414370e0f9083a206eb710)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/692912

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/stein)

Reviewed: https://review.opendev.org/692912
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=42ba2c65ef574603d7833b847d83356c4605d005
Submitter: Zuul
Branch: stable/stein

commit 42ba2c65ef574603d7833b847d83356c4605d005
Author: Emilien Macchi <email address hidden>
Date: Wed Oct 30 17:59:43 2019 +0100

    Install and start Rsyslog on the Undercloud & Standalone

    Create a new Rsyslog service that is deployed on the host (not in a
    container) and with Ansible.

    Make it so it's deployed by default on Undercloud & Standalone setups.
    Also move the tasks that configure rsyslogd for HAproxy & Swift to be
    executed after the host prep tasks (using deploy step tasks).

    Change-Id: I027c64aefcc4715da17836a5cf0141152cf146aa
    Closes-Bug: #1850562
    (cherry picked from commit 5ff628f1cfb72a88e7414370e0f9083a206eb710)

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 12.0.0

This issue was fixed in the openstack/tripleo-heat-templates 12.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 10.6.2

This issue was fixed in the openstack/tripleo-heat-templates 10.6.2 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 11.3.1

This issue was fixed in the openstack/tripleo-heat-templates 11.3.1 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers