908 Commits

Author SHA1 Message Date
Joe
d5f2fc6a9d Switching from empty string to empty dict
We had multiple fields that would reference either an empty strig or
empty dict, which would cause indexing errors on Elastic. This commit is
to create a standard of empty dict for args.

Closes bug 1678107

Change-Id: Id5b2ad924bac4f1b4aee74e9d6f407f9d5e2ca10
2017-03-31 08:40:15 -04:00
Jenkins
be5327ba78 Merge "Update tox.ini with Ansible linting and Browbeat config linting" 2017-03-29 19:54:17 +00:00
Jenkins
bc9dd40b5b Merge "Change subnet_cidr_start value" 2017-03-29 18:42:27 +00:00
jkilpatr
c60b55ec83 Update tox.ini with Ansible linting and Browbeat config linting
This commit enanbles Ansible linting and does some
minor refactoring to make existing Ansible roles
compatible with the new rules.

Several Ansible linting rules have been excluded to keep the number
of changes from being too onerous.

Also a new script in ci-scripts is used to check very config file
included in the Browbeat repo for validity using the template
Browbeat uses when it runs.

Here's a list of the new linting rules

* Ansible tasks must have names
* When you use shell you must use become not sudo
* Using become_user without using become is not allowed
* If a repo is pulled it must be a pinned version of commit, not latest
* Always_run is deprecated don't use it
* Variables without {{}} and not in when statements are deprecated don't use them
* No Trailing whitepaces
* YAML checking, catches big syntax errors but not less obvious ones

Change-Id: Ic531c91c408996d4e7d8899afe8b21d364998680
2017-03-29 07:35:34 -04:00
Jenkins
a78dd877be Merge "Nova CI scenarios should use auto_assign_nic" 2017-03-28 19:43:15 +00:00
Sai Sindhur Malleni
818f59e1a7 Change subnet_cidr_start value
Making the mask small enough to let user create a large number
of subnets_per_network. Also this value by default causes IpAddress
generation failures in neutron-server logs.

Change-Id: I7ee9ecf928abd5608b22e568433dc78d61b1fdfd
2017-03-28 14:54:24 -04:00
jkilpatr
57b0af579b Nova CI scenarios should use auto_assign_nic
https://review.openstack.org/#/c/450493/2 is better than grepping
out a net id.

Change-Id: I438c424aaf62fbf79eef77b7bcd53017285da0a9
2017-03-28 13:41:46 -04:00
Jenkins
1319127057 Merge "Ceph collectd plugin" 2017-03-28 17:39:41 +00:00
Joe Talerico
71e683d5f9 Remove the need for netid for nova scenarios
Closes bug 1676676

Change-Id: Ieab4e1acf6164706c6f01dc67732dc3c05d20bde
2017-03-28 17:09:05 +00:00
akrzos
ff1a88bd89 Ceph collectd plugin
+ Monitor the Ceph Mon socket on Controller-0
+ Monitor 1st Ceph OSD socket on each CephStorage Node
+ Graphs for Ceph Mon are included on the General Dashboard
+ Ceph Dashboard covers Ceph Processes + Ceph Mon Metrics
+ Small adjustments and improvements to dashboards
  + Stepped lines for queues
  + Try to use 200px for information denisty

* OSD metrics are collected but not graphed yet *

Change-Id: I97d65b98b5204e924eb5167adfba53c2c754214c
2017-03-28 12:04:43 -04:00
Joe Talerico
07db5c0418 Missing become: true for many tasks
Closes bug 1676544

Change-Id: Id91b9dcf01b3ffcf72917ed47c1b43d3eaaf0f92
2017-03-27 14:35:32 -04:00
Sai Sindhur Malleni
1270dbd293 Add karaf monitoring for OpenDayLight
Adding karaf montioring under "Everything Else" panel.
Going to move to a separate panel later.

