archive_path: /home/teuthworker/archive/adking-2024-03-26_01:50:53-orch:cephadm-wip-adk-testing-2024-03-25-1628-distro-default-smithi/7622444 branch: wip-adk-testing-2024-03-25-1628 description: orch:cephadm/smb/{0-distro/ubuntu_22.04 tasks/deploy_smb_domain} email: adking@redhat.com first_in_suite: false job_id: '7622444' kernel: &id001 kdb: true sha1: distro ktype: distro last_in_suite: false machine_type: smithi name: adking-2024-03-26_01:50:53-orch:cephadm-wip-adk-testing-2024-03-25-1628-distro-default-smithi no_nested_subset: false nuke-on-error: true os_type: ubuntu os_version: '22.04' overrides: admin_socket: branch: wip-adk-testing-2024-03-25-1628 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 flavor: default log-ignorelist: - \(MDS_ALL_DOWN\) - \(MDS_UP_LESS_THAN_MAX\) sha1: e42b8ea316eec6c6f4fae026f6d6b62fa5fe7003 ceph-deploy: conf: client: log file: /var/log/ceph/ceph-$name.$pid.log mon: {} install: ceph: flavor: default sha1: e42b8ea316eec6c6f4fae026f6d6b62fa5fe7003 workunit: branch: wip-adk-testing-2024-03-25-1628 sha1: e42b8ea316eec6c6f4fae026f6d6b62fa5fe7003 owner: scheduled_adking@teuthology priority: 80 repo: https://git.ceph.com/ceph-ci.git roles: - - host.a - mon.a - mgr.x - osd.0 - osd.1 - client.0 - - host.b - cephadm.exclude seed: 9192 sha1: e42b8ea316eec6c6f4fae026f6d6b62fa5fe7003 sleep_before_teardown: 0 subset: 1/16 suite: orch:cephadm suite_branch: wip-adk-testing-2024-03-25-1628 suite_path: /home/teuthworker/src/git.ceph.com_ceph-c_e42b8ea316eec6c6f4fae026f6d6b62fa5fe7003/qa suite_relpath: qa suite_repo: https://git.ceph.com/ceph-ci.git suite_sha1: e42b8ea316eec6c6f4fae026f6d6b62fa5fe7003 targets: smithi037.front.sepia.ceph.com: ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBOKPrJnjD0U8TLYfGhsFQuu8e9bbhn7FLgKLq/qS5uyAlY++0U9RXY0I6zaCvl75WZp0DaydrQzAs1xHwHngFc4= smithi104.front.sepia.ceph.com: ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBAmg7pNMm0x7tIi0j+2BBpKDxH0CJN/ivs+XiIskKTYUtTS2C1IY26LnBXVhFCZSfvt770IuflW8EYfsX+kH8b8= tasks: - internal.check_packages: null - internal.buildpackages_prep: null - internal.save_config: null - internal.check_lock: null - internal.add_remotes: null - console_log: null - internal.connect: null - internal.push_inventory: null - internal.serialize_remote_roles: null - internal.check_conflict: null - internal.check_ceph_data: null - internal.vm_setup: null - kernel: *id001 - internal.base: null - internal.archive_upload: null - internal.archive: null - internal.coredump: null - internal.sudo: null - internal.syslog: null - internal.timer: null - pcp: null - selinux: null - ansible.cephlab: null - clock: null - cephadm.deploy_samba_ad_dc: role: host.b - cephadm: null - cephadm.shell: host.a: - ceph fs volume create cephfs - cephadm.wait_for_service: service: mds.cephfs - cephadm.shell: host.a: - cmd: ceph fs subvolumegroup create cephfs g1 - cmd: ceph fs subvolume create cephfs sub1 --group-name=g1 --mode=0777 - cmd: ceph fs authorize cephfs client.smbdata / rw - cmd: ceph osd pool create .smb --yes-i-really-mean-it - cmd: ceph osd pool application enable .smb smb - cmd: rados --pool=.smb --namespace=admem1 put conf.toml /dev/stdin stdin: 'samba-container-config = "v0" [configs.admem1] shares = ["share1"] globals = ["default", "domain"] instance_name = "SAMBA" [shares.share1.options] "vfs objects" = "ceph" path = "/" "ceph:config_file" = "/etc/ceph/ceph.conf" "ceph:user_id" = "smbdata" "kernel share modes" = "no" "read only" = "no" "browseable" = "yes" [globals.default.options] "server min protocol" = "SMB2" "load printers" = "no" "printing" = "bsd" "printcap name" = "/dev/null" "disable spoolss" = "yes" "guest ok" = "no" [globals.domain.options] security = "ads" workgroup = "DOMAIN1" realm = "domain1.sink.test" "idmap config * : backend" = "autorid" "idmap config * : range" = "2000-9999999" ' - cmd: ceph config-key set smb/config/admem1/join1.json -i - stdin: '{"username": "Administrator", "password": "Passw0rd"} ' - cephadm.apply: specs: - cluster_id: admem1 config_uri: rados://.smb/admem1/conf.toml custom_dns: - '{{ctx.samba_ad_dc_ip}}' features: - domain include_ceph_users: - client.smbdata join_sources: - rados:mon-config-key:smb/config/admem1/join1.json placement: count: 1 service_id: admem1 service_type: smb - cephadm.wait_for_service: service: smb.admem1 - cephadm.exec: host.b: - sleep 30 - '{{ctx.samba_client_container_cmd|join('' '')}} smbclient -U DOMAIN1\\ckent%1115Rose. //{{''host.a''|role_to_remote|attr(''ip_address'')}}/share1 -c ls' teuthology: fragments_dropped: [] meta: {} postmerge: [] teuthology_branch: main teuthology_sha1: e691533f9cbb33d85b2187bba20d7102f098636d timestamp: 2024-03-26_01:50:53 tube: smithi user: adking verbose: false worker_log: /home/teuthworker/archive/worker_logs/dispatcher.smithi.2226885