config/sysinv/sysinv/sysinv/sysinv/api/controllers/v1
John Kung d60eb9a172 Infrastructure and Cluster Monitoring
Introduce a new Armada manifest (stx-monitor) that defines the
necessary software components and services to deploy a
monitoring solution for the infrastructure and Kubernetes cluster
as well as the services it is running.

The Elastic 7.x Apache 2.0 Licensed ("oss") images are included.

The following Elastic components are introduced in this commit:
elasticsearch, filebeat, metricbeat, logstash, kibana.
This enables the build of the stx-monitor application manifest
and upon application, the capturing of logs  and metrics
into elasticsearch.  The logs and metrics may then be viewed with a
tool such as Kibana.

The stx-monitor application is built:
   build-pkgs monitor-helm
   build-pkgs stx-monitor-helm
   build-helm-charts.sh --app stx-monitor

The settings for elasticsearch helm chart are set to allow mtce actions,
such as host-lock, of a controller.

The following host labels are required on controllers prior
to the application-apply:
    system host-label-list controller-0
    (and, in duplex, for controller-1)
    | controller-0 | elastic-controller      | enabled     |
    | controller-0 | elastic-data            | enabled     |
    | controller-0 | elastic-client          | enabled     |

Tests:
    build-helm-charts.sh --app stx-monitor
    system application-upload
    system application-apply
    host management: host-lock, host-swact, host-unlock
    Determine the port for kibana:
        kubectl get service -n monitor
        Access kibana via <oamip>:<service port>
    verify logs and container logs are captured, include subdirs
        under /var/log such as /var/log/openvswitch
    system application-remove
    system application-delete

Change-Id: I0e2f94d302b3ec3a22ee5853d529efb6b423bdaa
Depends-On: Ic9a5b909dfbf60e39f98f3f14fe9bbac2de1d42b
Story: 2005733
Task: 31081
Co-Authored-By: Kevin Smith <kevin.smith@windriver.com>
Signed-off-by: John Kung <john.kung@windriver.com>
2019-08-21 17:19:54 -04:00
..
__init__.py Create new host_fs CLI and API 2019-07-09 11:49:59 -04:00
address.py Address allocation option for cluster-host network 2019-08-13 08:45:12 -04:00
address_pool.py Ansible Bootstrap Deployment 2019-04-11 08:40:34 -04:00
base.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
ceph_mon.py Refine command ceph-mon-modify for all nodes support 2019-08-01 00:31:57 +08:00
certificate.py Add checks for dns name in certificate 2019-07-31 16:45:01 -04:00
cluster.py Pylint: Enable Check for Dangerous Default Value 2019-08-19 14:07:17 -04:00
collection.py Sysinv. Cleanup import statements for pep8 2018-06-29 13:43:53 -04:00
community.py Cleanup pylint errors in sysinv 2018-12-28 09:06:15 -06:00
controller_fs.py Collapse glance into platform in ControllerFS API 2019-08-07 11:08:36 -04:00
cpu.py vswitch optionality on worker node 2019-04-15 12:04:02 -04:00
cpu_utils.py Flake8: Enable Python3 Compatibility 2019-07-23 10:31:34 -04:00
datanetwork.py Create DataNetworks modelling in System Configuration 2019-01-22 17:43:45 -05:00
disk.py Change compute node to worker node personality 2018-12-13 14:15:55 -05:00
dns.py Enable python3.5 sysinv unit test 2019-01-30 08:51:07 +08:00
drbdconfig.py Enable python3.5 sysinv unit test 2019-01-30 08:51:07 +08:00
ethernet_port.py Integration with latest SR-IOV CNI images 2019-05-29 13:36:28 -05:00
fernet_repo.py Keystone DB sync - add fernet key repo reset API 2019-04-25 15:36:01 -04:00
health.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
helm_charts.py Provide an API to control enabling/disabling application charts 2019-07-30 18:33:14 -04:00
host.py Support Single huge page size for openstack worker node 2019-08-20 16:04:25 -04:00
host_fs.py Add new kubelet filesystem to host_fs 2019-07-17 16:18:36 -04:00
hwmon_api.py Fix: "import" issue for Python 2/3 compatible code 2018-12-25 08:58:03 +08:00
interface.py Remove datanetworks param from interface commands 2019-06-26 15:30:44 -04:00
interface_datanetwork.py Fix adding data network to sriov interface 2019-07-03 12:25:17 -04:00
interface_network.py Address allocation option for cluster-host network 2019-08-13 08:45:12 -04:00
kube_app.py Infrastructure and Cluster Monitoring 2019-08-21 17:19:54 -04:00
label.py Trigger application reapply on host unlock/delete 2019-01-31 15:29:23 -05:00
license.py Fix tox pep8 errors of type E231 in sysinv 2018-08-09 14:26:34 -04:00
link.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
lldp_agent.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
lldp_neighbour.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
lldp_tlv.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
load.py Fix unicode issue for Python 2/3 compatible code. 2018-12-06 12:59:33 +08:00
lvg.py Remove deprecated instance_backing from sysinv code 2019-06-26 06:55:02 -05:00
memory.py Support Single huge page size for openstack worker node 2019-08-20 16:04:25 -04:00
mtce_api.py Fix: "import" issue for Python 2/3 compatible code 2018-12-25 08:58:03 +08:00
network.py Collapse glance into platform in ControllerFS API 2019-08-07 11:08:36 -04:00
network_oam.py Enable python3.5 sysinv unit test 2019-01-30 08:51:07 +08:00
node.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
ntp.py Enable python3.5 sysinv unit test 2019-01-30 08:51:07 +08:00
partition.py Fix storage related consistency checks 2019-07-12 10:50:49 +00:00
patch_api.py Support deploying application with versioned app tarball 2019-04-29 18:09:11 -04:00
pci_device.py Change compute node to worker node personality 2018-12-13 14:15:55 -05:00
port.py Integration with latest SR-IOV CNI images 2019-05-29 13:36:28 -05:00
profile.py Flake8: Enable Python3 Compatibility 2019-07-23 10:31:34 -04:00
profile_utils.py Integration with latest SR-IOV CNI images 2019-05-29 13:36:28 -05:00
ptp.py Implementation of PTP support in SysInv and Puppet 2018-08-22 11:57:14 -04:00
pv.py Fix storage related consistency checks 2019-07-12 10:50:49 +00:00
query.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
registry_image.py Add Commands For Docker Registry Image Cleanup 2019-05-16 10:28:51 -04:00
remotelogging.py Enable python3.5 sysinv unit test 2019-01-30 08:51:07 +08:00
rest_api.py FIX: module rename issue for Python 2/3 compatible code 2018-12-25 08:58:17 +08:00
route.py Allow adding routes on the cluster host network 2019-07-04 12:01:49 -04:00
sdn_controller.py Change compute node to worker node personality 2018-12-13 14:15:55 -05:00
sensor.py Fix tox pep8 errors of type E722 in sysinv 2018-08-10 14:51:50 -04:00
sensorgroup.py Enable python3.5 sysinv unit test 2019-01-30 08:51:07 +08:00
service.py Remove ironic service parameters 2019-07-09 09:01:34 -05:00
service_parameter.py Pylint: Enable Check for Dangerous Default Value 2019-08-19 14:07:17 -04:00
servicegroup.py Fix unicode issue for Python 2/3 compatible code. 2018-12-06 12:59:33 +08:00
servicenode.py Fix unicode issue for Python 2/3 compatible code. 2018-12-06 12:59:33 +08:00
sm_api.py Fix: "import" issue for Python 2/3 compatible code 2018-12-25 08:58:03 +08:00
state.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
storage.py Add checks to deny adding secondary tiers before ceph is up 2019-07-18 16:18:47 +03:00
storage_backend.py Pylint: Enable Unused Import Checking 2019-07-25 16:59:04 +00:00
storage_ceph.py Create new host_fs CLI and API 2019-07-09 11:49:59 -04:00
storage_ceph_external.py Enable python3.5 sysinv unit test 2019-01-30 08:51:07 +08:00
storage_external.py Removing unused cinder references from bare metal 2019-07-05 08:30:35 -05:00
storage_file.py Enable python3.5 sysinv unit test 2019-01-30 08:51:07 +08:00
storage_lvm.py Remove img-conversions and gnocchi platform logical volumes 2019-04-11 08:41:09 -04:00
storage_tier.py Ceph: update crush map when storage tier is renamed 2019-08-01 14:53:17 +00:00
system.py Remove neutron service parameters 2019-07-22 07:09:19 -05:00
trapdest.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
types.py Remove Useless Else on Loop 2019-08-15 09:27:14 -04:00
upgrade.py Fix: "import" issue for Python 2/3 compatible code 2018-12-25 08:58:03 +08:00
user.py config: Convert wrsroot -> sysadmin 2019-06-17 11:09:47 -07:00
utils.py Remove Useless Else on Loop 2019-08-15 09:27:14 -04:00
vim_api.py Fix: "import" issue for Python 2/3 compatible code 2018-12-25 08:58:03 +08:00