New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gather Kuryr specific data #142
Gather Kuryr specific data #142
Conversation
f320a6c
to
12a64d6
Compare
12a64d6
to
6449c9f
Compare
/test e2e-aws |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small issue with condition.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Err, that UI. What I've mean is not "approve".
6449c9f
to
1ee4b1f
Compare
/lgtm |
1ee4b1f
to
ab0b6d5
Compare
72c38be
to
3cf56d1
Compare
/test e2e-aws |
LGTM, just a note about couple of extra information that we may want to grab, router info and quota info |
Luis comments makes sense, besides that LGTM. |
3cf56d1
to
637712b
Compare
/lgtm |
/hold Working on removing the need for openstackcli package |
e17d77d
to
82a3c0d
Compare
/hold cancel |
82a3c0d
to
0dcde0e
Compare
/lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MaysaMacedo Looks good. I like the functions. PTAL PR 145. I have made some changes in the base capture. Maybe we could combine these PRs?
@pecameron Thanks for taking a look! Sure, we can combine. How would you prefer to combine them? |
@MaysaMacedo I don't have a preference, do you? We could merge one and edit the other. I tested by bringing up ovn and sdn clusters and running the script (PR145) so they gather expected data. I have been looking into how they get used. This is my first time working in this repo, so I am still trying to understand how it all works. |
@pecameron No preferences either. |
@pecameron @MaysaMacedo slight prference for merging this one and then Phil updating his to match. I do like having separate functions for each network plugin type. |
@sferich888 This PR is ready for another look, as it was checked by folks from other SDN teams. |
/retest |
This commit ensures that all kuryr related data is gathered.
0dcde0e
to
a31a537
Compare
/lgtm |
/assign @sferich888 |
|
||
function gather_kuryr_data { | ||
CONTROLLER_POD=$(oc -n openshift-kuryr get pods --no-headers -o custom-columns=":metadata.name" -l app=kuryr-controller) | ||
oc -n openshift-kuryr exec $CONTROLLER_POD -- bash -c \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If your having networking issues is this risky?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review!
Good point. But, to avoid having to rely on the openstackcli
being available on the host this was the only alternative. Also, we tried to follow the same pattern other SDNs are doing (executing commands from the network pods).
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dulek, gryf, luis5tb, MaysaMacedo, sferich888 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest Please review the full test history for this PR and help us cut down flakes. |
This commit ensures that all Kuryr related data
is gathered.