[fuel-qa] enable Ceilometer to deploy Mongo node

Bug #1620266 reported by Dmitry Belyaninov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
High
Fuel QA Team

Bug Description

Detailed bug description:
Acceptance test fails on deployment because "Ceilometer" is not enabled in settings.

https://product-ci.infra.mirantis.net/job/9.x.acceptance.ubuntu.deploy_from_uca/7/testReport/(root)/uca_vlan_mongo/uca_vlan_mongo/

AssertionError: Task 'deploy' has incorrect status. error != ready, 'Role 'mongo' restrictions mismatch: Ceilometer should be enabled in the environment settings.'

add:
'ceilometer': True,
to https://github.com/openstack/fuel-qa/blob/stable/mitaka/fuelweb_test/tests/tests_uca/test_uca.py#L247

Steps to reproduce:
run the test
Expected results:
pass
Actual result:
fail
Reproducibility:
 <put your information here>
Workaround:
 <put your information here>
Impact:
 <put your information here>
Description of the environment:
 Operation system: <put your information here>
 Versions of components: <put your information here>
 Reference architecture: <put your information here>
 Network model: <put your information here>
 Related projects installed: <put your information here>
Additional information:
 <put your information here>

Tags: area-qa
Changed in fuel:
assignee: nobody → Fuel QA Team (fuel-qa)
Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Fuel Sustaining (fuel-sustaining-team)
importance: Undecided → High
Changed in fuel:
milestone: none → 9.1
status: New → Confirmed
tags: added: area-python
Revision history for this message
Georgy Kibardin (gkibardin) wrote :

https://github.com/openstack/fuel-web/blob/master/nailgun/nailgun/fixtures/openstack.yaml#L94
      mongo:
        name: "Telemetry - MongoDB"
        description: "A feature-complete and recommended database for storage of metering data from OpenStack Telemetry (Ceilometer)."
        weight: 60
        group: "other"
        conflicts:
          - compute
          - ceph-osd
        has_primary: true
        limits:
          min: 1
          overrides:
            - condition: "cluster:mode != 'ha_compact'"
              max: 1
              message: "At most 1 MongoDB node can be added for non-HA deployment"
            - condition: "cluster:mode == 'ha_compact'"
              recommended: 3
              message: "At least 3 MongoDB nodes are recommended for HA deployment."
        restrictions:
          - condition: "settings:additional_components.ceilometer.value == false"
            message: "Ceilometer should be enabled in the environment settings."
          - condition: "settings:additional_components.mongo.value == true"
            message: "You are already using external MongoDB."

It looks like this behaviour is expected

Revision history for this message
Georgy Kibardin (gkibardin) wrote :

It looks like this started to fail when I fixed restriction check so that they started to work in "provisioning+deployment" scenario.

Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Fuel QA Team (fuel-qa)
tags: added: area-qa
removed: area-python
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.