-
Notifications
You must be signed in to change notification settings - Fork 462
e2e: add ssh mcd test #541
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
e2e: add ssh mcd test #541
Conversation
|
hmm passed before added the done check but seeing lots of timeouts in ci that seem unrelated to mco. /retest |
|
/retest |
|
This is probably OK, but we could go the extra mile and actually verify that the SSH key ends up on the node's filesystem. Basically the API equivalent of |
|
@cgwalters Yep, I was thinking doing a real check would make sense too! First pass was me poking around with the e2e for the first time. Ty! |
daf0563 to
145baa5
Compare
|
Ok so I think I was checking the Done annotation incorrectly before. Trying something new. Update: Ok cool, that worked! |
|
|
@ashcrow we are hitting aws issues all over openshift rn. |
dd77dc6 to
a52163b
Compare
a52163b to
e96aeff
Compare
e96aeff to
c54ca87
Compare
|
For tomorrow: need to figure out a way to do this: (oc debug isn't working on my local cluster)
|
ef9ad17 to
7c647e2
Compare
|
basically i have a worker node name. so i need to get the daemon pod name that goes along with it, then rsh into that daemon and grab the authorized_keys file and check that the test key is inside. the way to get a list of all the mcd is here:
should i should be able to somehow filter that list to get that daemon pod whose maybe some sort of filter for |
30c1796 to
7923d26
Compare
|
/approve pending LGTM until this works and passes and others review this (great work with this!) |
|
thanks for your suggestions @runcom - they are really helpful!!! ill squash once i get this working. |
looking through the logs the timeout might be due to InstallerControllerFailed (kube-apiserver), so going to try retest /test e2e-aws-op |
|
pretty sure |
|
cc: @runcom Because TestMCDeployed takes 40 minutes, it's blocking my test from ever passing bc only 10 minutes are left for all of the other tests in our suite to run. I believe that my test might be working correctly as I see no error output on this pass. I will change TestMCDeployed from testing 10 to 2 MCs my branch test file to allow my PR more time to run. If it works, we'll have to decide what to do bc I've seen TestMCDeployed take ~40 min for 10 MCs consistently. cc:@runcom |
d38ea54 to
bb85053
Compare
|
/retest |
9011194 to
01f5991
Compare
|
Awesome!! Got my e2e ssh test working! Will clean up commits tomorrow and pick up #563 to see if it fixes the time out issue. |
|
Awesome!!!!!! |
Test verifies that MCD updates MCP, daemons and writes new ssh keys to node filesystems.
01f5991 to
872bbc6
Compare
|
@runcom timeout issues fixed, I think your PR did the trick! |
runcom
left a comment
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.
/lgtm
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kikisdeliveryservice, runcom The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Test verifies that MCD updates MCP, daemons and
writes new ssh keys to node filesystems.
Closes #546