Commit Graph

11 Commits

Author SHA1 Message Date
Andreas Jaeger 754d7b048c Retire repository
Fuel (from openstack namespace) and fuel-ccp (in x namespace)
repositories are unused and ready to retire.

This change removes all content from the repository and adds the usual
README file to point out that the repository is retired following the
process from
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

See also
http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011647.html

Depends-On: https://review.opendev.org/699362
Change-Id: I6a9128d5c87d7d4a2ca77db96ba6c8d9d2d91b17
2019-12-18 09:50:44 +01:00
M V P Nitesh 46063059ea Removes unnecessary utf-8 encoding
Change-Id: Ia70c1719ce3853391dfbdc0ce4a3469902724fbb
2017-02-10 06:35:12 +00:00
Nam Nguyen Hoai b2f25e97a4 TrivialFix: Using assertEqual instead of assertEquals
Following OpenStack Style Guidelines[1]: http://docs.openstack.org/developer/hacking/#unit-tests-and-assertraises
[H234] assertEquals() logs a DeprecationWarning in Python 3.x,
use assertEqual() instead. The same goes for assertNotEquals().

Change-Id: Iaa4b2fd04d2aa661bb196c4b9f2494a281a9294a
2016-09-28 11:54:37 +07:00
Alexander Kislitsky ebe8d4eb46 Memory consumption reduced in fuel-stats analytics
We had huge memory consumption on fetching OSWLs due to fetching
clusters data in each OSWL row.

Joined clusters data removed from each OSWL row. Explicit
fetching of version info from clusters is introduced to CSV
exporter.

We are using SQLAlchemy yield_per for fetching large query results.
Yeld_per page parameter reduced from 1000 to 100.

We still have issues with memory consumption in all
reports generation. Thus we are temporary removing link
on 'All reports' from web UI.

Example uWSGI configuration changed to start http service.

Change-Id: I66c97058c0f15f8a15b626ab1fa222106754a455
Partial-Bug: #1564427
2016-04-06 12:41:36 +03:00
Alexander Kislitsky 6d0bf8bf46 Mocking of werkzeug request in test causes errors
Mocking of werkzeug request args raises error on exiting from
'with' block and was removed from analytics tests.

Issues in tests caused by unbound to session SQLAlchemy objects
inside test request were fixed.

Extracting of dict params from HTTP GET request fixed.

Change-Id: I7215247909a8fcd2e4c74b915670ff373538b186
Closes-Bug: #1514337
2015-11-11 13:08:30 +03:00
Alexander Kislitsky 5c08d62ec4 Streaming of all reports archive implemented
For providing all reports at once we generate, archive them
and transmit as single file.
Generation and archiving of all reports can take long time
and cause http server connection timeout error.
For preventing such errors used lazy reports generation
and on-the-fly data streming without saving they into files.

- tar archive used instead zip
- streaming of tar archive implemented

Change-Id: I8a71c462cf6ad61ef5b5798770d140866d36edb1
Closes-Bug: #1487356
2015-08-24 13:36:02 +00:00
Alexander Kislitsky 59fc0ac5d6 CSV report generation with dates from future fixed
Fragle code fixed in time series generation.

Change-Id: If39d3e36ef22712fb378f6526c87b8341005674f
Closes-Bug: #1474407
2015-07-18 18:17:42 +03:00
Alexander Kislitsky 22ba99c307 Filtered stats excluded from CSV reports
Stats info with is_filtered == True excluded from InstallationInfo
and OpenStack workloads reports.
OSWLs info for filtered InstallationInfo excluded from CSV reports
Value is_filtered is set according to FILTERING_RULES in collector
config file.
Web UI javascript libraries files added to .gitignore.

Change-Id: I9a4e2e9e953e3424139e8fa31e0b0f10d61a394a
Partial-Bug: #1443347
2015-06-30 17:19:36 +03:00
Alexander Kislitsky 57a7060f5a Network verification status added into CSV
Status of 'verify_networks' action added into clusters CSV report.
DB model ActionLog added.
Column name in CSV report is 'verify_networks_status'.
Installation info filtering by dates fixed. We have datetime in the
InstallationStructure creation_date and modification_date. This causes
wrong filtration by dates results.

Change-Id: Ie758efc6b15d2ab737b16ac724eceb8efaff1aa6
Implements: blueprint export-stats-to-csv
Closes-Bug: #1415520
2015-03-12 12:36:24 +03:00
Alexander Kislitsky 2422223218 Single report for all CSV reports
Clusters report and resources types reports archiving into one
file added.

Change-Id: I900fb2100c2fd42a3247317c5b60711b05ead738
Implements: blueprint openstack-workload-statistics
2015-03-03 18:34:56 +03:00
Alexander Kislitsky e298624c7a Filtering by dates handled in CSV exporter
Separate test for csv_exporter added.
Exceptions classes added.
Errors handling added into app.
DB yield_per param moved to config.

Change-Id: I8b962a62c6f414b6030cca7a39e8cb2b0aafab37
Implements: blueprint openstack-workload-statistics
2015-02-25 16:31:06 +03:00