Property error: resources.VipPort.properties.fixed_ips: "{}" is not a list

Bug #1486778 reported by Dan Prince
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
Rabi Mishra
tripleo
Fix Released
High
Unassigned

Bug Description

Seeing the following failures when trying to use the latest Heat code I'm seeing the following (new) failures with tripleo-heat-templates:

                               | CREATE_IN_PROGRESS | 2015-08-20T00:21:55 |
| RedisVirtualIP | aebdff99-6760-4f10-81a0-53a47f67f9e9 | resources.RedisVirtualIP: Property error: resources.VipPort.properties.fixed_ips: "{}" is not a list | CREATE_FAILED | 2015-08-20T00:21:55 |
| StorageVirtualIP | f5d98980-3b24-45d3-9ce4-a99f40c3cd4c | state changed | CREATE_COMPLETE | 2015-08-20T00:21:56 |
| overcloud | b87dbadc-618a-42f5-b6c5-ece783dae9ce | Resource CREATE failed: resources.RedisVirtualIP: Property error: resources.VipPort.properties.fixed_ips: "{}" is not a list | CREATE_FAILED | 2015-08-20T00:21:56 |

-----

The nested stack for the VipPort has a default set to [] which should take effect but it isn't working anymore.

Dan Prince (dan-prince)
Changed in tripleo:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/214908

Changed in heat:
status: New → Triaged
importance: Undecided → High
Rabi Mishra (rabi)
Changed in heat:
assignee: nobody → Rabi Mishra (rabi)
Revision history for this message
Rabi Mishra (rabi) wrote :

This is a side-effect of this merge[1] that happened few days back. I'll push a patch soon.

https://github.com/openstack/heat/commit/bc151f96ef2cb2ea69e9a542d3f35565fdea2831

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

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

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

Reviewed: https://review.openstack.org/215211
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=c77fc2d83d391aa43b2045a5de9ac255fe4449fe
Submitter: Jenkins
Branch: master

commit c77fc2d83d391aa43b2045a5de9ac255fe4449fe
Author: Rabi Mishra <email address hidden>
Date: Thu Aug 20 21:14:36 2015 +0530

    Fix "{}" is not a list error for json parameter type

    If json paramter `default` of nested stack is set to
    [], it resets it to {} and nested resource validations
    fail. This patch fixes it by allowing empty list to
    passthrough.

    Change-Id: I153e9a94566679c01d6ca21713233e3140769ded
    Closes-Bug: #1486778

Changed in heat:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (master)

Change abandoned by Dan Prince (<email address hidden>) on branch: master
Review: https://review.openstack.org/214908

Revision history for this message
Derek Higgins (derekh) wrote :

Fixed in heat

Changed in tripleo:
status: New → Fix Released
Changed in heat:
milestone: none → liberty-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: liberty-3 → 5.0.0
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.