enlisting EBS volumes failing with unclear messaging
Bug #1629921 reported by
Charles Butler
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ceph (Juju Charms Collection) |
Fix Released
|
High
|
Chris MacNaughton | ||
ceph-osd (Juju Charms Collection) |
Fix Released
|
High
|
Chris MacNaughton |
Bug Description
I have provisioned 3 ceph-osd applications, 3 ceph-mon applications and started by enlisting a single 5gb ebs volume on each to flex the ceph deployment.
I was greeted with a failed storage-
-- snipped and uploaded as an attachment due to formatting --
Changed in ceph (Juju Charms Collection): | |
status: | New → Triaged |
Changed in ceph-osd (Juju Charms Collection): | |
status: | New → Triaged |
Changed in ceph (Juju Charms Collection): | |
importance: | Undecided → High |
Changed in ceph-osd (Juju Charms Collection): | |
importance: | Undecided → High |
Changed in ceph (Juju Charms Collection): | |
milestone: | none → 17.01 |
Changed in ceph-osd (Juju Charms Collection): | |
milestone: | none → 17.01 |
Changed in ceph (Juju Charms Collection): | |
assignee: | nobody → Chris MacNaughton (chris.macnaughton) |
Changed in ceph-osd (Juju Charms Collection): | |
assignee: | nobody → Chris MacNaughton (chris.macnaughton) |
status: | Triaged → In Progress |
Changed in ceph (Juju Charms Collection): | |
status: | Triaged → In Progress |
tags: | added: juju-storage uosci |
Changed in ceph (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in ceph-osd (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in ceph (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in ceph-osd (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I got this same bug today here are the log messages that we got:
ceph bootstrapped, rescanning disks charm/ceph- osd ceph:ceph 555 25.226: 6789', '172.31. 33.254: 6789', '172.31. 6.136:6789' ] 9b03-4f30- b4c6-b4b80ceff1 06! ceph-disk" , line 9, in <module> entry_point( 'ceph-disk= =1.0.0' , 'console_scripts', 'ceph-disk')() python2. 7/dist- packages/ ceph_disk/ main.py" , line 4995, in run sys.argv[ 1:]) python2. 7/dist- packages/ ceph_disk/ main.py" , line 4948, in main catch(args. func, args) python2. 7/dist- packages/ ceph_disk/ main.py" , line 4973, in main_catch python2. 7/dist- packages/ ceph_disk/ main.py" , line 1774, in main factory( args).prepare( ) python2. 7/dist- packages/ ceph_disk/ main.py" , line 1762, in prepare prepare_ locked( ) python2. 7/dist- packages/ ceph_disk/ main.py" , line 1794, in prepare_locked data.prepare( self.journal) python2. 7/dist- packages/ ceph_disk/ main.py" , line 2446, in prepare prepare_ device( *to_prepare_ list) python2. 7/dist- packages/ ceph_disk/ main.py" , line 2622, in prepare_device prepare. prepare( ) python2. 7/dist- packages/ ceph_disk/ main.py" , line 1964, in prepare prepare_ device( ) python2. 7/dist- packages/ ceph_disk/ main.py" , line 2054, in prepare_device python2. 7/dist- packages/ ceph_disk/ main.py" , line 1522, in create_partition python2. 7/dist- packages/ ceph_disk/ main.py" , line 439, in command_check_call check_call( arguments) python2. 7/subprocess. py", line 541, in check_call ror(retcode, cmd) CalledProcessEr ror: Command '['/sbin/sgdisk', '--new=2:0:+1024M', '--change- name=2: ceph journal', '--partition- guid=2: 09182b21- 4a61-4852- b147-fef8cd3bc4 c0', '--typecode= 2:45b0969e- 9b03-4f30- b4c6-b4b80ceff1 06', '--mbrtogpt', '--', '/dev/xvdf']' returned non-zero exit status 4G
Making dir /var/lib/
Monitor hosts are ['172.31.
Looks like /dev/xvdb is already an OSD data or journal, skipping.
osdize cmd: ['ceph-disk', 'prepare', '--fs-type', u'xfs', u'/dev/xvdf']
Creating new GPT entries.
Could not create partition 2 from 2048 to 2099199
Setting name!
partNum is 1
REALLY setting name!
Unable to set partition 2's name to 'ceph journal'!
Could not change partition 2's type code to 45b0969e-
Error encountered; not saving changes.
Traceback (most recent call last):
File "/usr/sbin/
load_
File "/usr/lib/
main(
File "/usr/lib/
main_
File "/usr/lib/
func(args)
File "/usr/lib/
Prepare.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
to_
File "/usr/lib/
self.
File "/usr/lib/
num=num)
File "/usr/lib/
self.path,
File "/usr/lib/
return subprocess.
File "/usr/lib/
raise CalledProcessEr
subprocess.