Commit Graph

148 Commits

Author SHA1 Message Date
Anand Shanmugam 9d6224fc90 Adding configurable ansible interface instead of using localhost
Change-Id: I318ed1c8206e3be7ea68780c240f14d44767f698
2021-02-26 15:39:55 +05:30
jjmccann-cisco 6a4c5c4f07 cloudpulse support for podman
Change-Id: I3023dbd5a0070bff67562a717638202f2a3fd07a
2021-01-29 10:05:57 -05:00
Zuul ca615d557d Merge "Cloudpulse ceph_check stuck in "Running" state" 2020-12-11 13:12:17 +00:00
Zuul 82b812ff91 Merge "cloudpulse docker check fails" 2020-12-11 13:12:14 +00:00
Zuul ffe76e9929 Merge "Removing print statement in ansible module" 2020-12-11 13:07:35 +00:00
Zuul 477ab28bb6 Merge "Support Cloudpulse with WSGI" 2020-12-11 13:07:32 +00:00
Anand Shanmugam 765f684d72 Removing print statement in ansible module
Change-Id: Ia4d1cfad316bb16d1f546bd472ef65304794b07f
(cherry picked from commit 9eb90a8678)
2020-12-11 12:37:43 +00:00
Marga Millet b858420211 Cloudpulse ceph_check stuck in "Running" state
Change-Id: Iee2b5946fdb110fb8a0e2bd5c9870abde66b7247
(cherry picked from commit 944ab884c3)
2020-12-11 12:37:12 +00:00
Sawan Choudhary d4a1da3776 Support Cloudpulse with WSGI
Change-Id: Ibbe56daa10fa81559bd7b39104f58649be91d3c7
(cherry picked from commit fe39d727d8)
2020-12-11 12:36:34 +00:00
Sawan Choudhary 173da89b52 Python3 fixes
Change-Id: I64669dad15ea2c83fec5cf317e7f5c030068b409
(cherry picked from commit b9214c2507)
2020-12-11 12:36:23 +00:00
Sawan Choudhary 8d86d2bf9c cloudpulse docker check fails
Change-Id: Iecc57d64cfa3b7301d16b03c17cde35bdf29a068
(cherry picked from commit 34c472d1ab)
2020-12-11 12:36:09 +00:00
Sawan Choudhary 9ec79f7de8 Port from Python2 to Python3
node_check fails to evaluate down hypervisors
Switch to stestr

Change-Id: I99bdc541f28781665b751b05de5605a54f766497
(cherry picked from commit 2c8a5af1b5)
2020-12-11 17:44:41 +05:30
Sawan Choudhary e63302c863 node_check fails to evaluate down hypervisors
Change-Id: Id5c4406cb953c999fcc9cd96e8083a1c418b239b
2020-06-08 16:37:36 +00:00
rajat29 78fa31d41f Remove old oslo.messaging transport aliases
Those are remnants from the oslo-incubator times. Also, oslo.messaging
deprecated [1] transport aliases since 5.2.0+ that is the minimal
version supported for stable/newton. The patch that bumped the minimal
version for Designate landed 3 months+ ago, so we can proceed ripping
those aliases from the code base.

