Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ubuntu@ceph3:~/openstack-helm-infra$ kubectl logs ceph-osd-device-ceph-osd-sdd-zrg8b -n ceph -c osd-prepare-pod
- + export LC_ALL=C
- + LC_ALL=C
- + source variables_entrypoint.sh
- ++ ALL_SCENARIOS='osd osd_directory osd_directory_single osd_ceph_disk osd_ceph_disk_prepare osd_ceph_disk_activate osd_ceph_activate_journal mgr'
- ++ : ceph
- ++ : ceph-config/ceph
- ++ :
- ++ : osd_ceph_disk_prepare
- ++ : 1
- ++ : ceph3
- ++ : ceph3
- ++ : /etc/ceph/monmap-ceph
- ++ : /var/lib/ceph/mon/ceph-ceph3
- ++ : 0
- ++ : 0
- ++ : mds-ceph3
- ++ : 0
- ++ : 100
- ++ : 0
- ++ : 0
- +++ uuidgen
- ++ : fb131dbb-4cc7-49b1-a716-0ffdf4465c36
- +++ uuidgen
- ++ : 426a5fff-c72f-400c-a7f1-105048e4ab96
- ++ : root=default host=ceph3
- ++ : 0
- ++ : cephfs
- ++ : cephfs_data
- ++ : 8
- ++ : cephfs_metadata
- ++ : 8
- ++ : ceph3
- ++ :
- ++ :
- ++ : 8080
- ++ : 0
- ++ : 9000
- ++ : 0.0.0.0
- ++ : cephnfs
- ++ : ceph3
- ++ : 0.0.0.0
- ++ : 128
- ++ CLI_OPTS='--cluster ceph'
- ++ DAEMON_OPTS='--cluster ceph --setuser ceph --setgroup ceph -d'
- ++ MOUNT_OPTS='-t xfs -o noatime,inode64'
- ++ MDS_KEYRING=/var/lib/ceph/mds/ceph-mds-ceph3/keyring
- ++ ADMIN_KEYRING=/etc/ceph/ceph.client.admin.keyring
- ++ MON_KEYRING=/etc/ceph/ceph.mon.keyring
- ++ RGW_KEYRING=/var/lib/ceph/radosgw/ceph3/keyring
- ++ MGR_KEYRING=/var/lib/ceph/mgr/ceph-ceph3/keyring
- ++ MDS_BOOTSTRAP_KEYRING=/var/lib/ceph/bootstrap-mds/ceph.keyring
- ++ RGW_BOOTSTRAP_KEYRING=/var/lib/ceph/bootstrap-rgw/ceph.keyring
- ++ OSD_BOOTSTRAP_KEYRING=/var/lib/ceph/bootstrap-osd/ceph.keyring
- ++ OSD_PATH_BASE=/var/lib/ceph/osd/ceph
- + source common_functions.sh
- ++ set -ex
- + is_available rpm
- + command -v rpm
- + is_available dpkg
- + command -v dpkg
- + OS_VENDOR=ubuntu
- + source /etc/default/ceph
- ++ TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES=134217728
- + case "$CEPH_DAEMON" in
- + OSD_TYPE=prepare
- + start_osd
- + [[ ! -e /etc/ceph/ceph.conf ]]
- + '[' 1 -eq 1 ']'
- + [[ ! -e /etc/ceph/ceph.client.admin.keyring ]]
- + case "$OSD_TYPE" in
- + source osd_disk_prepare.sh
- ++ set -ex
- + osd_disk_prepare
- + [[ -z /dev/sdd ]]
- ++ hardware_to_block /dev/sdd
- ++ local DEV=/dev/sdd
- ++ '[' '!' -b /dev/sdd ']'
- ++ echo /dev/sdd
- ++ return
- + OSD_DEVICE=/dev/sdd
- ++ readlink -f /dev/sdd
- + OSD_DEVICE=/dev/sdd
- + [[ ! -b /dev/sdd ]]
- + '[' '!' -e /var/lib/ceph/bootstrap-osd/ceph.keyring ']'
- + timeout 10 ceph --cluster ceph --name client.bootstrap-osd --keyring /var/lib/ceph/bootstrap-osd/ceph.keyring health
- HEALTH_WARN no active mgr; Reduced data availability: 152 pgs inactive; Degraded data redundancy: 152 pgs unclean
- + parted --script /dev/sdd print
- ++ egrep '^ 1.*ceph data'
- ++ parted --script /dev/sdd print
- + [[ -n '' ]]
- + '[' 0 -ne 1 ']'
- + '[' -n '' ']'
- ++ dev_part /dev/sdd 2
- ++ local osd_device=/dev/sdd
- ++ local osd_partition=2
- ++ [[ -L /dev/sdd ]]
- ++ [[ d == [0-9] ]]
- ++ echo /dev/sdd2
- + OSD_JOURNAL=/dev/sdd2
- + OSD_JOURNAL_PARTITION=2
- + CLI_OPTS='--cluster ceph --filestore'
- + '[' -b /dev/sdd2 -a 0 -eq 1 ']'
- + [[ 0 -eq 1 ]]
- + ceph-disk -v prepare --cluster ceph --filestore --journal-uuid fb131dbb-4cc7-49b1-a716-0ffdf4465c36 /dev/sdd /dev/sdd2
- /usr/lib/python2.7/dist-packages/ceph_disk/main.py:5653: UserWarning:
- *******************************************************************************
- This tool is now deprecated in favor of ceph-volume.
- It is recommended to use ceph-volume for OSD deployments. For details see:
- http://docs.ceph.com/docs/master/ceph-volume/#migrating
- *******************************************************************************
- warnings.warn(DEPRECATION_WARNING)
- command: Running command: /usr/bin/ceph-osd --cluster=ceph --show-config-value=fsid
- command: Running command: /usr/bin/ceph-osd --check-allows-journal -i 0 --log-file $run_dir/$cluster-osd-check.log --cluster ceph --setuser ceph --setgroup ceph
- command: Running command: /usr/bin/ceph-osd --check-wants-journal -i 0 --log-file $run_dir/$cluster-osd-check.log --cluster ceph --setuser ceph --setgroup ceph
- command: Running command: /usr/bin/ceph-osd --check-needs-journal -i 0 --log-file $run_dir/$cluster-osd-check.log --cluster ceph --setuser ceph --setgroup ceph
- get_dm_uuid: get_dm_uuid /dev/sdd uuid path is /sys/dev/block/8:48/dm/uuid
- command: Running command: /usr/bin/ceph-osd --cluster=ceph --show-config-value=osd_journal_size
- get_dm_uuid: get_dm_uuid /dev/sdd uuid path is /sys/dev/block/8:48/dm/uuid
- get_dm_uuid: get_dm_uuid /dev/sdd uuid path is /sys/dev/block/8:48/dm/uuid
- get_dm_uuid: get_dm_uuid /dev/sdd uuid path is /sys/dev/block/8:48/dm/uuid
- command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_mkfs_type
- command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_mkfs_options_xfs
- command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_mount_options_xfs
- command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_fs_mount_options_xfs
- prepare_file: Creating journal file /dev/sdd2 with size 0 (ceph-osd will resize and allocate)
- command: Running command: /bin/chown -R ceph:ceph /dev/sdd2
- prepare_file: Journal is file /dev/sdd2
- prepare_file: OSD will not be hot-swappable if journal is not the same device as the osd data
- get_dm_uuid: get_dm_uuid /dev/sdd uuid path is /sys/dev/block/8:48/dm/uuid
- set_data_partition: Creating osd partition on /dev/sdd
- get_dm_uuid: get_dm_uuid /dev/sdd uuid path is /sys/dev/block/8:48/dm/uuid
- ptype_tobe_for_name: name = data
- get_dm_uuid: get_dm_uuid /dev/sdd uuid path is /sys/dev/block/8:48/dm/uuid
- create_partition: Creating data partition num 1 size 0 on /dev/sdd
- command_check_call: Running command: /sbin/sgdisk --largest-new=1 --change-name=1:ceph data --partition-guid=1:c8bbfec9-d9c1-44de-b805-30cff11764ba --typecode=1:89c57f98-2fe5-4dc0-89c1-f3ad0ceff2be --mbrtogpt -- /dev/sdd
- Setting name!
- partNum is 0
- REALLY setting name!
- The operation has completed successfully.
- update_partition: Calling partprobe on created device /dev/sdd
- command_check_call: Running command: /sbin/udevadm settle --timeout=600
- command: Running command: /usr/bin/flock -s /dev/sdd /sbin/partprobe /dev/sdd
- command_check_call: Running command: /sbin/udevadm settle --timeout=600
- get_dm_uuid: get_dm_uuid /dev/sdd uuid path is /sys/dev/block/8:48/dm/uuid
- get_dm_uuid: get_dm_uuid /dev/sdd uuid path is /sys/dev/block/8:48/dm/uuid
- get_dm_uuid: get_dm_uuid /dev/sdd1 uuid path is /sys/dev/block/8:49/dm/uuid
- populate_data_path_device: Creating xfs fs on /dev/sdd1
- command_check_call: Running command: /sbin/mkfs -t xfs -f -i size=2048 -f -- /dev/sdd1
- meta-data=/dev/sdd1 isize=2048 agcount=4, agsize=393151 blks
- = sectsz=512 attr=2, projid32bit=1
- = crc=1 finobt=1, sparse=0
- data = bsize=4096 blocks=1572603, imaxpct=25
- = sunit=0 swidth=0 blks
- naming =version 2 bsize=4096 ascii-ci=0 ftype=1
- log =internal log bsize=4096 blocks=2560, version=2
- = sectsz=512 sunit=0 blks, lazy-count=1
- realtime =none extsz=4096 blocks=0, rtextents=0
- mount: Mounting /dev/sdd1 on /var/lib/ceph/tmp/mnt.0QxIGK with options noatime,inode64
- command_check_call: Running command: /bin/mount -t xfs -o noatime,inode64 -- /dev/sdd1 /var/lib/ceph/tmp/mnt.0QxIGK
- populate_data_path: Preparing osd data dir /var/lib/ceph/tmp/mnt.0QxIGK
- command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.0QxIGK/ceph_fsid.16064.tmp
- command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.0QxIGK/fsid.16064.tmp
- command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.0QxIGK/magic.16064.tmp
- command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.0QxIGK/journal_uuid.16064.tmp
- adjust_symlink: Creating symlink /var/lib/ceph/tmp/mnt.0QxIGK/journal -> /dev/sdd2
- command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.0QxIGK/type.16064.tmp
- command: Running command: /bin/chown -R ceph:ceph /var/lib/ceph/tmp/mnt.0QxIGK
- unmount: Unmounting /var/lib/ceph/tmp/mnt.0QxIGK
- command_check_call: Running command: /bin/umount -- /var/lib/ceph/tmp/mnt.0QxIGK
- get_dm_uuid: get_dm_uuid /dev/sdd uuid path is /sys/dev/block/8:48/dm/uuid
- command_check_call: Running command: /sbin/sgdisk --typecode=1:4fbd7e29-9d25-41b8-afd0-062c0ceff05d -- /dev/sdd
- The operation has completed successfully.
- update_partition: Calling partprobe on prepared device /dev/sdd
- command_check_call: Running command: /sbin/udevadm settle --timeout=600
- command: Running command: /usr/bin/flock -s /dev/sdd /sbin/partprobe /dev/sdd
- command_check_call: Running command: /sbin/udevadm settle --timeout=600
- command_check_call: Running command: /sbin/udevadm trigger --action=add --sysname-match sdd1
- /usr/lib/python2.7/dist-packages/ceph_disk/main.py:5685: UserWarning:
- *******************************************************************************
- This tool is now deprecated in favor of ceph-volume.
- It is recommended to use ceph-volume for OSD deployments. For details see:
- http://docs.ceph.com/docs/master/ceph-volume/#migrating
- *******************************************************************************
- warnings.warn(DEPRECATION_WARNING)
- + udevadm settle --timeout=600
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement