You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
drenv.commands.Error: Command failed:
command: ('addons/ocm-cluster/start', 'dr1', 'hub')
exitcode: 1
error:
Traceback (most recent call last):
File "/home/nsoffer/ramen/test/addons/ocm-cluster/start", line 173, in <module>
deploy(cluster_name, hub_name)
File "/home/nsoffer/ramen/test/addons/ocm-cluster/start", line 60, in deploy
wait_for_managed_cluster(cluster, hub)
File "/home/nsoffer/ramen/test/addons/ocm-cluster/start", line 135, in wait_for_managed_cluster
kubectl.wait(
File "/home/nsoffer/ramen/test/drenv/kubectl.py", line 141, in wait
_watch("wait", *args, context=context, log=log)
File "/home/nsoffer/ramen/test/drenv/kubectl.py", line 157, in _watch
for line in commands.watch(*cmd, input=input):
File "/home/nsoffer/ramen/test/drenv/commands.py", line 155, in watch
raise Error(args, error, exitcode=p.returncode)
drenv.commands.Error: Command failed:
command: ('kubectl', 'wait', '--context', 'hub', 'managedcluster/dr1', '--for=jsonpath={.spec.hubAcceptsClient}=true', '--timeout=60s')
exitcode: 1
error:
error: timed out waiting for the condition on managedclusters/dr1
But this is not helpful when trying to analyze 300 runs. We need a machine readable format that can be consumed by a program to compute:
number of errors
which addon produce most of the errors?
which command in the addon produces most of the errors?
When drenv fails we have good logging for human:
But this is not helpful when trying to analyze 300 runs. We need a machine readable format that can be consumed by a program to compute:
For this example we could use something like:
The timing info can be computed by a program running drenv, but computing this in drenv makes it easier to collect this info in all environment.
The default format can be yaml, using the same internal representation:
The text was updated successfully, but these errors were encountered: