Skip to content

Improve getting CRC pods logs#3287

Merged
danpawlik merged 1 commit intoopenstack-k8s-operators:mainfrom
danpawlik:fix-artifacts-copy-logs
Sep 16, 2025
Merged

Improve getting CRC pods logs#3287
danpawlik merged 1 commit intoopenstack-k8s-operators:mainfrom
danpawlik:fix-artifacts-copy-logs

Conversation

@danpawlik
Copy link
Copy Markdown
Contributor

There is an issue, that the ci_script on executing command, that is copying files from CRC host to local dir it fails with error as a root user:

debug1: No more authentication methods to try.
root@api.crc.testing: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
Connection closed

Let's copy the files on the server to another place, set permissions to the user and then pull them to the local server.

@danpawlik danpawlik requested a review from a team as a code owner September 12, 2025 16:48
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Sep 12, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@danpawlik
Copy link
Copy Markdown
Contributor Author

There is an issue, that the ci_script on executing command, that
is copying files from CRC host to local dir it fails with
error as a root user:

    debug1: No more authentication methods to try.
    root@api.crc.testing: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
    Connection closed

Let's copy the files on the server to another place, set permissions
to the user and then pull them to the local server.

Signed-off-by: Daniel Pawlik <dpawlik@redhat.com>
@danpawlik danpawlik merged commit 866d65e into openstack-k8s-operators:main Sep 16, 2025
4 checks passed
danpawlik added a commit to danpawlik/ci-framework that referenced this pull request Sep 17, 2025
We want to drop nested Ansible execution where it is possible.
It is wrong, to execute sometimes 4 or 5 time nested Ansible. It
makes debugging difficult, raise more complication and sometimes
variable overwrite is just problematic.

Depends-On: openstack-k8s-operators#3235
Depends-On: openstack-k8s-operators#3287

More: OSPRH-20006

Signed-off-by: Daniel Pawlik <dpawlik@redhat.com>
@danpawlik danpawlik deleted the fix-artifacts-copy-logs branch September 24, 2025 07:58
evallesp pushed a commit that referenced this pull request Sep 25, 2025
We want to drop nested Ansible execution where it is possible.
It is wrong, to execute sometimes 4 or 5 time nested Ansible. It
makes debugging difficult, raise more complication and sometimes
variable overwrite is just problematic.

Depends-On: #3235
Depends-On: #3287

More: OSPRH-20006

Signed-off-by: Daniel Pawlik <dpawlik@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants