CentOS HA deployment failed after adding 2 new controllers with Could not set 'running' on ensure: undefined method `node_type' for nil:NilClass at 95:/etc/puppet/modules/cluster/manifests/virtual_ip.pp

Bug #1407779 reported by Andrey Sledzinskiy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
High
Bogdan Dobrelya
6.0.x
Incomplete
High
Fuel Library (Deprecated)
6.1.x
Confirmed
High
Bogdan Dobrelya

Bug Description

{

    "build_id": "2015-01-05_11-20-53",
    "ostf_sha": "249574cdda0279dc8ec4957a5979651439476e8a",
    "build_number": "44",
    "auth_required": true,
    "api": "1.0",
    "nailgun_sha": "4b325a95b0217a26a17f526cb734b3748cb03e12",
    "production": "docker",
    "fuelmain_sha": "cc47eef01622b8fdf2d8f290cb8dfb46738dc7f5",
    "astute_sha": "18be5cd3b819f3cad4c970ce5f72d3fb211a0969",
    "feature_groups": [
        "mirantis"
    ],
    "release": "6.1",
    "release_versions": {
        "2014.2-6.0": {
            "VERSION": {
                "build_id": "2015-01-05_11-20-53",
                "ostf_sha": "249574cdda0279dc8ec4957a5979651439476e8a",
                "build_number": "44",
                "api": "1.0",
                "nailgun_sha": "4b325a95b0217a26a17f526cb734b3748cb03e12",
                "production": "docker",
                "fuelmain_sha": "cc47eef01622b8fdf2d8f290cb8dfb46738dc7f5",
                "astute_sha": "18be5cd3b819f3cad4c970ce5f72d3fb211a0969",
                "feature_groups": [
                    "mirantis"
                ],
                "release": "6.1",
                "fuellib_sha": "42df19509c40e2cdc9ede9d89b42188ea27c1b7e"
            }
        }
    },
    "fuellib_sha": "42df19509c40e2cdc9ede9d89b42188ea27c1b7e"

}

Steps:
1. Create next cluster - HA, CentOS, Flat nova-network, 1 controller
2. Deploy cluster
3. Add 2 new controllers
4. Deploy cluster again
5. Add 2 new controllers
6. Deploy cluster again

Actual result - deployment got stuck because of errors on node-1
2015-01-05 15:58:36 ERR

 /etc/puppet/modules/corosync/lib/puppet/provider/pacemaker_common.rb:433:in `primitive_status'

2015-01-05 15:58:36 ERR

 /etc/puppet/modules/corosync/lib/puppet/provider/pacemaker_common.rb:214:in `nodes'

2015-01-05 15:58:36 ERR

 /etc/puppet/modules/corosync/lib/puppet/provider/pacemaker_common.rb:214:in `each'

2015-01-05 15:58:36 ERR

 /etc/puppet/modules/corosync/lib/puppet/provider/pacemaker_common.rb:219:in `nodes'

2015-01-05 15:58:36 ERR

 /etc/puppet/modules/corosync/lib/puppet/provider/pacemaker_common.rb:72:in `cib_section_lrm_resources'

2015-01-05 15:58:36 ERR

 /usr/lib/ruby/1.8/rexml/xpath.rb:63:in `match'

2015-01-05 15:58:36 ERR

 /usr/lib/ruby/1.8/rexml/xpath_parser.rb:60:in `parse'

2015-01-05 15:58:36 ERR

 /usr/lib/ruby/1.8/rexml/xpath_parser.rb:129:in `match'

2015-01-05 15:58:36 ERR

 /usr/lib/ruby/1.8/rexml/xpath_parser.rb:225:in `expr'

2015-01-05 15:58:36 ERR

 /usr/lib/ruby/1.8/rexml/xpath_parser.rb:225:in `each'

2015-01-05 15:58:36 ERR

 /usr/lib/ruby/1.8/rexml/xpath_parser.rb:226:in `expr'

2015-01-05 15:58:36 ERR

 Could not set 'running' on ensure: undefined method `node_type' for nil:NilClass at 95:/etc/puppet/modules/cluster/manifests/virtual_ip.pp

Logs are attached

Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

Reproduced at ISO build 47

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

The only difference is that I recieved node_type error at node-2 and node-3, and deploy tasks hanged in fuel task list

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.