Elijah DeLee
18eaa9bb92
Merge pull request #11166 from ansible/receptorctl-status-sosreport
...
get receptorctl status for sosreport
2021-10-04 16:13:37 -04:00
Elijah DeLee
d3289dc688
fix typo in comment in tools/sosreport/controller.py
2021-10-04 09:45:11 -04:00
Elijah DeLee
6d850e031a
Merge pull request #11175 from ansible/receptor-sos
...
don't collect keys with sosreport
2021-09-30 10:09:16 -04:00
Elijah DeLee
54b3e2f285
don't collect keys with sosreport
2021-09-30 08:58:16 -04:00
Elijah DeLee
3a40d5e243
get receptorctl status for sosreport
...
I presume the logs also get collected from journalctl but I'm not sure
2021-09-29 11:24:49 -04:00
Elijah DeLee
19ccfcff9a
Merge pull request #10988 from ansible/more-receptor-sos
...
List dir where receptor socket should be
2021-09-08 10:43:48 -04:00
Elijah DeLee
169c0f6642
Merge pull request #11022 from kdelee/try-localhost
...
Set python to ansible_playbook_python on hosts
2021-09-03 15:48:33 -04:00
Elijah DeLee
054569da70
emulate workaround present in demo inventory
...
see https://github.com/ansible/awx/commit/9d000a76dee370690562b34e17c6b157035e53cf
This change works around the fact that the presumed correct python3 for rhel8 (which the EE is based on)
is not the python3 that ansible-playbook is using, and is not where the python dependencies are installed.
2021-09-03 15:21:34 -04:00
Elijah DeLee
4a6ab622df
Update inventory.py
2021-09-03 15:20:10 -04:00
Elijah DeLee
ac40449d6e
List dir where receptor socket should be
...
This is for adding more info to the sos report
2021-08-31 12:52:34 -04:00
Elijah DeLee
f6d14564a2
Capture /etc/receptor in sos report
...
this will help with debugging so we can know what receptor's configuration was
at the time the sos report was collected
2021-08-30 17:04:35 -04:00
Elijah DeLee
86600531e2
Fix name of default awx ee
...
we are now tracking the latest tag
2021-08-11 22:06:56 -04:00
Elijah DeLee
9b2d2a1856
Use awx-ee:latest to get latest receptor and runner
...
We are updating the requirements to get the latest receptor and runner in the task container,
we should also have the latest in the EE
2021-08-11 11:36:42 -04:00
Elijah DeLee
b431067aa8
also update control plane ee
2021-07-15 11:30:21 -04:00
Elijah DeLee
718b3bab4a
Update defaults.py
2021-07-15 11:27:55 -04:00
Elijah DeLee
b8239c1b84
bump receptor to 1.0.0 GA
2021-07-13 11:47:02 -04:00
Elijah DeLee
11e416995a
accept old env vars
...
this broke our build of the cli docs
2021-06-22 10:49:39 -04:00
Elijah DeLee
ea5bd45d03
log perf of requests at debug level
2021-06-22 10:31:15 -04:00
Elijah DeLee
f0bcfc6024
add EE information to assert_status
...
This should help debugging to know what the EE was when an unexpected
status was found.
2021-06-16 15:37:24 -04:00
Elijah DeLee
d946103961
log perf of requests at debug level
2021-06-16 15:37:24 -04:00
Elijah DeLee
f2dac36dd1
Remove the cred too if not passed
...
NOW....should be idempotent and remove the the cred if it is not passed
2021-06-08 15:52:53 -04:00
Elijah DeLee
e2b0a4f7a7
Make changed result accurate for credentials
2021-06-07 17:16:14 -04:00
Elijah DeLee
326184da0f
fixup changed behavior for EEso its accurate
2021-06-07 16:50:53 -04:00
Elijah DeLee
2ce276455a
Break out control plane EE as its own thing
2021-06-07 15:39:20 -04:00
Elijah DeLee
e740cfcb52
revert change to serializer and use get_or_create
...
still need to fix up the handling of the verify-ssl bool, since
it is not being respected
2021-06-02 16:16:36 -04:00
Elijah DeLee
7818b2008f
Allow modifications of managed_by_tower creds
...
Sysadmins may need to modify managed_by_tower credentials, the
only known case of which is a default container registry credential
for use by the default execution environments, which are also managed_by_tower
and allow modifications.
2021-06-02 13:05:02 -04:00
Elijah DeLee
043aff6a8c
Create default EE in seperate awx-managment cmd
...
Create EE at a seperate time and also attach a registry credential if
auth information provided
This command can be run multiple times on the same instance and should be
idempotent.
2021-06-02 12:23:01 -04:00
Elijah DeLee
5d838b8980
Force fully qualified image names
...
If we try and pull an unqualified image name, jobs hang on a podman
prompt.
2021-05-27 10:59:25 -04:00
Elijah DeLee
75de8a30f6
clarify format of date for host_metric
2021-05-26 17:31:11 -04:00
Elijah DeLee
b74990c480
allow singular execution_environment for cli
...
this makes "execution_environments" or "execution_environment" work
which is helpful
2021-05-25 11:28:47 -04:00
Elijah DeLee
058189dfcf
tweak message about image pull option
2021-05-24 17:20:53 -04:00
Elijah DeLee
3562be8317
refactor payload construction for awxkit
...
This fixes container_group creation to allow passing
"is_container_group" and "credential" to the "create" method
on instance groups, and refactors other page objects
to use a common utility function to eliminate copy-pasted code
2021-03-17 10:40:00 -04:00
Elijah DeLee
88a91cfeba
pin websocket-client lib
...
They've made breaking changes that is going to take
some deeper investigation to update awxkit to use
This is only used for development purposes, and should
have not impact on the "awx" cli entry point
2021-03-04 11:09:32 -05:00
Elijah DeLee
05dded397d
make sure we use built in credential type
...
this way we can pass kind="registry" to akit creat method and
we get the correct built in type
2021-03-03 18:52:55 -05:00
Elijah DeLee
0e6c14e707
create performance logger to log api response time
...
this middleware allready existed, and we were trying to log this
data but it was not working.
Hope is these logs will be able to be shipped via external logging
and we could use kibana to track response time of different endpoints
2021-02-18 18:39:12 -05:00
Elijah DeLee
a157a3598f
silent_delete also needs to handle Confict
2021-01-08 10:55:55 -05:00
Elijah DeLee
908291dd3c
When deleting a job sometimes we get this error
...
For the silent delete method, we should let this one slide
because it is an expected error that may occur if there are still
events processing.
2021-01-07 15:37:57 -05:00
Elijah DeLee
7c7d15a8be
Need log level info to show up with new settings
2020-09-21 11:22:43 -04:00
Elijah DeLee
d8e4ac773b
Print one tarball per line
...
Printing out a python like list is hard to process for tests
Better to print out one tarball per line
2020-09-14 17:00:31 -04:00
Elijah DeLee
a83a9c9723
remove dep on python-memcached
2020-06-10 11:18:48 -04:00
Elijah DeLee
6777b82d8e
remove reference to memcached in k8s inv
...
we don't have memcached container anymore
2020-06-10 11:08:49 -04:00
Elijah DeLee
efa5a95cf1
fix flake8
2020-05-28 13:00:37 -04:00
Elijah DeLee
90ca2fd59b
be a bit more respectful of event request
...
minimum events made now is 10,000, used to be 10,000*number of cores.
could dig deeper but this is better for debugging changes to script
2020-05-27 19:34:12 -04:00
Elijah DeLee
5d5edf6535
create timestamp outside loop
...
this may be expensive
2020-05-27 18:43:26 -04:00
Elijah DeLee
a599afa81c
Also apply time delta to job
...
This way they all happened on the same day
2020-05-27 18:29:11 -04:00
Elijah DeLee
1835787772
add option to set hour delta on firehose
2020-05-27 17:56:07 -04:00
Elijah DeLee
00060c9572
make time delta for firehose events configurable
...
This was hardcoded to back in january, which make it of limited use testing
automation analytics behavior when there are many events, we need it to be sometime in the past two months.
Will take another pass to do the hours delta
2020-05-27 17:47:38 -04:00
Elijah DeLee
3ded30411f
Merge pull request #4341 from kdelee/backport_host_summary_optimization_3.7.1
...
Backport host summary optimization 3.7.1
2020-05-21 13:37:16 -04:00
Elijah DeLee
8e07269738
make awxkit pass through identifier for wfjtn
...
We need this to be able to create workflow job template nodes with identifier
2020-04-06 11:26:56 -04:00
Elijah DeLee
2a77b8b4b9
Fix overzealous cleanup in awxkit
...
Introduced this problem with 1e796076f5
2020-01-22 10:23:40 -05:00
Elijah DeLee
1e796076f5
Scan jobs have been removed, clean up old refs
...
see https://github.com/ansible/awx/issues/5603
2020-01-21 12:11:53 -05:00
Elijah DeLee
d82180605c
Raise a more informative error when timeout
...
Right now we are often left with very little info if we do get a timeout on something that HasStatus.
Take advantage of the assert_status function that is also available on items using the HasStatus mixin to show
more info.
2020-01-08 12:47:17 -05:00
Elijah DeLee
d4c8167b1b
add arguments to awxkit for webhooks on jt or wfjt
2019-09-30 13:32:22 -04:00
Elijah DeLee
eba69142f1
add subscriptions endpoint to awxkit
2019-09-13 12:14:33 -04:00
Elijah DeLee and
bdf4defdbe
Add approval node logic to awxkit
...
Co-authored-by: <Apurva bakshiapurva93@gmail.com >
2019-08-27 15:36:29 -04:00
Elijah DeLee
8efa0fc397
Remove this dependency that we don't need
2019-08-15 11:26:02 -04:00
Elijah DeLee
e5ad2e44fb
swap file order so diff of schema makes more sense
...
This way we will get +'s next to new content :)
2018-12-20 15:05:01 -05:00
Elijah DeLee
ca84d312ce
Rename schema job to be more clear about its purpose
...
The make target fails when it detects schema changes, not when schema is invalid.
Also update CONTRIBUTING.md to include information about zuul jobs.
2018-11-20 07:42:10 -06:00
Elijah DeLee
4ae1fdef05
Ignore differences in whitespace for schema validation
2018-11-16 09:47:33 -05:00
Elijah DeLee
949cf53b89
Use r in front of regex string to make flake8 happy
...
This means we should not escape the \ character in the same way
2018-11-15 17:29:27 -05:00
Elijah DeLee
a68e22b114
Add tox target to detect schema changes
...
Fetches reference schema from public bucket
Still need define method for updating reference schema on merge.
2018-11-15 16:25:13 -05:00
Elijah DeLee
d70cd113e1
Reduce duplicated logic for genschema target
2018-11-15 15:29:35 -05:00