Change-Id: If4cc66b1e3738e447ebcfec75419bca1970a33c1
2020-05-14 06:33:49 +00:00
lijunjie 1d3d4e0df8 Fix the misspelling of "argument"
Change-Id: Id28daacf43b4e3d0deac8ce048bbf9b03f6ebc42
2020-05-14 05:36:58 +00:00
Sawan Choudhary db26c6ebae Fixes for Python 2.7 support
Change-Id: Ibb10ce91d2150815c7366e657e98a113b0bf766f
2019-12-16 19:33:03 +05:30
Sawan Choudhary 5763a5950f Cloudpulse incorrectly reads FQDN host names
Change-Id: Ib25d3fd5329d2cadcd49e1c871b552ac58b6678b
2019-12-13 07:07:33 +00:00
Anand Shanmugam 9d629e2976 Fixing pep8 errors
Change-Id: Id792009e36f4d7fc6489373b1b432855301a09ad
2019-12-13 06:57:27 +00:00
Sawan Choudhary d13bb14f28 Increase max_db_entries to make DB hold data for a consistent time
Change-Id: I13e41e4dbc93be05562db951cf7f534d7620493f
2019-10-23 16:29:31 +05:30
Marga Millet 224ed6d861 Make ceph_check to return OK when Ceph errors out in metrics pg above average
Change-Id: I8813d0dd8f79dbb21ac2dd396d1a3f15f0c846f5
2019-09-20 14:36:45 +00:00
Sawan Choudhary 1f6c57d49f cinder_endpoint and ceph_check in EDGE PODs resulting errors
Change-Id: I307d641a1a266a5b134030c3cb0dbcfd553b35ea
2019-09-11 03:21:26 -07:00
Sawan Choudhary 5385e26a69 cloudpulse fails to check last test run
Change-Id: I1afb28045a04ad4fdc32ebf4e15a4e24fa23cdc6
2019-07-01 06:50:15 -07:00
Sawan Choudhary 3ca8cfb48a docker_check to identify SSH failure on nodes
Change-Id: I8284fce683303a1b86350ebf41ac9c0b8480846e
2019-06-19 08:20:09 -07:00
Sawan Choudhary 25744be5ea Exclude ironic computes from node_check test
Change-Id: I0bc232ed96f54ec8f192d3ff8b38c435a7ad9721
2019-04-17 05:21:30 -07:00
Sawan Choudhary ad505fe112 Handle ceph status in luminous
Change-Id: I824f3f5428e3ba5fc8fb009a0a75e46156975693
2019-01-22 06:50:49 +00:00
Sawan Choudhary f08840161b Fix for ceph_test on multi backend ceph
Skip cinder_endpoint test for edge podtype

Change-Id: Ifd8556fb9530e178b9781518b6b5562994ccc8ca
2018-12-13 16:29:03 +00:00
Sawan Choudhary 40e03ab095 Fix docker check failed o/p for multiple exited containers on multiple hosts
Change-Id: If256fe93b608278aeb64f8846580486b8b799989
2018-05-21 23:05:09 -07:00
Sawan Choudhary 6ac1ad253d Add container name in addtion to node IP in docker_check failed o/p
Change-Id: I88a0c3ada509dda32bc2e996b86d2547ff012bfe
2018-03-12 03:49:21 -07:00
Sawan Choudhary b06080b6bf Fetch only 'up' state nodes for nova hypervisor list
Change-Id: I2ea545960365b666d4bd4dbb3f96613400ee804b
2018-01-11 14:18:23 -08:00
deepakmourya 21a4fb6f92 Set access_policy for messaging's dispatcher
oslo.messaging allow dispatcher to restrict endpoint methods since
5.11.0 in I42239e6c8a8be158ddf5c3b1773463b7dc93e881, set with
LegacyRPCAccessPolicy explicitly to ensure it's compatible and
fix FutureWarning like:

"The access_policy argument is changing its default value to <class
'oslo_messaging.rpc.dispatcher.DefaultRPCAccessPolicy'> in version '?',
please update the code to explicitly set None as the value:
access_policy defaults to LegacyRPCAccessPolicy which exposes private
methods. Explicitly set access_policy to DefaultRPCAccessPolicy or
ExplicitRPCAccessPolicy.

Change-Id: I31e572d760600f890402a53f0d34eb1b87d722d7
2017-06-21 04:19:05 +00:00
deepakmourya d748264866 Use get_rpc_transport instead of get_transport
With the added get_rpc_transport() function in oslo.messaging [1]
and the recent version bump of oslo.messaging to 5.24.2, we can
safely replace get_transport() with get_rpc_transport() which is much
cleaner.

[1] https://review.openstack.org/#/c/454194/

Change-Id: I460bdcae7855cae189d9b61896b5ef78989a197e
2017-06-07 12:48:32 +05:30
Sharmin Choksey 43334cea47 Enables multiple roles for a given node
Adds a feature to support more than one role type
for a given node for node operations on controllers,
compute and storage