Change-Id: I0768d62f33d71554792cd3fda574f875107c0772
2017-03-24 12:16:09 -04:00
Jenkins
37e3f2f176 Merge "Update metadata template for rhos-11" 2017-03-24 12:34:18 +00:00
Jenkins
d406d8d687 Merge "Adding Performance CI Dashboards" 2017-03-23 20:55:01 +00:00
Joe Talerico
c0902c8d21 Adding Performance CI Dashboards
Saving off our Perforamnce dashboards for others to consume.

Change-Id: Ia577688734a867eaba18c41115fc8ca9401e8008
2017-03-23 15:18:50 -04:00
jkilpatr
a89f8c5249 Update metadata template for rhos-11
So this reshuffles the metadata to make an master-upstream and
master-downstream so that we don't get them confused with the respective
latest versions or each other. Also updated for the next couple of releases
in the name of not having to make more pointless commits.

Change-Id: I7cbd78b5c5441aadbda0b17c8db2b3312ad93df7
2017-03-23 18:54:08 +00:00
akrzos
1fe5742872 Small fix to the recent Keystone Token Counting Plugin.
Change-Id: I285c48bf9ccdab820e65481877fefabf2b3ba8ab
2017-03-23 14:36:48 -04:00
Jenkins
cb0e974059 Merge "Grab correct net UUID for CI Nova tests" 2017-03-22 13:35:59 +00:00
jkilpatr
7d4413f364 Grab correct net UUID for CI Nova tests
putting net names in the net_id field doesn't really work.
Since it's a runtime error it doesn't actually fail Rally
like a normal config error, hence it went unoticed.

Easy enough to grab the correct id while templating and insert
it.

Change-Id: I94720e90e0d9cfe00c4b1e495a1fd24739cd7632
2017-03-22 09:26:54 -04:00
Jenkins
f5dea98282 Merge "Collect undercloud.conf for metadata" 2017-03-21 18:43:16 +00:00
Jenkins
3f3414cb63 Merge "Provide a count of Keystone Tokens" 2017-03-21 14:31:45 +00:00
akrzos
0a8a6d60bc Small fix for telemetry workloads.
Fix the default for cleanup_delay.

Change-Id: Ibcece2628a7806222be8da48896378fdade5ebbf
2017-03-21 09:17:47 -04:00
akrzos
21d48c8236 Provide a count of Keystone Tokens
Uses a connection to the database to count the number of keystone
tokens. Can count tokens on Undercloud and Overcloud.  For Overcloud
you must provide a repo that provides "libdbi-dbd-mysql".

+ Collectd from EPEL to address when/if your OpenStack includes
  collectd installed already

Change-Id: I4da4c3b02cff661572de3852a33d26875cfcdc0d
2017-03-20 14:51:02 -04:00
jkilpatr
5550267111 Collect undercloud.conf for metadata
The undercloud.conf has some tunables that are important to know
so I figured I would add it to the metadata collection

Change-Id: I1d31b5a30c265807e9f37a78caa24e569687ef5b
2017-03-17 07:34:56 -04:00
Jenkins
e29cdbf21c Merge "Few small changes for rabbitmq grafana graphs and configuration" 2017-03-16 13:17:48 +00:00
Jenkins
63ddcbacb6 Merge "Gnocchi Benchmarks via Rally Plugins" 2017-03-16 12:24:58 +00:00
akrzos
c67f168e4b Few small changes for rabbitmq grafana graphs and configuration
Change-Id: Ib87524818b2714eb1a5567039d6448fdb5d3a9cb
2017-03-15 17:27:41 -04:00
Alex Krzos
645504a7cf Gnocchi Benchmarks via Rally Plugins
Benchmarks
+ archive-policy
  + list
  + create
  + create & delete
+ archive-policy-rule
  + list
  + create
  + create & delete
+ capabilities
  + list
+ metric
  + aggregation
  + get measures
  + list
  + create
  + create & delete
+ resource
  + list
  + create
  + create & delete
+ resource-type
  + list
  + create
  + create & delete
+ status
  + get

Browbeat Configs:
+ gnocchi-minimal.yaml - Check if your OSP can handle Gnocchi Benchmarks
+ Scale+Performance for Telemetry+Gnocchi
  + telemetry-nova-neutron-gnocchi-1k-100-per-30m.yaml
  + telemetry-nova-neutron-gnocchi-1k-500-per-30m.yaml
  + telemetry-nova-neutron-gnocchi-5k-500-per-30m.yaml
  + telemetry-nova-neutron-gnocchi-10k-1000-per-30m.yaml

