Deployment tasks can't be triggered leading to failure of virtual Controllers spawning

Bug #1643143 reported by Alexander Rubtsov
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Sergey Abramov
Nominated for Ocata by Oleksiy Molchanov
Mitaka
Fix Released
High
Sergey Abramov
Newton
Invalid
High
Sergey Abramov

Bug Description

MOS: 9.0/stable at October 31

Deployment tasks couldn’t be triggered leading to failure of vCIC spawning.
This is because of the change introduced as part of the blueprint https://blueprints.launchpad.net/fuel/+spec/graph-concept-extension which was targeting MOS10.0.
However, the code parts are already in master as well as in stable/mitaka.

The problem seems to be a coding bug in deployment_serializers.py:
def inject_provision_info(self, common_attrs, node, data):
  if node.replaced_provisioning_info:
    info = node.replaced_provision_info
  else:
    info = self._provision_serializer.serialize_node(
      common_attrs, node
    )
  utils.dict_update(data.setdefault('provision', {}), info)

There is no such entry as "replaced_provision_info" in the database
There is "replaced_provisioning_info" instead.

Revision history for this message
Alexander Rubtsov (arubtsov) wrote :

sla1 for 9.0-updates

Changed in fuel:
status: New → Triaged
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
milestone: 9.2 → 11.0
tags: added: area-python
Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Sergey Abramov (sabramov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

Fix proposed to branch: master
Review: https://review.openstack.org/401235

Changed in fuel:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/401236

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/401237

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/mitaka)

Reviewed: https://review.openstack.org/401237
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=c92e6aa99ead942ab22a0297e1fba93968994418
Submitter: Jenkins
Branch: stable/mitaka

commit c92e6aa99ead942ab22a0297e1fba93968994418
Author: Sergey Abramov <email address hidden>
Date: Wed Nov 23 15:17:02 2016 +0300

    Bugfix attr rename

    rename node attr from replaced_provision_info to
    replaced_provisioning_info

    Change-Id: I3e714fc6f6454eeb46797f3be10b1c20385a5e18
    Closes-bug: 1643143

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

Reviewed: https://review.openstack.org/401235
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=4c3d4bdace57c80ae1b296e1ea2b27eecde0ee0a
Submitter: Jenkins
Branch: master

commit 4c3d4bdace57c80ae1b296e1ea2b27eecde0ee0a
Author: Sergey Abramov <email address hidden>
Date: Wed Nov 23 15:17:02 2016 +0300

    Bugfix attr rename

    rename node attr from replaced_provision_info to
    replaced_provisioning_info

    Change-Id: I3e714fc6f6454eeb46797f3be10b1c20385a5e18
    Closes-bug: 1643143

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/newton)

Reviewed: https://review.openstack.org/401236
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=6c3e39eab3f9339017149ebcc4963b37def01cfd
Submitter: Jenkins
Branch: stable/newton

commit 6c3e39eab3f9339017149ebcc4963b37def01cfd
Author: Sergey Abramov <email address hidden>
Date: Wed Nov 23 15:17:02 2016 +0300

    Bugfix attr rename

    rename node attr from replaced_provision_info to
    replaced_provisioning_info

    Change-Id: I3e714fc6f6454eeb46797f3be10b1c20385a5e18
    Closes-bug: 1643143

tags: added: on-verification
Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Verification of this bug is blocked by https://bugs.launchpad.net/fuel/+bug/1648786.

Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Waiting for customer will verify the fix.

Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Addition for comment 9: This bug was found by customer using their own deployment scripts and don't have clear steps to reproduce, so we desided to ask customer to check the fix. Testing of this fix is approved by customer's PM at 10-Jan-2017 and customer should start testing at 16-Jan-2017 or later (arubtsov communicated with customer).

Revision history for this message
Nastya Urlapova (aurlapova) wrote :

@Andrey, please don't forget to update the issue status after customer's responce. According to our rules issue was moved to "Fix Released", but we cannot verify the fix!

tags: removed: on-verification
Revision history for this message
Alexander Rubtsov (arubtsov) wrote :

@Nastya,

Unfortunately, the customer has not been responding regarding the verification results and the corresponding support case has been closed due to timeout. So, the status of the fix remained unknown for us as well.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-web 11.0.0.0rc1

This issue was fixed in the openstack/fuel-web 11.0.0.0rc1 release candidate.

tags: added: on-verification
Revision history for this message
Sergey Novikov (snovikov) wrote :

According to comments #10-12 I've moved the bug to "Incomplete" state for 10.0

tags: removed: on-verification
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.