Dear all,

I've created the oscar-utils package. This package hosts scripts that needs to 
be installed on client nodes.
Up to now, the distro-query command was hosted in the oscar-base-scripts 
(oscar-bin on debian). The problem is that yume needs it and can be installed 
on client nodes.
cexec yume -y update failed on nodes because no oscar-scripts or oscar-bin were 
installed, and thus no /usr/bin/distro-query command was available.

Installing all oscar scripts on client nodes did not makes sens.

This issue is fixed by creating the oscar-utils which will host oscar stuffs 
that can be installed on master or client nodes. Proper dependancies have been 
set up (both debian and rpm based distros) on sync_files and yume who depends 
on /usr/bin/distro-query.

Debian developpers are welcome to test this change and check that my changes 
made on the debian side are ok (hopefully yes, but I didn't test as I have no 
debian available at the moment).

Best regards.

Olivier.

--
   Olivier LAHAYE
   CEA DRT/LIST/DCSI/DIR
________________________________
De : LAHAYE Olivier
Date d'envoi : mercredi 6 mars 2013 15:35
À : oscar-devel@lists.sourceforge.net
Objet : [PROVENANCE INTERNET] [Oscar-devel] RE : yume repo detection broken on 
head and nodes.


Hi DongInn,

I've hopefully fixed many issues from yume :-)

The last problem I have is a conept problem.

yume needs /usr/bin/distro-query, but this file is part of the 
oscar-base-scripts package.
yume can be installed on nodes, but it makes no sens to install 
oscar-base-scripts on nodes as the only relevant script on a node is 
distro-query (and maybe compute_distro_url which I added recently)

So, distro-query must be moved outside oscar-base-scripts.
I though it could be moved into yume, unfortunately, distro-query is also used 
by sync_files, and it makes no sens to have sync_files depends on yume.......

So I think that we should have a new package like oscar-utils or the like to 
host things that are usefull on nodes and head like distro-query....

I can do that very easily, unfortunately, I've never done any debian packaging, 
and the debian/rules Makefile like seems wired to me (many dh_* commands).

Are you able to create the debian side of things if I create the skeleton for 
the rpm side? (of cours I think I'm able to remove the script form the 
oscar-base-scripts debian control file at least and maybe create the control 
file and debian directory structure....:

After that, we'll only have to add a Requires oscar-utils to the 
sync_files.spec and yume.spec files. (for the moment).

Once done, the "cexec yume -y update"  should work.

BTW, I've fixed a bug in distro-query: (can't call method...).

I start creating the oscar-utils, and if you're ok with that I commit.

Best regards,

Olivier.

--
   Olivier LAHAYE
   CEA DRT/LIST/DCSI/DIR
________________________________
De : DongInn Kim
Date d'envoi : mercredi 6 mars 2013 14:53
À : oscar-devel@lists.sourceforge.net
Objet : Re: [Oscar-devel] yume repo detection broken on head and nodes.

Hi Olivier,

Yes, yume has not been evolved and updated for several years and I think the 
behavior that you found should be fixed.
To be honest with you, I can not really remember what is really required on 
yume until I actually look into the code but it seems that it does not make 
sense to ignore the oscar repository.

I will look into yume behavior too.

Regards,

--
- DongInn

On Mar 6, 2013, at 5:43 AM, LAHAYE Olivier 
<olivier.lah...@cea.fr<mailto:olivier.lah...@cea.fr>> wrote:


Looking into a way to test nodes updates, I've discovered that currently, the 
method explaned here:
http://svn.oscar.openclustergroup.org/trac/oscar/wiki/AdminGuide/Commands#ManagingRepositories
is broken as yume is broken.

1/ parsing /usr/bin/distro-query was broken (easy fix)

2/ yume --installroot /var/lib/systemimager/images/<myimage> update ignores the 
oscar repository
Is it the expected behaviour? If yes, does it makes sens?

3/ cexec yume -y update fails as it can't find /usr/bin/distro-query which is 
part of oscar-base-scripts.

- I've fixed 1/
- I'm planing to fix 3/ by moving the distro-query to yume package and put 
adequate dependancies on packages that require distro-query.
=> Installing oscar-base-scripts on nodes would fix the problem but IMHO it 
makes no sens to install all those useless scripts and dependancies on the 
nodes just to have yume able to automaticaly detect repos.

- /2 can be easily fixed if the exepcted behaviour is to include oscar repo in 
auto detection.

Best regards,

Olivier.

--
   Olivier LAHAYE
   CEA DRT/LIST/DCSI/DIR
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net<mailto:Oscar-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/oscar-devel

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to