WIP Stacklight install 43/52043/10
authorDelia Popescu <delia.popescu@enea.com>
Mon, 12 Feb 2018 13:04:09 +0000 (15:04 +0200)
committerDelia Popescu <delia.popescu@enea.com>
Tue, 20 Feb 2018 16:36:29 +0000 (18:36 +0200)
commitce5d8302c8e5e7bd84850e8e7fa14a436198e39a
tree35c84f403c326bb6ce9c926610538045a13277b5
parent6744afa3475561a5a4b30d03b6ae655796bfba32
WIP Stacklight install

Some state changes will be made

[alav]
- add new deploy arg `-M` which enables Stacklight installation;
- adjust `do_templates` to support env vars during 1st stage parsing;
- states: stacklight: use `notify`, minor style edits;
- move stacklight reclass dir to common-ha;
- add stacklight classes for ovs-ha scenario, based on
  common-ha/stacklight, move scenario specifics there;
- add stacklight state (conditional) for NOVCP scenarios;

NOTE: For NOVCP, a lot more changes are needed, including aligning
hostnames / IPs of StackLight node definitions with the existing
kvm (ctl) nodes.

Most likely, the current state of this change does NOT work and serves
only as a PoC for the desired integration.

TOOD:
- move all passwords outside hardcoded reclass;
- add stacklight classes for the rest of HA scenarios (odl, dpdk);
- novcp: add conditions for stacklight nodes class inheritance;
- novcp: override hostnames to kvm0*;

JIRA: FUEL-308

Change-Id: I4bac4f460e8ebf834fcffbcc697d56b1b9e82a06
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
19 files changed:
ci/deploy.sh
mcp/config/scenario/os-nosdn-nofeature-ha.yaml.j2
mcp/config/states/stacklight [new file with mode: 0755]
mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/config.yml.j2 [moved from mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/config.yml with 92% similarity]
mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/init.yml.j2
mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/kvm.yml.j2 [moved from mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/kvm.yml with 64% similarity]
mcp/reclass/classes/cluster/mcp-pike-common-ha/infra/kvm_pdf.yml.j2 [deleted file]
mcp/reclass/classes/cluster/mcp-pike-common-ha/stacklight/client.yml [new file with mode: 0644]
mcp/reclass/classes/cluster/mcp-pike-common-ha/stacklight/init.yml [new file with mode: 0644]
mcp/reclass/classes/cluster/mcp-pike-common-ha/stacklight/log.yml [new file with mode: 0644]
mcp/reclass/classes/cluster/mcp-pike-common-ha/stacklight/log_curator.yml [new file with mode: 0644]
mcp/reclass/classes/cluster/mcp-pike-common-ha/stacklight/monitor.yml [new file with mode: 0644]
mcp/reclass/classes/cluster/mcp-pike-common-ha/stacklight/proxy.yml [new file with mode: 0644]
mcp/reclass/classes/cluster/mcp-pike-common-ha/stacklight/telemetry.yml [new file with mode: 0644]
mcp/reclass/classes/cluster/mcp-pike-ovs-ha/stacklight/log.yml [new file with mode: 0644]
mcp/reclass/classes/cluster/mcp-pike-ovs-ha/stacklight/monitor.yml [new file with mode: 0644]
mcp/reclass/classes/cluster/mcp-pike-ovs-ha/stacklight/proxy.yml [new file with mode: 0644]
mcp/reclass/classes/cluster/mcp-pike-ovs-ha/stacklight/telemetry.yml [new file with mode: 0644]
mcp/scripts/lib.sh