Execution of modular tasks for centos compute failed

Bug #1572110 reported by Anastasia Kuznetsova on 2016-04-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
High
Sergey Kolekonov
Mitaka
High
Sergey Kolekonov
Newton
High
Sergey Kolekonov

Bug Description

ENV: ISO 217, env with 3 nodes

Steps to reproduce:
1. Deploy environment
{
                'slave-01': ['controller'],
                'slave-02': ['compute'],
                'slave-03': ['cinder']
}
{
            'volumes_lvm': True,
            'net_provider': 'neutron',
            'net_segment_type': 'tun'
}
2. Backup astute.yaml and ssh keys from compute.
3. Boot compute with Centos image.
4. Prepare node for Puppet run.
5. Execute modular tasks for compute:
puppet apply -vd -l /var/log/puppet.log /etc/puppet/modules/osnailyfacter/modular/roles/compute.pp

Expected results:
Execution of modular tasks is successful, new compute node is part of the env

Actual result:
 Command: 'puppet apply -vd -l /var/log/puppet.log /etc/puppet/modules/osnailyfacter/modular/roles/compute.pp'
Exit code: 1

2016-04-18 22:32:16 +0000 Puppet (err): ::allocated_hugepages is not a hash or array when accessing it with 2M at /etc/puppet/modules/openstack_tasks/manifests/roles/compute.pp:55
2016-04-18 22:32:16 +0000 Puppet (err): ::allocated_hugepages is not a hash or array when accessing it with 2M at /etc/puppet/modules/openstack_tasks/manifests/roles/compute.pp:55

summary: - Execution of modular tasks for compute on env with RH failed
+ Execution of modular tasks for compute failed
Changed in fuel:
importance: Undecided → High
assignee: nobody → Sergey Kolekonov (skolekonov)
milestone: none → 9.0
summary: - Execution of modular tasks for compute failed
+ Execution of modular tasks for centos compute failed

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

Changed in fuel:
status: Confirmed → In Progress

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

commit fb899cc93c4583ae8ad90044aeb2a8901e427211
Author: Sergey Kolekonov <email address hidden>
Date: Tue Apr 19 16:52:24 2016 +0300

    Make allocated_hugepages compatible with Ruby 2.0

    To make allocated_hugepages fact compatible with different Ruby versions
    (1.9.3, 2.0) it's safer to return a hash as JSON and then parse to avoid
    different types conversion

    Change-Id: If7adadd2de2cc7154281a0d9cbadf825dffe5d2c
    Closes-bug: #1572110

Changed in fuel:
status: In Progress → Fix Committed
tags: added: swarm-blocker

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

commit da69e6bd4faa30224af8d759fffa9a9d8782c8d7
Author: Sergey Kolekonov <email address hidden>
Date: Tue Apr 19 16:52:24 2016 +0300

    Make allocated_hugepages compatible with Ruby 2.0

    To make allocated_hugepages fact compatible with different Ruby versions
    (1.9.3, 2.0) it's safer to return a hash as JSON and then parse to avoid
    different types conversion

    Change-Id: If7adadd2de2cc7154281a0d9cbadf825dffe5d2c
    Closes-bug: #1572110
    (cherry picked from commit fb899cc93c4583ae8ad90044aeb2a8901e427211)

This problem was occurred on this gate https://product-ci.infra.mirantis.net/view/9.0_swarm/job/9.0.system_test.ubuntu.rh/87/, now gate is green, bug can be closed.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers