Advertisement
Guest User

Untitled

a guest
Dec 16th, 2015
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.23 KB | None | 0 0
  1. [ceph@ceph-admin01 openstack_eqsy3]$ ceph-deploy disk prepare kvsrv03:/dev/sdw
  2. [ceph_deploy.conf][DEBUG ] found configuration file at: /home/ceph/.cephdeploy.conf
  3. [ceph_deploy.cli][INFO ] Invoked (1.5.30): /usr/bin/ceph-deploy disk prepare kvsrv03:/dev/sdw
  4. [ceph_deploy.cli][INFO ] ceph-deploy options:
  5. [ceph_deploy.cli][INFO ] username : None
  6. [ceph_deploy.cli][INFO ] disk : [('kvsrv03', '/dev/sdw', None)]
  7. [ceph_deploy.cli][INFO ] dmcrypt : False
  8. [ceph_deploy.cli][INFO ] verbose : False
  9. [ceph_deploy.cli][INFO ] overwrite_conf : False
  10. [ceph_deploy.cli][INFO ] subcommand : prepare
  11. [ceph_deploy.cli][INFO ] dmcrypt_key_dir : /etc/ceph/dmcrypt-keys
  12. [ceph_deploy.cli][INFO ] quiet : False
  13. [ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf instance at 0x7fe99b14c7a0>
  14. [ceph_deploy.cli][INFO ] cluster : ceph
  15. [ceph_deploy.cli][INFO ] fs_type : xfs
  16. [ceph_deploy.cli][INFO ] func : <function disk at 0x7fe99b13dc08>
  17. [ceph_deploy.cli][INFO ] ceph_conf : None
  18. [ceph_deploy.cli][INFO ] default_release : False
  19. [ceph_deploy.cli][INFO ] zap_disk : False
  20. [ceph_deploy.osd][DEBUG ] Preparing cluster ceph disks kvsrv03:/dev/sdw:
  21. [kvsrv03][DEBUG ] connection detected need for sudo
  22. [kvsrv03][DEBUG ] connected to host: kvsrv03
  23. [kvsrv03][DEBUG ] detect platform information from remote host
  24. [kvsrv03][DEBUG ] detect machine type
  25. [kvsrv03][DEBUG ] find the location of an executable
  26. [ceph_deploy.osd][INFO ] Distro info: CentOS Linux 7.2.1511 Core
  27. [ceph_deploy.osd][DEBUG ] Deploying osd to kvsrv03
  28. [kvsrv03][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
  29. [ceph_deploy.osd][DEBUG ] Preparing host kvsrv03 disk /dev/sdw journal None activate False
  30. [kvsrv03][INFO ] Running command: sudo ceph-disk -v prepare --cluster ceph --fs-type xfs -- /dev/sdw
  31. [kvsrv03][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-osd --check-allows-journal -i 0 --cluster ceph
  32. [kvsrv03][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-osd --check-wants-journal -i 0 --cluster ceph
  33. [kvsrv03][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-osd --check-needs-journal -i 0 --cluster ceph
  34. [kvsrv03][WARNIN] DEBUG:ceph-disk:get_dm_uuid /dev/sdw uuid path is /sys/dev/block/65:96/dm/uuid
  35. [kvsrv03][WARNIN] DEBUG:ceph-disk:get_dm_uuid /dev/sdw uuid path is /sys/dev/block/65:96/dm/uuid
  36. [kvsrv03][WARNIN] DEBUG:ceph-disk:get_dm_uuid /dev/sdw uuid path is /sys/dev/block/65:96/dm/uuid
  37. [kvsrv03][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-osd --cluster=ceph --show-config-value=fsid
  38. [kvsrv03][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_mkfs_options_xfs
  39. [kvsrv03][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_fs_mkfs_options_xfs
  40. [kvsrv03][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_mount_options_xfs
  41. [kvsrv03][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_fs_mount_options_xfs
  42. [kvsrv03][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-osd --cluster=ceph --show-config-value=osd_journal_size
  43. [kvsrv03][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_cryptsetup_parameters
  44. [kvsrv03][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_dmcrypt_key_size
  45. [kvsrv03][WARNIN] INFO:ceph-disk:Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_dmcrypt_type
  46. [kvsrv03][WARNIN] DEBUG:ceph-disk:get_dm_uuid /dev/sdw uuid path is /sys/dev/block/65:96/dm/uuid
  47. [kvsrv03][WARNIN] INFO:ceph-disk:Will colocate journal with data on /dev/sdw
  48. [kvsrv03][WARNIN] DEBUG:ceph-disk:get_dm_uuid /dev/sdw uuid path is /sys/dev/block/65:96/dm/uuid
  49. [kvsrv03][WARNIN] DEBUG:ceph-disk:get_dm_uuid /dev/sdw uuid path is /sys/dev/block/65:96/dm/uuid
  50. [kvsrv03][WARNIN] DEBUG:ceph-disk:Creating journal partition num 2 size 5120 on /dev/sdw
  51. [kvsrv03][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk --new=2:0:5120M --change-name=2:ceph journal --partition-guid=2:af5ece30-28c8-4edf-8f01-d7a0a7a892fa --typecode=2:45b0969e-9b03-4f30-b4c6-b4b80ceff106 --mbrtogpt -- /dev/sdw
  52. [kvsrv03][DEBUG ] The operation has completed successfully.
  53. [kvsrv03][WARNIN] DEBUG:ceph-disk:Calling partprobe on prepared device /dev/sdw
  54. [kvsrv03][WARNIN] INFO:ceph-disk:Running command: /usr/bin/udevadm settle
  55. [kvsrv03][WARNIN] DEBUG:ceph-disk:Sleeping for 40 seconds!
  56. [kvsrv03][WARNIN] INFO:ceph-disk:Running command: /sbin/partprobe /dev/sdw
  57. [kvsrv03][WARNIN] Error: Error informing the kernel about modifications to partition /dev/sdw2 -- Device or resource busy. This means Linux won't know about any changes you made to /dev/sdw2 until you reboot -- so you shouldn't mount it or use it in any way before rebooting.
  58. [kvsrv03][WARNIN] Error: Failed to add partition 2 (Device or resource busy)
  59. [kvsrv03][WARNIN] Traceback (most recent call last):
  60. [kvsrv03][WARNIN] File "/sbin/ceph-disk", line 3578, in <module>
  61. [kvsrv03][WARNIN] main(sys.argv[1:])
  62. [kvsrv03][WARNIN] File "/sbin/ceph-disk", line 3532, in main
  63. [kvsrv03][WARNIN] args.func(args)
  64. [kvsrv03][WARNIN] File "/sbin/ceph-disk", line 1865, in main_prepare
  65. [kvsrv03][WARNIN] luks=luks
  66. [kvsrv03][WARNIN] File "/sbin/ceph-disk", line 1467, in prepare_journal
  67. [kvsrv03][WARNIN] return prepare_journal_dev(data, journal, journal_size, journal_uuid, journal_dm_keypath, cryptsetup_parameters, luks)
  68. [kvsrv03][WARNIN] File "/sbin/ceph-disk", line 1421, in prepare_journal_dev
  69. [kvsrv03][WARNIN] raise Error(e)
  70. [kvsrv03][WARNIN] __main__.Error: Error: Command '['/sbin/partprobe', '/dev/sdw']' returned non-zero exit status 1
  71. [kvsrv03][ERROR ] RuntimeError: command returned non-zero exit status: 1
  72. [ceph_deploy.osd][ERROR ] Failed to execute command: ceph-disk -v prepare --cluster ceph --fs-type xfs -- /dev/sdw
  73. [ceph_deploy][ERROR ] GenericError: Failed to create 1 OSDs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement