- log_href:
http://qa-proxy.ceph.com/teuthology/yuriw-2021-12-02_22:51:53-rados-wip-yuri-testing-2021-12-02-1251-pacific-distro-default-smithi/6541325/teuthology.log
- archive_path:
/home/teuthworker/archive/yuriw-2021-12-02_22:51:53-rados-wip-yuri-testing-2021-12-02-1251-pacific-distro-default-smithi/6541325
- description:
rados/cephadm/smoke-roleless/{0-distro/ubuntu_18.04 1-start 2-services/nfs-ingress-rgw-user 3-final}
- duration:
0:17:44
- email:
ceph-qa@ceph.io
- failure_reason:
- flavor:
- job_id:
6541325
- kernel:
- last_in_suite:
False
- machine_type:
smithi
- name:
yuriw-2021-12-02_22:51:53-rados-wip-yuri-testing-2021-12-02-1251-pacific-distro-default-smithi
- nuke_on_error:
True
- os_type:
ubuntu
- os_version:
18.04
- overrides:
- admin_socket:
- branch:
wip-yuri-testing-2021-12-02-1251-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\)
- log-whitelist:
-
\(MDS_ALL_DOWN\)
-
\(MDS_UP_LESS_THAN_MAX\)
- sha1:
27eaf9d7b3a6cafae863828b73235f6d2c061c1f
- ceph-deploy:
- conf:
- client:
- log file:
/var/log/ceph/ceph-$name.$pid.log
- mon:
- install:
- ceph:
- flavor:
default
- sha1:
27eaf9d7b3a6cafae863828b73235f6d2c061c1f
- workunit:
- branch:
wip-yuri-testing-2021-12-02-1251-pacific
- sha1:
27eaf9d7b3a6cafae863828b73235f6d2c061c1f
- owner:
scheduled_yuriw@teuthology
- pid:
- roles:
-
['host.a', 'osd.0', 'osd.1', 'osd.2', 'osd.3', 'client.0']
-
['host.b', 'osd.4', 'osd.5', 'osd.6', 'osd.7', 'client.1']
- sentry_event:
- status:
pass
- success:
True
- branch:
wip-yuri-testing-2021-12-02-1251-pacific
- seed:
- sha1:
27eaf9d7b3a6cafae863828b73235f6d2c061c1f
- subset:
- suite:
- suite_branch:
wip-yuri-testing-2021-12-02-1251-pacific
- suite_path:
- suite_relpath:
- suite_repo:
- suite_sha1:
27eaf9d7b3a6cafae863828b73235f6d2c061c1f
- targets:
- smithi097.front.sepia.ceph.com:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDMcURx4lIFo5TIill7kwSTVSeqAO+Yw0pKPDMYfOEyKd2yVkzuEFCeE2y67yl4cUduE2Bc43J9IKg/hoCDsuyd+vwIGhXCVWiI2OGMQuI7SHUAa15CP9yrvyHc2mrge7IpCTz87Yyf/6v97kmu+dfG8oquli5QerrkHg/N+NVPCdfkYAI1UBYGCFs85MNpTeuy/XKDZbyISE9MSTfVqjj/I8NnAapU7nEevtJbOYwsseVVDqua89bfNPJp1U/HxVCQC2C4UsPOoCQ4d3vhlDVBIb++Zjj7Pi/IYey5AgxpEKuF2qKWlURn0bNI1rxiilUOMSTmUVoCz3ItmFA7ohGh
- smithi153.front.sepia.ceph.com:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+BRyc2fOkOQGe6GC8Bmbv9GA+gsKhHgZlLnQIYFWg/gZTuFxoD38hnXNCggwYoyX/91bnqDlSoxqFfIwRtwv95wvw+Cmgq0mbMqRnl5YXFZaOZechHN4kIyorMt6lPEC9cnZ+Jl9NEqGmTrlL8y7xTkGsXVYNc0w8PRAyX/JLCXgXLJ6wzbubrYm8XFPTYdT4xYhMKk0GMoAQVD7UT9D7NRcvQes2XWhheIKqPh4PQ3Gt00z0v20ViNIBkP3Oppjh8y808+KCzKQS2IZY2KL7lIVhizJz0uaCxqZ/oMsVHvaC7awWJIDLpDyMZZRt0fL0v6C/l/1da4cYs70fxAOR
- 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:
-
- 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\)
- log-whitelist:
-
\(MDS_ALL_DOWN\)
-
\(MDS_UP_LESS_THAN_MAX\)
- sha1:
27eaf9d7b3a6cafae863828b73235f6d2c061c1f
- 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:
-
ceph orch status
-
ceph orch ps
-
ceph orch ls
-
ceph orch host ls
-
ceph orch device ls
teuthology_branch:
master
verbose:
True
pcp_grafana_url:
priority:
user:
queue:
posted:
2021-12-02 22:56:49
started:
2021-12-03 00:14:14
updated:
2021-12-03 00:43:25
status_class:
success
runtime:
0:29:11
wait_time:
0:11:27