MOS7, MU3, with reduced footprint, virt role install requires LMA nodes

Bug #1602939 reported by ZHI BING WANG
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
High
Fuel Sustaining
StackLight
New
Undecided
Unassigned

Bug Description

with virt role, I want to define LMA in KVM. So, there is no LMA nodes defined during virt deployment. However, the /etc/fuel/plugins/lma_collector-0.8/puppet/manifests/base.pp still want to find the nodes used for LMA at that time.

2016-07-14 03:31:25 +0000 Puppet (err): $es_nodes[0] is :undef, not a hash or array at /etc/fuel/plugins/lma_collector-0.8/puppet/manifests/base.pp:65 on node node-9.domain.tld

This could be an issue on LMA side, which does not consider the virt role.

To reproduce:

The physical hosts used like this:
1. Fuel
2. a Compute
3. 3 virt hosts

Install Fuel 7, MU 3
Enable reduced footprint
https://docs.mirantis.com/openstack/fuel/fuel-7.0/operations.html#using-the-reduced-footprint-feature

Create an environment, and install LMA 0.8.1, for example:

id | name | version | package_version
---|-----------------------------|---------|----------------
1 | influxdb_grafana | 0.8.1 | 3.0.0
2 | backup | 1.1.0 | 2.0.0
3 | contrail | 3.0.0 | 3.0.0
4 | elasticsearch_kibana | 0.8.1 | 3.0.0
5 | ldap | 1.0.0 | 3.0.0
6 | lma_collector | 0.8.1 | 3.0.0
7 | lma_infrastructure_alerting | 0.8.1 | 3.0.0
8 | openldap | 1.2.0 | 3.0.0
9 | standalone-ceph | 1.0.2 | 3.0.0

create 16 KVM for all the control plane roles.

setup KVMs on virt host like this:
fuel2 node create-vms-conf 9 --conf '{"id":1,"mem":40,"cpu":8}' '{"id":2,"mem":20,"cpu":4}' '{"id":3,"mem":20,"cpu":4}' '{"id":4,"mem":8,"cpu":4}' '{"id":6,"mem":8,"cpu":4}'

Then spawn:
fuel2 env spawn-vms 2 --debug

Then, the virt host deployment will fail with the above error.

ZHI BING WANG (zwang)
tags: added: customer-found feature-reduced-footprint
Changed in fuel:
milestone: none → 7.0-updates
importance: Undecided → High
assignee: nobody → MOS Maintenance (mos-maintenance)
assignee: MOS Maintenance (mos-maintenance) → Fuel Sustaining (fuel-sustaining-team)
Revision history for this message
ZHI BING WANG (zwang) wrote :
Revision history for this message
ZHI BING WANG (zwang) wrote :
Changed in fuel:
status: New → Confirmed
Revision history for this message
Simon Pasquier (simon-pasquier) wrote :

Please look at the description of the original bug [1] for the workaround procedure and report if it doesn't work for you.

[1] https://bugs.launchpad.net/lma-toolchain/+bug/1570386

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.