- log_href:
http://qa-proxy.ceph.com/teuthology/adking-2024-04-16_12:53:12-orch:cephadm-wip-adk2-testing-2024-04-15-1136-squid-distro-default-smithi/7658223/teuthology.log
- archive_path:
/home/teuthworker/archive/adking-2024-04-16_12:53:12-orch:cephadm-wip-adk2-testing-2024-04-15-1136-squid-distro-default-smithi/7658223
- description:
orch:cephadm/smoke-roleless/{0-distro/ubuntu_22.04 0-nvme-loop 1-start 2-services/nfs-ingress-rgw-user 3-final}
- duration:
0:21:38
- email:
adking@redhat.com
- failure_reason:
- flavor:
- job_id:
7658223
- kernel:
- last_in_suite:
False
- machine_type:
smithi
- name:
adking-2024-04-16_12:53:12-orch:cephadm-wip-adk2-testing-2024-04-15-1136-squid-distro-default-smithi
- nuke_on_error:
True
- os_type:
ubuntu
- os_version:
22.04
- overrides:
- admin_socket:
- branch:
wip-adk2-testing-2024-04-15-1136-squid
- 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-only-match:
- sha1:
36befe5d41ee8a6ea2e60983e763134278d506cf
- ceph-deploy:
- conf:
- client:
- log file:
/var/log/ceph/ceph-$name.$pid.log
- mon:
- install:
- ceph:
- flavor:
default
- sha1:
36befe5d41ee8a6ea2e60983e763134278d506cf
- workunit:
- branch:
wip-adk2-testing-2024-04-15-1136-squid
- sha1:
36befe5d41ee8a6ea2e60983e763134278d506cf
- owner:
scheduled_adking@teuthology
- pid:
- roles:
-
['host.a', 'client.0']
-
['host.b', 'client.1']
- sentry_event:
- status:
pass
- success:
True
- branch:
wip-adk2-testing-2024-04-15-1136-squid
- seed:
5433
- sha1:
36befe5d41ee8a6ea2e60983e763134278d506cf
- subset:
1/16
- suite:
orch:cephadm
- suite_branch:
wip-adk2-testing-2024-04-15-1136-squid
- suite_path:
/home/teuthworker/src/git.ceph.com_ceph-c_36befe5d41ee8a6ea2e60983e763134278d506cf/qa
- suite_relpath:
qa
- suite_repo:
https://git.ceph.com/ceph-ci.git
- suite_sha1:
36befe5d41ee8a6ea2e60983e763134278d506cf
- targets:
- smithi033.front.sepia.ceph.com:
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKhBHNuvLMSJZqC/Ahyn4iMKoHi7gEWEh4Kymleq1aXaiILd4C4DCGo8H+5O5MWMdctX1IaMjCDUkhpcxpSwjMA=
- smithi066.front.sepia.ceph.com:
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBErgRotId2aKjukaWdtGYt946vRXkuUYT51fZIEB/KT/9QUhK3wkDguuLOlb3lsMiw7+B7faqaeMZI0pZ7cHf1o=
- 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\)
- log-only-match:
- sha1:
36befe5d41ee8a6ea2e60983e763134278d506cf
- 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 10.0.31.33/16
-
- 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:
False
pcp_grafana_url:
priority:
80
user:
adking
queue:
posted:
2024-04-16 12:53:18
started:
2024-04-16 13:14:21
updated:
2024-04-16 13:46:43
status_class:
success
runtime:
0:32:22
wait_time:
0:10:44