Comment 2 for bug 2069829

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to update (master)

Reviewed: https://review.opendev.org/c/starlingx/update/+/922327
Committed: https://opendev.org/starlingx/update/commit/93323430073aea289a8e43e577c7ac92e012853e
Submitter: "Zuul (22348)"
Branch: master

commit 93323430073aea289a8e43e577c7ac92e012853e
Author: Lindley Vieira <email address hidden>
Date: Wed Jun 19 10:58:15 2024 -0300

    Fail: No deploy in progress in "deploy start"

    During deploy start, it queries all deployments inside software.json
    to update the state, but this file is being wrongly populated.

    This review fixes the software.json file population.
    Also removes a duplicated call to create a deploy host in this file.

    Test plan:
    PASS: "software deploy start <patch>"
    PASS: Should not fail with: "Error to update deploy state."
    PASS: Should not fail with: \
          "Error to create. Deploy host already exist."
    PASS: Deploy start must complete with the patch in the repo.

    Closes-bug: 2069829
    Story: 2010676
    Task: 50494

    Change-Id: I560a905240ec04084e4659b251cce644a4593f33
    Signed-off-by: Lindley Vieira <email address hidden>