- log_href:
http://qa-proxy.ceph.com/teuthology/yuriw-2024-02-11_15:26:36-rados-wip-yuri8-testing-2024-02-07-0820-pacific-distro-default-smithi/7556222/teuthology.log
- archive_path:
/home/teuthworker/archive/yuriw-2024-02-11_15:26:36-rados-wip-yuri8-testing-2024-02-07-0820-pacific-distro-default-smithi/7556222
- description:
rados/cephadm/smoke-roleless/{0-distro/rhel_8.6_container_tools_3.0 0-nvme-loop 1-start 2-services/nfs-ingress-rgw-user 3-final}
- duration:
0:19:47
- email:
- failure_reason:
- flavor:
- job_id:
7556222
- kernel:
- last_in_suite:
False
- machine_type:
smithi
- name:
yuriw-2024-02-11_15:26:36-rados-wip-yuri8-testing-2024-02-07-0820-pacific-distro-default-smithi
- nuke_on_error:
True
- os_type:
rhel
- os_version:
8.6
- overrides:
- admin_socket:
- branch:
wip-yuri8-testing-2024-02-07-0820-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:
5db25abe00e218b6920215c0bef70af7e47c7152
- ceph-deploy:
- conf:
- client:
- log file:
/var/log/ceph/ceph-$name.$pid.log
- mon:
- install:
- ceph:
- flavor:
default
- sha1:
5db25abe00e218b6920215c0bef70af7e47c7152
- selinux:
- whitelist:
-
scontext=system_u:system_r:logrotate_t:s0
- workunit:
- branch:
wip-yuri8-testing-2024-02-07-0820-pacific
- sha1:
5db25abe00e218b6920215c0bef70af7e47c7152
- owner:
scheduled_yuriw@teuthology
- pid:
- roles:
-
['host.a', 'client.0']
-
['host.b', 'client.1']
- sentry_event:
- status:
pass
- success:
True
- branch:
wip-yuri8-testing-2024-02-07-0820-pacific
- seed:
- sha1:
5db25abe00e218b6920215c0bef70af7e47c7152
- subset:
- suite:
- suite_branch:
wip-yuri8-testing-2024-02-07-0820-pacific
- suite_path:
- suite_relpath:
- suite_repo:
- suite_sha1:
5db25abe00e218b6920215c0bef70af7e47c7152
- targets:
- smithi026.front.sepia.ceph.com:
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKgNop8AUqahLs1hUEi+2jhotgVMMnIEUBxZdPy87IFx4hNmNNhiLNRyE2UtYR+1M3oV8oYEY9rtdszEsfJBW8c=
- smithi050.front.sepia.ceph.com:
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCQKfybkRm+mXff78972HEhJQYYYSGCaNzH4V6VpO/rcW7KyE2aujq5VHTSQ60rAopCLLGqJ+gSpn2FGeF5FUVk=
- 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:
-
- pexec:
- all:
-
sudo cp /etc/containers/registries.conf /etc/containers/registries.conf.backup
-
sudo dnf -y module reset container-tools
-
sudo dnf -y module install container-tools:3.0 --allowerasing --nobest
-
sudo cp /etc/containers/registries.conf.backup /etc/containers/registries.conf
-
- 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:
5db25abe00e218b6920215c0bef70af7e47c7152
- 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-02-11 15:28:51
started:
2024-02-11 16:14:20
updated:
2024-02-11 16:42:04
status_class:
success
runtime:
0:27:44
wait_time:
0:07:57