* misc: ignore some unusable block devices
@ 2015-12-14 15:12 Loic Dachary
2015-12-14 18:18 ` Robin H. Johnson
0 siblings, 1 reply; 3+ messages in thread
From: Loic Dachary @ 2015-12-14 15:12 UTC (permalink / raw)
To: Robin H. Johnson; +Cc: Ceph Development
[-- Attachment #1: Type: text/plain, Size: 1482 bytes --]
Hi Robin,
I removed misc: ignore some unusable block devices 9c5eaeccb807d103884f46d174798dd982092696 from the openstack branch because it fails on CentOS 7 with
the following. Could you please make a new pull request with it so we can keep testing it there ?
Thanks !
2015-12-14T14:37:36.305 INFO:teuthology.orchestra.run.target167114236178:Running: 'sudo blkid -o export -p /dev/vdc'
2015-12-14T14:37:36.731 ERROR:teuthology.contextutil:Saw exception from nested tasks
Traceback (most recent call last):
File "/home/ubuntu/teuthology/teuthology/contextutil.py", line 28, in nested
vars.append(enter())
File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File "/home/ubuntu/src/ceph-qa-suite_master/tasks/ceph.py", line 357, in cluster
devs = teuthology.get_scratch_devices(remote)
File "/home/ubuntu/teuthology/teuthology/misc.py", line 860, in get_scratch_devices
stderr=StringIO(),
File "/home/ubuntu/teuthology/teuthology/orchestra/remote.py", line 156, in run
r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
File "/home/ubuntu/teuthology/teuthology/orchestra/run.py", line 378, in run
r.wait()
File "/home/ubuntu/teuthology/teuthology/orchestra/run.py", line 114, in wait
label=self.label)
CommandFailedError: Command failed on target167114236178 with status 2: 'sudo blkid -o export -p /dev/vdc'
Cheers
--
Loïc Dachary, Artisan Logiciel Libre
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: misc: ignore some unusable block devices
2015-12-14 15:12 misc: ignore some unusable block devices Loic Dachary
@ 2015-12-14 18:18 ` Robin H. Johnson
2015-12-14 18:40 ` Loic Dachary
0 siblings, 1 reply; 3+ messages in thread
From: Robin H. Johnson @ 2015-12-14 18:18 UTC (permalink / raw)
To: Loic Dachary; +Cc: Robin H. Johnson, Ceph Development
[-- Attachment #1: Type: text/plain, Size: 646 bytes --]
On Mon, Dec 14, 2015 at 04:12:16PM +0100, Loic Dachary wrote:
> Hi Robin,
>
> I removed misc: ignore some unusable block devices
> 9c5eaeccb807d103884f46d174798dd982092696 from the openstack branch
> because it fails on CentOS 7 with
> the following. Could you please make a new pull request with it so we
> can keep testing it there ?
Will do, but I wonder how you managed to get a return code of 2 from it;
as that should be device-does-not-exist.
--
Robin Hugh Johnson
Gentoo Linux: Developer, Infrastructure Lead, Foundation Trustee
E-Mail : robbat2@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 445 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: misc: ignore some unusable block devices
2015-12-14 18:18 ` Robin H. Johnson
@ 2015-12-14 18:40 ` Loic Dachary
0 siblings, 0 replies; 3+ messages in thread
From: Loic Dachary @ 2015-12-14 18:40 UTC (permalink / raw)
To: Robin H. Johnson; +Cc: Ceph Development
[-- Attachment #1: Type: text/plain, Size: 897 bytes --]
On 14/12/2015 19:18, Robin H. Johnson wrote:
> On Mon, Dec 14, 2015 at 04:12:16PM +0100, Loic Dachary wrote:
>> Hi Robin,
>>
>> I removed misc: ignore some unusable block devices
>> 9c5eaeccb807d103884f46d174798dd982092696 from the openstack branch
>> because it fails on CentOS 7 with
>> the following. Could you please make a new pull request with it so we
>> can keep testing it there ?
> Will do, but I wonder how you managed to get a return code of 2 from it;
> as that should be device-does-not-exist.
IIRC that happens when blkid fails to retrieve information. I found blkid to be generally faster and less reliable than sgdisk -i 1 /dev/sdd for the purpose of getting partition information. For ceph-disk we chose reliability over speed. That being said I've not investigated the real reason why blkid returns -2.
Cheers
--
Loïc Dachary, Artisan Logiciel Libre
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-12-14 18:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-14 15:12 misc: ignore some unusable block devices Loic Dachary
2015-12-14 18:18 ` Robin H. Johnson
2015-12-14 18:40 ` Loic Dachary
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.