Change-Id: I0b658cd4a749dc37c9b714d1caf37cab20a20b2b
2017-03-15 15:42:47 -04:00
Joe Talerico
b04a1b2fb4 Metdata was missing section
If there is no section, section will default to DEFAULT.

Change-Id: I4d42d0ceac54e923cdb7d62b801336e1f07d258c
2017-03-14 07:35:17 -04:00
Jenkins
e89796ad1c Merge "Adding Rabbitmq collectd monitoring plugin" 2017-03-13 14:54:27 +00:00
akrzos
23735aac68 Adding Rabbitmq collectd monitoring plugin
+ Monitors both Undercloud and Overcloud rabbitmq queues
+ Monitors Object Counts (Connections, Channels, Consumers, Queues, Exchanges)
+ Monitors Cluster Queue/Message counts and rates
+ General Dashboards display Rabbitmq and Gnocchi in Order
  + Renamed httpd_groups to apache_groups for consistency
+ Included Cloud Rabbitmq Monitoring Dashboard
+ Improved collectd Gnocchi monitoring for Newton

Change-Id: Ie49ca3dcb237c8cae348fcf59129fc35a5a41a9f
2017-03-13 12:07:58 +00:00
jkilpatr
72bc80c058 Change CI Ocata image url to match internal mirror
The internal pipeline image mirror has a slightly different
folder structure that doesn't include the /current-tripleo/ folder
anyways this was causing Ocata pipeline builds to fail.

Change-Id: I688218dda2c32222df3752bceb771427c2ba9425
2017-03-10 07:38:30 -05:00
jkilpatr
dfc1d8c625 Add oooq CI support for Ocata pipeline
As the latest version is moved from Master to Ocata some folder structure
changes are required to make sure we get the right image. Eventually master
will point to 12 instead of 11.

Change-Id: Ie83cf1add5418c77054b67610c4f35318420b93e
2017-03-01 07:28:36 -05:00
jkilpatr
d1a617f5dc Update introspection pinning for oooq CI to use JQ based script
See here for more details
https://review.openstack.org/#/c/437946/

The reason the old pin isn't working is that --bootstrap in quickstart
doesn't work like it should and force the reinstallation of the virtualenv
so we carry over the prep internal script that now uses extras itself.

Change-Id: I5479738565017941df71313f10816f2c9a4debea
2017-02-24 18:56:13 -05:00
akrzos
0261ba337b Add Apache Monitoring
+ Added on Undercloud and Overcloud Controllers
+ Dashboards display Apache metrics

Change-Id: Idb6ba467f671565671761eb9262ca69c49fdfcfd
2017-02-23 09:08:33 -05:00
Jenkins
1c57855ae6 Merge "Basic test based return codes for Browbeat" 2017-02-17 18:59:43 +00:00
Joe Talerico
7a21aed19b Fix the tripleo host generation script
Currently the host generation script depends on having a cloud. This
patch-set removes that dependency.

Fixes bug 1665017

Change-Id: Ifa980538254219210588b4e75e9855dc83528abe
2017-02-15 15:45:47 -05:00
jkilpatr
c0715bff39 Basic test based return codes for Browbeat
This adds a very simple check for failed tests before Browbeat's exit
if failed tests are found Browbeat will exit with a return code of one.
This will provide Browbeat CI failure when tests fail without interuppting
ongoing tests if a single one fails.

Change-Id: I5382f684fe03d85692a275dc5c03a136004f34d9
2017-02-15 10:08:05 -05:00
jkilpatr
d707d4bc6d Fix source for CI vars file
The CI vars file is on the jenkins slave, not on the virthost where we
where trying to copy the data from. The code that was checked in has never
worked, what happened is that with a previous iteration of the commit we
created /tmp/install_vars.yml and since the jenkins machine never gets rebooted
it just stayed there. So in the future when we tried to fetch the file from the
wrong machine Ansible failed the fetch silently and we loaded the old file.

