Scaling of deployed cluster leads to "second argument must be a hash at /etc/puppet/modules/osnailyfacter/manifests/hosts/hosts.pp:21"

Bug #1582263 reported by Vladimir Khlyunev
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Alex Schultz
Mitaka
Fix Released
High
Matthew Mosesohn
Newton
Fix Released
High
Alex Schultz

Bug Description

Several swarm tests failed:
https://product-ci.infra.mirantis.net/job/9.0.system_test.ubuntu.ha_neutron_tun/108/

ISO 9.0 mos - 362
Snapshot https://product-ci.infra.mirantis.net/job/9.0.system_test.ubuntu.ha_neutron_tun/108/artifact/logs/fail_error_neutron_tun_ha_addremove-fuel-snapshot-2016-05-15_02-38-54.tar.xz

Steps to reproduce:
        1. Revert snapshot deploy_neutron_tun_ha with 3 controller
           and 2 compute nodes
        2. Add 'cinder' role to a new slave
        3. Deploy changes
        4. Remove the 'cinder' node
           Remove a 'controller' node
           Add 'controller'+'cinder' multirole to a new slave
        5. Deploy changes

Actual result:
task "hosts" failed on all nodes with:
err: create_resources(): second argument must be a hash at /etc/puppet/modules/osnailyfacter/manifests/hosts/hosts.pp:21

Swarm blocker because it affects at least 4 tests

Revision history for this message
Bug Checker Bot (bug-checker) wrote : Autochecker

(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:

expected result

For more detailed information on the contents of each of the listed sections see https://wiki.openstack.org/wiki/Fuel/How_to_contribute#Here_is_how_you_file_a_bug

tags: added: need-info
Changed in fuel:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

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

Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Alex Schultz (alex-schultz)
status: Confirmed → In Progress
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

Stealing this because this is a swarm blocker

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

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

Changed in fuel:
assignee: Matthew Mosesohn (raytrac3r) → Alex Schultz (alex-schultz)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/317025
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=643619f9c66be4bf4a33f23fc7af7b714048a58f
Submitter: Jenkins
Branch: master

commit 643619f9c66be4bf4a33f23fc7af7b714048a58f
Author: Alex Schultz <email address hidden>
Date: Mon May 16 11:43:56 2016 -0600

    Fix call to ensure deleted nodes are deleted from /etc/hosts

    The create_resources function needs a hash provided to it and we
    currently store deleted nodes as an array of strings. This change
    updates the logic to use ensure_resource(), which accepts an
    array of host titles.

    Change-Id: I6f6b87db71c93347a46fa543ed0c18ef8b102394
    Closes-Bug: #1582263

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

Reviewed: https://review.openstack.org/317584
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=90f2e19a92166e5dd96864e9ef7c8103a71822ed
Submitter: Jenkins
Branch: stable/mitaka

commit 90f2e19a92166e5dd96864e9ef7c8103a71822ed
Author: Alex Schultz <email address hidden>
Date: Mon May 16 11:43:56 2016 -0600

    Fix call to ensure deleted nodes are deleted from /etc/hosts

    The create_resources function needs a hash provided to it and we
    currently store deleted nodes as an array of strings. This change
    updates the logic to use ensure_resource(), which accepts an
    array of host titles.

    Change-Id: I6f6b87db71c93347a46fa543ed0c18ef8b102394
    Closes-Bug: #1582263

tags: added: on-verification
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.