Skip to content

Upgrading cluster by re-applying provision-cluster.yml only works the 2nd time #225

@vuldin

Description

@vuldin

I have the following hosts.ini file that I deploy:

> cat hosts.ini
[redpanda]
node-a ansible_user=root ansible_become=True private_ip=${IP_A} id=0
node-b ansible_user=root ansible_become=True private_ip=${IP_B} id=1
node-c ansible_user=root ansible_become=True private_ip=${IP_C} id=2
> ansible-playbook --private-key ~/.ssh/id_rsa -v ansible/provision-cluster.yml -i hosts.ini -e redpanda_version=24.1.7-1

And when I do a rolling upgrade, I always have to run the following command twice:

ansible-playbook --private-key ~/.ssh/id_rsa -v ansible/provision-cluster.yml -i hosts.ini -e redpanda_version=24.1.8-1

It never completes the upgrade on the first attempt. There are no errors, it just doesn't seem to complete the task the first time (always the second time). After discussions it looks like package_result was removed (thanks @tmgstevens ).

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