Change-Id: I2074ea6435c8f59a89b9439b8005896dcb1338cf
2017-05-18 10:25:51 -07:00
Vinod Pandarinathan 7128464f9e Fix CI testrepo error
Change-Id: Ia48389096025dbc5c780f52d79282ebd1d5b414a
2017-05-18 15:23:43 +00:00
Sharmin Choksey bd4048dc0d Fixes malformed URL with hypervisor list calls
The node_check test fails on hypervisor list query when
using keystone v3.

Change-Id: Ieb2e255400bfac47b5ef50797712eb73323784a6
2017-04-04 00:06:26 +00:00
Jenkins 784ecbf6c6 Merge "Fix CI errors for db-test cases" 2017-04-04 00:05:20 +00:00
Vinod Pandarinathan aca68a478f Fix CI errors for db-test cases
Change-Id: I3ef4bcdb2e8c87210467ec083044a10d9312719a
2017-04-03 16:48:06 -07:00
Sharmin Choksey 5c892f075a Fixes Keystone v3 401 authentication failures
Change-Id: I8edaf653b39502959e8850e82cfa193608889e38
Partially-Closes-Bug: #1669238
(cherry picked from commit 3ae07695e4)
2017-03-03 18:42:35 +00:00
Sharmin Choksey 3ae07695e4 Fixes Keystone v3 401 authentication failures
Change-Id: I8edaf653b39502959e8850e82cfa193608889e38
Partially-Closes-Bug: #1669238
2017-03-03 18:18:16 +00:00
Jenkins 2266b77f87 Merge "Moving to oslo_log from python logging module" 2017-02-21 12:16:01 +00:00
Vinod Pandarinathan 3400cae450 Remove ansible module import
Change-Id: I318311d6697f099ee4cb013e3d5a2ed60cc23ca8
2017-02-20 21:49:00 +00:00
Vinod Pandarinathan 35b5cbd0dd Remove ansible module import
Change-Id: I318311d6697f099ee4cb013e3d5a2ed60cc23ca8
2017-02-20 10:17:23 -08:00
Anand Shanmugam 08772ac0da Fixing traceback when doing node_check
Change-Id: If6f880062bc552eb43f36d015f84af16610d4dfb
2017-02-06 09:24:46 -08:00
Surya Prakash Singh cbf9057044 Moving to oslo_log from python logging module
At present cloudpulse using python logging module.
This patch will add new logging oslo_log in cloudpulse.

Change-Id: I1cde8fd1af15290f7d89df3ff5e71fc9092d59e0
Reference:- http://docs.openstack.org/developer/oslo.log
2017-01-23 12:57:32 +05:30
Vinod 26e39000c2 Clean up timer thread remove unnecessary is_running conditional check
Change-Id: I7bcba9d93ea7d9c1b2ed72ba142d021728fb7192
2016-12-23 12:42:01 +00:00
Luong Anh Tuan a6aee6794b Replace oslo_utils.timeutils.isotime
Function 'oslo_utils.timeutils.isotime()' is deprecated in version '1.6'
and will be removed in a future version. We use
datetime.datetime.isoformat() instead. For more informations:
http://docs.openstack.org/developer/oslo.utils/api/timeutils.html#oslo_utils.timeutils.isotime

Change-Id: I78a15c3217adfa6e64a88c68560fc209158895bb
Closes-Bug: #1514331
2016-11-07 08:58:51 +07:00
Anand Shanmugam e96e57cbdd Fixing Keystone to use auth_url for version discovery
Change-Id: I9935a5070d9c1a11eede88538015c94dcdb49186
2016-10-18 04:41:03 -07:00
Anand Shanmugam 6237884f36 Keystone v2/v3 commit
Change-Id: Ib82f3159b9a35a970879a984a6cdb8ede693248b
2016-10-18 03:24:00 -07:00
Velmurugan Kumar c8b9955e1a keystone v3 support for all endpoint tests
Change-Id: I4c97fe15c8b87770d97c4954c7d11f4d4307e7c7
2016-10-13 02:33:14 -07:00
Anand Shanmugam 99e4a923bc Fix glance api to return appropriate exception
Change-Id: Ib21d0dec6b6c3a3d0a4009f53a84160176911dbc
2016-09-07 12:00:22 -07:00
Jenkins f19dc487d4 Merge "Ceph_check operator test to support dedicated and centralized with error code" 2016-09-01 01:11:39 +00:00