- log_href:
http://qa-proxy.ceph.com/teuthology/yuriw-2024-01-16_15:55:17-rados-wip-yuri5-testing-2024-01-11-1300-pacific-distro-default-smithi/7518267/teuthology.log
- archive_path:
/home/teuthworker/archive/yuriw-2024-01-16_15:55:17-rados-wip-yuri5-testing-2024-01-11-1300-pacific-distro-default-smithi/7518267
- description:
rados/cephadm/smoke-roleless/{0-distro/ubuntu_18.04 0-nvme-loop 1-start 2-services/nfs-ingress-rgw-user 3-final}
- duration:
0:18:08
- email:
- failure_reason:
- flavor:
- job_id:
7518267
- kernel:
- last_in_suite:
False
- machine_type:
smithi
- name:
yuriw-2024-01-16_15:55:17-rados-wip-yuri5-testing-2024-01-11-1300-pacific-distro-default-smithi
- nuke_on_error:
True
- os_type:
ubuntu
- os_version:
18.04
- overrides:
- admin_socket:
- branch:
wip-yuri5-testing-2024-01-11-1300-pacific
- ceph:
- conf:
- mgr:
- debug mgr:
20
- debug ms:
1
- mon:
- debug mon:
20
- debug ms:
1
- debug paxos:
20
- osd:
- debug ms:
1
- debug osd:
20
- osd shutdown pgref assert:
True
- flavor:
default
- log-ignorelist:
-
\(MDS_ALL_DOWN\)
-
\(MDS_UP_LESS_THAN_MAX\)
- sha1:
a70aebef70df6ec2d957347ccbfc484e0573dd5f
- ceph-deploy:
- conf:
- client:
- log file:
/var/log/ceph/ceph-$name.$pid.log
- mon:
- install:
- ceph:
- flavor:
default
- sha1:
a70aebef70df6ec2d957347ccbfc484e0573dd5f
- workunit:
- branch:
wip-yuri5-testing-2024-01-11-1300-pacific
- sha1:
a70aebef70df6ec2d957347ccbfc484e0573dd5f
- owner:
scheduled_yuriw@teuthology
- pid:
- roles:
-
['host.a', 'client.0']
-
['host.b', 'client.1']
- sentry_event:
- status:
pass
- success:
True
- branch:
wip-yuri5-testing-2024-01-11-1300-pacific
- seed:
- sha1:
a70aebef70df6ec2d957347ccbfc484e0573dd5f
- subset:
- suite:
- suite_branch:
wip-yuri5-testing-2024-01-11-1300-pacific
- suite_path:
- suite_relpath:
- suite_repo:
- suite_sha1:
a70aebef70df6ec2d957347ccbfc484e0573dd5f
- targets:
- smithi057.front.sepia.ceph.com:
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHSAlWjESMc0Gra5f/6dvvbjuYJc2qVK13Ztw1gt4S0hdg9pLl/eAcLsaHQz3OAGEzcbKS0DF4bknjuwe5HHhPE=
- smithi129.front.sepia.ceph.com:
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHSAlWjESMc0Gra5f/6dvvbjuYJc2qVK13Ztw1gt4S0hdg9pLl/eAcLsaHQz3OAGEzcbKS0DF4bknjuwe5HHhPE=
- tasks:
-
- internal.buildpackages_prep:
-
- internal.save_config:
-
- internal.check_lock:
-
- internal.add_remotes:
-
- console_log:
-
- internal.connect:
-
- internal.push_inventory:
-
- internal.serialize_remote_roles:
-
- internal.check_conflict:
-
- internal.check_ceph_data:
-
- internal.vm_setup:
-
- kernel:
-
- internal.base:
-
- internal.archive_upload:
-
- internal.archive:
-
- internal.coredump:
-
- internal.sudo:
-
- internal.syslog:
-
- internal.timer:
-
- pcp:
-
- selinux:
-
- ansible.cephlab:
-
- clock:
-
- nvme_loop:
-
- cephadm:
- roleless:
True
- conf:
- mgr:
- debug mgr:
20
- debug ms:
1
- mon:
- debug mon:
20
- debug ms:
1
- debug paxos:
20
- osd:
- debug ms:
1
- debug osd:
20
- osd shutdown pgref assert:
True
- flavor:
default
- log-ignorelist:
-
\(MDS_ALL_DOWN\)
-
\(MDS_UP_LESS_THAN_MAX\)
- sha1:
a70aebef70df6ec2d957347ccbfc484e0573dd5f
- cluster:
ceph
- cephadm_mode:
root
-
- cephadm.shell:
- host.a:
-
ceph orch status
-
ceph orch ps
-
ceph orch ls
-
ceph orch host ls
-
ceph orch device ls
-
- vip:
-
- cephadm.shell:
- host.a:
-
ceph orch device ls --refresh
-
- vip.exec:
- all-hosts:
-
systemctl stop nfs-server
-
- cephadm.shell:
- host.a:
-
ceph orch apply rgw foorgw --port 8800
-
ceph nfs cluster create foo --ingress --virtual-ip {{VIP0}}/{{VIPPREFIXLEN}}
-
- vip.exec:
- host.a:
-
dnf install -y python3-boto3 || apt install -y python3-boto3
-
/home/ubuntu/cephtest/cephadm shell radosgw-admin user create --uid foouser --display-name foo > /tmp/user.json
-
- python:
- host.a:
import boto3
import json
with open('/tmp/user.json', 'rt') as f:
info = json.loads(f.read())
s3 = boto3.resource(
's3',
aws_access_key_id=info['keys'][0]['access_key'],
aws_secret_access_key=info['keys'][0]['secret_key'],
endpoint_url='http://localhost:8800',
)
bucket = s3.Bucket('foobucket')
bucket.create()
bucket.put_object(Key='myobject', Body='thebody')
-
- cephadm.shell:
- host.a:
-
ceph nfs export create rgw --cluster-id foo --pseudo-path /foouser --user-id foouser
-
- cephadm.wait_for_service:
-
- cephadm.wait_for_service:
-
- vip.exec:
- host.a:
-
mkdir /mnt/foo
-
sleep 5
-
mount -t nfs {{VIP0}}:/foouser /mnt/foo
-
test -d /mnt/foo/foobucket
-
find /mnt/foo -ls
-
grep thebody /mnt/foo/foobucket/myobject
-
echo test > /mnt/foo/foobucket/newobject
-
sync
-
- python:
- host.a:
import boto3
import json
from io import BytesIO
with open('/tmp/user.json', 'rt') as f:
info = json.loads(f.read())
s3 = boto3.resource(
's3',
aws_access_key_id=info['keys'][0]['access_key'],
aws_secret_access_key=info['keys'][0]['secret_key'],
endpoint_url='http://localhost:8800',
)
bucket = s3.Bucket('foobucket')
data = BytesIO()
bucket.download_fileobj(Fileobj=data, Key='newobject')
print(data.getvalue())
assert data.getvalue().decode() == 'test\n'
-
- vip.exec:
-
- cephadm.shell:
- host.a:
-
ceph nfs export rm foo /foouser
-
ceph nfs cluster rm foo
-
- cephadm.shell:
- host.a:
-
stat -c '%u %g' /var/log/ceph | grep '167 167'
-
ceph orch status
-
ceph orch ps
-
ceph orch ls
-
ceph orch host ls
-
ceph orch device ls
-
ceph orch ls | grep '^osd.all-available-devices '
teuthology_branch:
main
verbose:
True
pcp_grafana_url:
priority:
user:
queue:
posted:
2024-01-16 15:57:33
started:
2024-01-16 15:58:37
updated:
2024-01-16 16:28:27
status_class:
success
runtime:
0:29:50
wait_time:
0:11:42