Primary mongo role failed to be deployed in simple env

Bug #1438718 reported by Tatyanka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Bartłomiej Piotrowski
6.0.x
Fix Committed
Critical
Bartłomiej Piotrowski

Bug Description

http://172.18.66.221:8080/view/6.0_swarm/job/6.0_fuelmain.system_test.centos.services_simple/101/

Deploy cluster in simple mode with Ceilometer

Scenario:
1. Create cluster. Set install Ceilometer option
2. Add 1 node with controller role
3. Add 1 nodes with compute role
4. Add 1 node with cinder role
5. Add 1 node with mongo role
6. Deploy the cluster
7. Verify ceilometer api is running
8. Run OSTF

Snapshot: deploy_ceilometer_simple_with_mongo

second test:

Deploy cluster in simple mode with Ceilometer

Scenario:
1. Create cluster. Set install Ceilometer option
2. Add 1 node with controller role
3. Add 1 nodes with compute role
4. Add 1 node with cinder role
5. Add 1 node with mongo role
6. Deploy the cluster
7. Verify ceilometer api is running
8. Run OSTF

Snapshot: deploy_ceilometer_simple_with_mongo

In both cases deployment of controller and compute nodes do not start according to node 2 has critical error (see astute,yaml) and node-2 puppet logs

Issue is actual only for 6.0.1

Tags: mongo
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :
Revision history for this message
Ivan Berezovskiy (iberezovskiy) wrote :

Problem with manifests is in duplicate declaration:

Error: Duplicate declaration: Sysctl::Value[net.ipv4.tcp_keepalive_time] is already declared in file /etc/puppet/modules/osnailyfacter/manifests/cluster_simple.pp:709; cannot redeclare at /etc/puppet/modules/openstack/manifests/keepalive.pp:25 on node node-1.domain.tld
Error: Duplicate declaration: Sysctl::Value[net.ipv4.tcp_keepalive_time] is already declared in file /etc/puppet/modules/osnailyfacter/manifests/cluster_simple.pp:709; cannot redeclare at /etc/puppet/modules/openstack/manifests/keepalive.pp:25 on node node-1.domain.tld

Revision history for this message
Ivan Berezovskiy (iberezovskiy) wrote :

This problem could appear after merging fix for https://bugs.launchpad.net/fuel/+bug/1424919

Changed in fuel:
status: New → Confirmed
assignee: Fuel Library Team (fuel-library) → Bartlomiej Piotrowski (bpiotrowski)
Revision history for this message
Ivan Berezovskiy (iberezovskiy) wrote :

https://bugs.launchpad.net/fuel/+bug/1430449 was not actually fixed for simple mode.

Changed in fuel:
milestone: 6.0.1 → 6.1
status: Confirmed → New
Changed in fuel:
status: New → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/6.0)

Fix proposed to branch: stable/6.0
Review: https://review.openstack.org/171573

Revision history for this message
Ivan Berezovskiy (iberezovskiy) wrote :

I set "critical" for this bug, because it affects not only simple mode. It break simple and ha if you choose mongo role for node without controller role. So, roles cinder+mongo, mongo will fail to deploy. So, it's possible to setup mongo only with controller on one node. It's really important to have ability to deploy mongo on any node you want. So, it should be fixed ASAP.

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

Reviewed: https://review.openstack.org/171573
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=52507316a1fd52695fac8120b36151ac8af5a068
Submitter: Jenkins
Branch: stable/6.0

commit 52507316a1fd52695fac8120b36151ac8af5a068
Author: Bartłomiej Piotrowski <email address hidden>
Date: Wed Apr 8 13:06:03 2015 +0200

    Declare openstack::keepalive in cluster_ha.pp and cluster_simple.pp

    Change-Id: I42c78df304949a86b777e1efb330eaa69e76d777
    Closes-Bug: 1438718

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.