Project

General

Profile

Actions

Bug #63748

open

qa/workunits/post-file.sh: Couldn't create directory

Added by Laura Flores 5 months ago. Updated 4 months ago.

Status:
New
Priority:
Normal
Assignee:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

/a/yuriw-2023-01-13_20:42:41-rados-pacific_16.2.11_RC6.6-distro-default-smithi/7142054/

2023-01-13T21:13:40.699 INFO:tasks.workunit.client.0.smithi158.stdout:/bin/ceph-post-file: upload tag 3bb87918-ddaf-4537-8bc7-478f954bcdc9
2023-01-13T21:13:40.704 INFO:tasks.workunit.client.0.smithi158.stdout:/bin/ceph-post-file: user: root@smithi158
2023-01-13T21:13:40.705 INFO:tasks.workunit.client.0.smithi158.stdout:/bin/ceph-post-file: description: ceph-test-workunit
2023-01-13T21:13:40.706 INFO:tasks.workunit.client.0.smithi158.stdout:/bin/ceph-post-file: will upload directory /etc/udev/rules.d
2023-01-13T21:13:40.760 INFO:tasks.workunit.client.0.smithi158.stderr:@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
2023-01-13T21:13:40.760 INFO:tasks.workunit.client.0.smithi158.stderr:@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
2023-01-13T21:13:40.760 INFO:tasks.workunit.client.0.smithi158.stderr:@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
2023-01-13T21:13:40.761 INFO:tasks.workunit.client.0.smithi158.stderr:IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
2023-01-13T21:13:40.761 INFO:tasks.workunit.client.0.smithi158.stderr:Someone could be eavesdropping on you right now (man-in-the-middle attack)!
2023-01-13T21:13:40.761 INFO:tasks.workunit.client.0.smithi158.stderr:It is also possible that a host key has just been changed.
2023-01-13T21:13:40.761 INFO:tasks.workunit.client.0.smithi158.stderr:The fingerprint for the RSA key sent by the remote host is
2023-01-13T21:13:40.761 INFO:tasks.workunit.client.0.smithi158.stderr:SHA256:7T6dSMcUUa5refV147WEZR99UgW8Y1qYEXZr8ppvog4.
2023-01-13T21:13:40.762 INFO:tasks.workunit.client.0.smithi158.stderr:Please contact your system administrator.
2023-01-13T21:13:40.762 INFO:tasks.workunit.client.0.smithi158.stderr:Add correct host key in /root/.ssh/known_hosts to get rid of this message.
2023-01-13T21:13:40.762 INFO:tasks.workunit.client.0.smithi158.stderr:Offending RSA key in /usr/share/ceph/known_hosts_drop.ceph.com:1
2023-01-13T21:13:40.762 INFO:tasks.workunit.client.0.smithi158.stderr:Password authentication is disabled to avoid man-in-the-middle attacks.
2023-01-13T21:13:40.763 INFO:tasks.workunit.client.0.smithi158.stderr:Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.
2023-01-13T21:13:40.941 INFO:tasks.workunit.client.0.smithi158.stderr:postfile@drop.ceph.com: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
2023-01-13T21:13:40.941 INFO:tasks.workunit.client.0.smithi158.stderr:
Connection closed.
2023-01-13T21:13:40.942 INFO:tasks.workunit.client.0.smithi158.stderr:Connection closed
2023-01-13T21:13:40.943 DEBUG:teuthology.orchestra.run:got remote process result: 255
2023-01-13T21:13:40.944 INFO:tasks.workunit:Stopping ['post-file.sh'] on client.0...
2023-01-13T21:13:40.945 DEBUG:teuthology.orchestra.run.smithi158:> sudo rm -rf -- /home/ubuntu/cephtest/workunits.list.client.0 /home/ubuntu/cephtest/clone.client.0
2023-01-13T21:13:41.208 ERROR:teuthology.run_tasks:Saw exception from tasks.


Related issues 2 (0 open2 closed)

Has duplicate Infrastructure - Bug #63750: qa/workunits/post-file.sh: Couldn't create directory: No such file or directoryDuplicate

Actions
Copied from Ceph - Bug #58458: qa/workunits/post-file.sh: postfile@drop.ceph.com: Permission deniedDuplicate

Actions
Actions #1

Updated by Laura Flores 5 months ago

  • Copied from Bug #58458: qa/workunits/post-file.sh: postfile@drop.ceph.com: Permission denied added
Actions #2

Updated by Laura Flores 5 months ago

  • Status changed from Duplicate to New
Actions #3

Updated by Laura Flores 5 months ago

  • Has duplicate Bug #63750: qa/workunits/post-file.sh: Couldn't create directory: No such file or directory added
Actions #4

Updated by Laura Flores 5 months ago

  • Project changed from Ceph to Infrastructure
Actions #5

Updated by Laura Flores 5 months ago

/a/yuriw-2023-12-07_16:42:12-rados-wip-yuri2-testing-2023-12-06-1239-distro-default-smithi/7482278

Actions #6

Updated by Nitzan Mordechai 5 months ago

/a/yuriw-2023-12-11_23:27:14-rados-wip-yuri8-testing-2023-12-11-1101-distro-default-smithi/7487836
/a/yuriw-2023-12-11_23:27:14-rados-wip-yuri8-testing-2023-12-11-1101-distro-default-smithi/7487680

Actions #7

Updated by Laura Flores 5 months ago

/a/yuriw-2023-12-14_22:13:20-rados-wip-yuri11-testing-2023-12-14-1108-quincy-distro-default-smithi/7491804

Actions #8

Updated by Laura Flores 5 months ago

  • Assignee set to Dan Mick
Actions #9

Updated by Matan Breizman 4 months ago

/a/yuriw-2023-12-20_16:15:46-rados-wip-yuri3-testing-2023-12-19-1211-distro-default-smithi/7498308

Actions #10

Updated by Nitzan Mordechai 4 months ago

/a/yuriw-2023-12-27_21:01:10-rados-wip-yuri7-testing-2023-12-27-1008-pacific-distro-default-smithi/7502346
/a/yuriw-2023-12-27_21:01:10-rados-wip-yuri7-testing-2023-12-27-1008-pacific-distro-default-smithi/7502403

Actions #11

Updated by Aishwarya Mathuria 4 months ago

/a/yuriw-2024-01-03_16:19:00-rados-wip-yuri6-testing-2024-01-02-0832-distro-default-smithi/7505501/
/a/yuriw-2024-01-03_16:19:00-rados-wip-yuri6-testing-2024-01-02-0832-distro-default-smithi/7505657/

Actions #12

Updated by Laura Flores 4 months ago

/a/lflores-2024-01-10_23:43:40-rados-wip-yuri11-testing-2024-01-10-1124-pacific-distro-default-smithi/7513219

Actions #13

Updated by Dan Mick 4 months ago

OK, so there are two problems:

1) the host key for the original drop.ceph.com has changed (now that drop.ceph.com is handled by a different host). That explains the permissions errors when they happen.

2) the inability to create a directory was due to a server setup error (symlink leading outside a chroot, a nono).

I've changed the configuration to work past 2), but for 1) the easiest workaround is to have the ssh client turn off StrictHostKeyChecking, which most of the test farm do (but Ceph users in the field may well not). The only other solution to 1) I'm aware of would be to set up a new host for ceph-post-file and edit the information in usr/share/ceph in ceph-common.

Actions

Also available in: Atom PDF