Advertisement
Guest User

Untitled

a guest
Dec 16th, 2015
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.14 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 0x7f6fd92497a0>
  14. [ceph_deploy.cli][INFO ] cluster : ceph
  15. [ceph_deploy.cli][INFO ] fs_type : xfs
  16. [ceph_deploy.cli][INFO ] func : <function disk at 0x7f6fd923ac08>
  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:530383c8-37ae-4678-a03f-a3c1fdce86db --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 35 seconds!
  56. [kvsrv03][WARNIN] INFO:ceph-disk:Running command: /sbin/partprobe /dev/sdw
  57. [kvsrv03][WARNIN] INFO:ceph-disk:Running command: /usr/bin/udevadm settle
  58. [kvsrv03][WARNIN] DEBUG:ceph-disk:Journal is GPT partition /dev/disk/by-partuuid/530383c8-37ae-4678-a03f-a3c1fdce86db
  59. [kvsrv03][WARNIN] DEBUG:ceph-disk:Journal is GPT partition /dev/disk/by-partuuid/530383c8-37ae-4678-a03f-a3c1fdce86db
  60. [kvsrv03][WARNIN] DEBUG:ceph-disk:get_dm_uuid /dev/sdw uuid path is /sys/dev/block/65:96/dm/uuid
  61. [kvsrv03][WARNIN] DEBUG:ceph-disk:get_dm_uuid /dev/sdw uuid path is /sys/dev/block/65:96/dm/uuid
  62. [kvsrv03][WARNIN] DEBUG:ceph-disk:Creating osd partition on /dev/sdw
  63. [kvsrv03][WARNIN] INFO:ceph-disk:Running command: /sbin/sgdisk --largest-new=1 --change-name=1:ceph data --partition-guid=1:0ee44587-3a35-4ad8-b837-f0e178f80244 --typecode=1:89c57f98-2fe5-4dc0-89c1-f3ad0ceff2be -- /dev/sdw
  64. [kvsrv03][DEBUG ] The operation has completed successfully.
  65. [kvsrv03][WARNIN] DEBUG:ceph-disk:Calling partprobe on created device /dev/sdw
  66. [kvsrv03][WARNIN] INFO:ceph-disk:Running command: /usr/bin/udevadm settle
  67. [kvsrv03][WARNIN] DEBUG:ceph-disk:Sleeping for 35 seconds!
  68. [kvsrv03][WARNIN] INFO:ceph-disk:Running command: /sbin/partprobe /dev/sdw
  69. [kvsrv03][WARNIN] Error: Error informing the kernel about modifications to partition /dev/sdw1 -- Device or resource busy. This means Linux won't know about any changes you made to /dev/sdw1 until you reboot -- so you shouldn't mount it or use it in any way before rebooting.
  70. [kvsrv03][WARNIN] Error: Failed to add partition 1 (Device or resource busy)
  71. [kvsrv03][WARNIN] Traceback (most recent call last):
  72. [kvsrv03][WARNIN] File "/sbin/ceph-disk", line 3578, in <module>
  73. [kvsrv03][WARNIN] main(sys.argv[1:])
  74. [kvsrv03][WARNIN] File "/sbin/ceph-disk", line 3532, in main
  75. [kvsrv03][WARNIN] args.func(args)
  76. [kvsrv03][WARNIN] File "/sbin/ceph-disk", line 1895, in main_prepare
  77. [kvsrv03][WARNIN] luks=luks
  78. [kvsrv03][WARNIN] File "/sbin/ceph-disk", line 1596, in prepare_dev
  79. [kvsrv03][WARNIN] raise Error(e)
  80. [kvsrv03][WARNIN] __main__.Error: Error: Command '['/sbin/partprobe', '/dev/sdw']' returned non-zero exit status 1
  81. [kvsrv03][ERROR ] RuntimeError: command returned non-zero exit status: 1
  82. [ceph_deploy.osd][ERROR ] Failed to execute command: ceph-disk -v prepare --cluster ceph --fs-type xfs -- /dev/sdw
  83. [ceph_deploy][ERROR ] GenericError: Failed to create 1 OSDs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement