* make check, src/test/ceph-disk.sh fails on Mint
@ 2015-05-16 15:49 Michal Jarzabek
2015-05-16 21:30 ` David Zafman
0 siblings, 1 reply; 6+ messages in thread
From: Michal Jarzabek @ 2015-05-16 15:49 UTC (permalink / raw)
To: ceph-devel
Hi,
Is there any simple way to fix this? I'm not really familiar with python...
DEBUG:ceph-disk:ceph osd.0 data dir is ready at
/home/stiopa/development/ceph/ceph/src/test-ceph-disk/dir
DEBUG:ceph-disk:Creating symlink test-ceph-disk/osd/ceph-0 ->
/home/stiopa/development/ceph/ceph/src/test-ceph-disk/dir
ttest_mark_init: 203: ceph-detect-init
Traceback (most recent call last):
File "/home/stiopa/development/ceph/ceph/src/virtualenv-test-ceph-disk/bin/ceph-detect-init",
line 9, in <module>
load_entry_point('ceph-detect-init==1.0.1', 'console_scripts',
'ceph-detect-init')()
File "/home/stiopa/development/ceph/ceph/src/ceph-detect-init/ceph_detect_init/main.py",
line 56, in run
print(ceph_detect_init.get(args.use_rhceph).init)
File "/home/stiopa/development/ceph/ceph/src/ceph-detect-init/ceph_detect_init/__init__.py",
line 34, in get
release=release)
ceph_detect_init.exc.UnsupportedPlatform: Platform is not supported.:
LinuxMint rebecca 17.1
test_mark_init: 203: test -f
/home/stiopa/development/ceph/ceph/src/test-ceph-disk/dir/
test_mark_init: 203: return 1
run: 620: status=1
run: 621: set +x
Thanks,
Michal
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: make check, src/test/ceph-disk.sh fails on Mint
2015-05-16 15:49 make check, src/test/ceph-disk.sh fails on Mint Michal Jarzabek
@ 2015-05-16 21:30 ` David Zafman
2015-05-16 22:07 ` Michal Jarzabek
0 siblings, 1 reply; 6+ messages in thread
From: David Zafman @ 2015-05-16 21:30 UTC (permalink / raw)
To: Michal Jarzabek, ceph-devel
Is something really broken? Or are you just on an unsupported platform?
David
On 5/16/15 8:49 AM, Michal Jarzabek wrote:
> ceph_detect_init.exc.UnsupportedPlatform: Platform is not supported.:
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: make check, src/test/ceph-disk.sh fails on Mint
2015-05-16 21:30 ` David Zafman
@ 2015-05-16 22:07 ` Michal Jarzabek
2015-05-17 8:29 ` Loic Dachary
0 siblings, 1 reply; 6+ messages in thread
From: Michal Jarzabek @ 2015-05-16 22:07 UTC (permalink / raw)
To: David Zafman; +Cc: ceph-devel
Well, I do run it on Linux Mint, but rest of the tests passes without
any problems. So I was wondering if there was any simple way to fix
this one as well.
On Sat, May 16, 2015 at 10:30 PM, David Zafman <dzafman@redhat.com> wrote:
>
> Is something really broken? Or are you just on an unsupported platform?
>
> David
>
>
> On 5/16/15 8:49 AM, Michal Jarzabek wrote:
>>
>> ceph_detect_init.exc.UnsupportedPlatform: Platform is not supported.:
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: make check, src/test/ceph-disk.sh fails on Mint
2015-05-16 22:07 ` Michal Jarzabek
@ 2015-05-17 8:29 ` Loic Dachary
2015-05-17 9:51 ` Michal Jarzabek
0 siblings, 1 reply; 6+ messages in thread
From: Loic Dachary @ 2015-05-17 8:29 UTC (permalink / raw)
To: Michal Jarzabek; +Cc: ceph-devel
[-- Attachment #1: Type: text/plain, Size: 1291 bytes --]
Hi,
On 17/05/2015 00:07, Michal Jarzabek wrote:
> Well, I do run it on Linux Mint, but rest of the tests passes without
> any problems. So I was wondering if there was any simple way to fix
> this one as well.
Yes, there is :-) A few weeks ago ceph-disk would blindly assume sysvinit when a platform is unknown. Now you can add Linux Mint at https://github.com/ceph/ceph/tree/master/src/ceph-detect-init/ceph_detect_init so that the proper init system is detected.
If you want Linux Mint to be treated the same as another distribution you can do that at:
https://github.com/ceph/ceph/blob/master/src/ceph-detect-init/ceph_detect_init/__init__.py#L69
which is probably the simplest.
Cheers
>
> On Sat, May 16, 2015 at 10:30 PM, David Zafman <dzafman@redhat.com> wrote:
>>
>> Is something really broken? Or are you just on an unsupported platform?
>>
>> David
>>
>>
>> On 5/16/15 8:49 AM, Michal Jarzabek wrote:
>>>
>>> ceph_detect_init.exc.UnsupportedPlatform: Platform is not supported.:
>>
>>
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
Loïc Dachary, Artisan Logiciel Libre
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: make check, src/test/ceph-disk.sh fails on Mint
2015-05-17 8:29 ` Loic Dachary
@ 2015-05-17 9:51 ` Michal Jarzabek
2015-05-17 12:03 ` Loic Dachary
0 siblings, 1 reply; 6+ messages in thread
From: Michal Jarzabek @ 2015-05-17 9:51 UTC (permalink / raw)
To: Loic Dachary; +Cc: ceph-devel
Thanks Loic, I'll try to add it to ceph_detect_init.
Thanks,
Michal
On Sun, May 17, 2015 at 9:29 AM, Loic Dachary <loic@dachary.org> wrote:
> Hi,
>
> On 17/05/2015 00:07, Michal Jarzabek wrote:
>> Well, I do run it on Linux Mint, but rest of the tests passes without
>> any problems. So I was wondering if there was any simple way to fix
>> this one as well.
>
> Yes, there is :-) A few weeks ago ceph-disk would blindly assume sysvinit when a platform is unknown. Now you can add Linux Mint at https://github.com/ceph/ceph/tree/master/src/ceph-detect-init/ceph_detect_init so that the proper init system is detected.
>
> If you want Linux Mint to be treated the same as another distribution you can do that at:
>
> https://github.com/ceph/ceph/blob/master/src/ceph-detect-init/ceph_detect_init/__init__.py#L69
>
> which is probably the simplest.
>
> Cheers
>
>>
>> On Sat, May 16, 2015 at 10:30 PM, David Zafman <dzafman@redhat.com> wrote:
>>>
>>> Is something really broken? Or are you just on an unsupported platform?
>>>
>>> David
>>>
>>>
>>> On 5/16/15 8:49 AM, Michal Jarzabek wrote:
>>>>
>>>> ceph_detect_init.exc.UnsupportedPlatform: Platform is not supported.:
>>>
>>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>
> --
> Loïc Dachary, Artisan Logiciel Libre
>
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: make check, src/test/ceph-disk.sh fails on Mint
2015-05-17 9:51 ` Michal Jarzabek
@ 2015-05-17 12:03 ` Loic Dachary
0 siblings, 0 replies; 6+ messages in thread
From: Loic Dachary @ 2015-05-17 12:03 UTC (permalink / raw)
To: Michal Jarzabek; +Cc: ceph-devel
[-- Attachment #1: Type: text/plain, Size: 1691 bytes --]
https://github.com/ceph/ceph/pull/4706 looks good to me :-)
On 17/05/2015 11:51, Michal Jarzabek wrote:
> Thanks Loic, I'll try to add it to ceph_detect_init.
>
> Thanks,
> Michal
>
> On Sun, May 17, 2015 at 9:29 AM, Loic Dachary <loic@dachary.org> wrote:
>> Hi,
>>
>> On 17/05/2015 00:07, Michal Jarzabek wrote:
>>> Well, I do run it on Linux Mint, but rest of the tests passes without
>>> any problems. So I was wondering if there was any simple way to fix
>>> this one as well.
>>
>> Yes, there is :-) A few weeks ago ceph-disk would blindly assume sysvinit when a platform is unknown. Now you can add Linux Mint at https://github.com/ceph/ceph/tree/master/src/ceph-detect-init/ceph_detect_init so that the proper init system is detected.
>>
>> If you want Linux Mint to be treated the same as another distribution you can do that at:
>>
>> https://github.com/ceph/ceph/blob/master/src/ceph-detect-init/ceph_detect_init/__init__.py#L69
>>
>> which is probably the simplest.
>>
>> Cheers
>>
>>>
>>> On Sat, May 16, 2015 at 10:30 PM, David Zafman <dzafman@redhat.com> wrote:
>>>>
>>>> Is something really broken? Or are you just on an unsupported platform?
>>>>
>>>> David
>>>>
>>>>
>>>> On 5/16/15 8:49 AM, Michal Jarzabek wrote:
>>>>>
>>>>> ceph_detect_init.exc.UnsupportedPlatform: Platform is not supported.:
>>>>
>>>>
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>>
>>
>> --
>> Loïc Dachary, Artisan Logiciel Libre
>>
--
Loïc Dachary, Artisan Logiciel Libre
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-05-17 12:03 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-16 15:49 make check, src/test/ceph-disk.sh fails on Mint Michal Jarzabek
2015-05-16 21:30 ` David Zafman
2015-05-16 22:07 ` Michal Jarzabek
2015-05-17 8:29 ` Loic Dachary
2015-05-17 9:51 ` Michal Jarzabek
2015-05-17 12:03 ` 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.