Change-Id: I8c20bdc8dc138a383e7a101cd465b48d44fa99a7
2017-02-14 15:12:02 -05:00
Jenkins
66955273cd Merge "Don't clone TripleO Quickstart Extras in Microbrow.sh" 2017-02-14 11:59:12 +00:00
Sai Sindhur Malleni
7c73e388fc Fix bugs in postprocess work
We shouldnt' be returning true after processing rally results as there still
be shaker, perfkit after that. Also the stub is for elasticsearch integration isnt
needed since we don't yet parse cli arguments for es.

Change-Id: I7fd81feeb7b094a7db8f67cf7036929ac1e68283
2017-02-13 15:56:26 -05:00
jkilpatr
d1974d16cb Don't clone TripleO Quickstart Extras in Microbrow.sh
Moving this up into the jjb as prep-internal-rhel.sh now depends on it.

Change-Id: I88d18542237643dcf5467700052556b0969dc11e
2017-02-13 15:43:40 -05:00
Joe Talerico
423da4ff52 Postprocess after a workload has executed
This work is to take an results directory and find all the
rally/Shaker/Perfkit JSONs and create the Elasticsearch JSONs that can be
pushed to Elasticsearch.

This is also a minor refactor of the Rally lib to refactor how we push
results into elasticsearch. This creates a generic function so we can
have file and/or taskid based metrics created

+ (sai) Fix way how we crawl for files
+ (sai) Exclude already postprocessed files
+ (sai) Fix filenaming of dumped postprocessed files
+ {sai) flake8

Co-Authored-By: Sai Sindhur Malleni <smalleni@redhat.com>
Change-Id: I5ca8877f26e889856c9773b51ba38f24562a80af
2017-02-13 14:02:08 +00:00
Jenkins
ae06629d82 Merge "oooq CI needs dns_server var in collectd install" 2017-02-08 14:01:15 +00:00
jkilpatr
b171ccbe07 oooq CI needs dns_server var in collectd install
In 641858783778ee14b627a55df48f81ad40c94555 we removed the extra vars from
several roles. Well it's actually important in just one, and only sometimes.
Anyways if and only if the dns server gets set incorrectly on nodes (happens
when the lab is having trouble) collectd adds a DNS server, 8.8.8.8 by default
which means we go from "it might work eventually" to "guaranteed to never work"
once CollectD runs without the dns_server var changed from default.

This went unnoticed because days can pass between issues like this. Anyways
alls the builds are failing now on it, so need to readd it at least here.

Change-Id: I5a32562e19415d29764c9b22aec95fa3dc95ad85
2017-02-08 08:48:06 -05:00
akrzos
14283768b4 Telemetry Workload 2.0
+ Adjust boot and persist instances from 200 to 1000 instances
+ Boot and persist instances attached to a network (1000 instances)
+ Neutron context plugin to persist network over entire browbeat run
+ Added docs for the plugins

Change-Id: I58802218f1e2201063cf9ec3f82efa71b28ac1a0
2017-02-06 20:46:21 -05:00
Jenkins
79c0ef99bc Merge "Add support for Neutron Metadata Service" 2017-02-03 19:02:17 +00:00
Sai Sindhur Malleni
f79e8293b6 Add support for Neutron Metadata Service
This adds logic to the set_scenario() and send_to_elastic() methods to be
generic enough to support miscalleneous shaker scenarios like metadata
agent performance testing.

+ Few minor changes

Change-Id: Ib9499d23b44160fc0796827f53e9926fca5e7e88
2017-02-03 15:29:11 +00:00
Jenkins
6418587837 Merge "Update location of CI variables" 2017-02-03 13:13:36 +00:00
Sai Sindhur Malleni
90bb494647 Update location of CI variables
This commit sets the variables for network creation to the
appropriate values. Since the network details are internal, this CI
variables file is being moved to internal git.

Change-Id: Ib55d2896991c74562f01e3cc56117af7110dc403
2017-02-02 14:31:33 -05:00