This issue is somehow similar to what has been recently reported in this 
request:

https://github.com/cea-hpc/robinhood/pull/36

However, the proposed fix doesn't seam to go in the direction you suggest.
It should be discussed in this change request.

Thomas

Le 29/07/2016 à 18:28, Andrus, Brian Contractor wrote:
> It does detect lustre:
>
>       checking if any package provides lustre-client... yes
>       checking Lustre version... 2.8
>
> It appears that when it uses the robinhood.spec file, it is not setting the 
> lpackage or lversion variables inside the spec file.
> The best I am seeing is that LDEFINES is set in the Makefile:
>       LDEFINES = --define="lversion 2.8" --define="lpackage lustre-client"
>
>
> Ahh. I think I see the misunderstanding.
> So, yes, running "make rpms" works and they are built.
> What I am referring to is that once that has been done, you cannot run 
> something like:
>       rpmbuild --rebuild ./robinhood-3.0-0.rc1.lustre2.8.el6.src.rpm
>
> It fails because the lversion and ldefine variables were not set in the spec 
> file itself.
> You have to do:
>       rpmbuild --rebuild --define="lversion 2.8" --define="lpackage 
> lustre-client" ./robinhood-3.0-0.rc1.lustre2.8.el6.src.rpm
>
> Here, we usually do initial configs/builds in a test environment, then we 
> take the src package to production machines and rebuild them there.
>
> Just an observation of something that may bite others if they try to use the 
> spec file in the src rpm.
>
>
> Brian Andrus
> ITACS/Research Computing
> Naval Postgraduate School
> Monterey, California
> voice: 831-656-6238
>
>
>
>
> -----Original Message-----
> From: LEIBOVICI Thomas [mailto:[email protected]]
> Sent: Friday, July 29, 2016 7:08 AM
> To: Andrus, Brian Contractor; [email protected]
> Subject: Re: [robinhood-support] Robinhood v3.0 release candidate
>
> I can't reproduce the error by running
>
> ./configure
> make rpms
>
> The error you see appears when lpackage (lustre package name) and lversion 
> (lustre version) are not defined whereas they should be.
> They may occur if you run rpmbuild command manually without the right 
> '--with' options.
>
> Do you seen such sequence in ./configure output:
>
> checking if any package provides lustre-client... no checking if lustre is 
> installed... found version 2.7
>
>
> Thomas
>
> On 07/15/16 21:09, Andrus, Brian Contractor wrote:
>> Just a quick note on making the RPMS.
>> The robinhood.spec file that is generated and packaged in the src rpm has an 
>> error in it:
>>
>> error: line 55: Dependency tokens must begin with alpha-numeric, '_'
>> or '/': BuildRequires: %{lpackage} >= %{lversion}
>>
>> This is from running:
>> ./configure
>> make rpms
>>
>>
>> Brian Andrus
>> ITACS/Research Computing
>> Naval Postgraduate School
>> Monterey, California
>> voice: 831-656-6238
>>
>>
>>
>>
>> -----Original Message-----
>> From: LEIBOVICI Thomas [mailto:[email protected]]
>> Sent: Friday, July 08, 2016 12:44 AM
>> To: [email protected];
>> [email protected];
>> [email protected]
>> Subject: [robinhood-support] Robinhood v3.0 release candidate
>>
>> Dear robinhood users,
>>
>> Robinhood v3.0 development is now complete.
>>
>> Release candidate can be downloaded from here:
>> https://sourceforge.net/projects/robinhood/files/robinhood/3.0-rc1/
>>
>> Take advantage of the summer holidays to test it!
>>
>> Any feedback is welcome.
>>
>> Enjoy!
>>
>> What's new in Robinhood v3.0?
>> =============================
>> (Main changes, non-exhaustive list)
>>
>> * Policies at will:
>>        - Define new custom policies at will, just by writing just a few 
>> lines of configuration.
>>        - Schedule all imaginable actions on filesystem entries.
>>        - Templates are provided to implement: old entries cleanup, directory 
>> cleanup, data corruption checks (by regularly checking file's checksum), 
>> Lustre/HSM policies.
>> * Fully configurable policies:
>>        - All policy aspects made configurable (scope, actions, action 
>> parameters, sort order...)
>>        - Fine-grained specification of policy actions and parameters.
>> * Plugin-based architecture:
>>        - Missing a specific feature in Robinhood core? Implement you own 
>> plugin to manage new kind of policies, maintain specific info in robinhood 
>> DB, enable interactions with specific site ecosystem (job scheduler, system 
>> load...), ...
>> * Enabling the Robinhood community:
>>        - Share your custom policy definitions and plugins, so that other 
>> community members can benefit from them and enrich them!
>> * All Robinhood features in a single instance:
>>        - No more distinct and incompatible robinhood "flavors" (tmpfs, lhsm, 
>> backup...)
>>        - All policies can be implemented in a single robinhood instance.
>> * Get a better overlook of your filesystem contents than ever!
>>        - Tag your filesystem entries based on arbitrary criteria using the 
>> new fileclass implementation.
>>        - Flexible reporting with "rbh-find --printf"
>> * RedHat 7 integration:
>>        - systemd support.
>>        - Per filesystem service: robinhood@<fsname>
>> * New features for Lustre/HSM:
>>        - Undelete: recover accidentally deleted files.
>>        - Implement Lustre/HSM with any backend, using the generic command 
>> copytool shipped with robinhood: 'lhsmtool_cmd'.
>>        - UUID support for Lustre/HSM copytools.
>> * Convenient:
>>        - Automatic DB conversion after major upgrades.
>> * Even more robust & Improved code quality.
>>
>> Robinhood v3 admin documentation is already available online:
>>        https://github.com/cea-hpc/robinhood/wiki/Documentation
>> This documentation is still a work in progress, and should be completed with 
>> other documents (configuration reference, plug-in developer guide, ...).
>>
>> Presentation of robinhood v3:
>>     
>> http://www.eofs.eu/fileadmin/lad2015/slides/18_Thomas_Leibovici_lad_rb
>> h_v3.pdf
>>
>> Packages
>> ========
>> * robinhood-adm (noarch): robinhood admin helper (recommended).
>> * robinhood-lustre: robinhood main package for lustre filesystems (core, 
>> modules and configuration templates).
>>      ° Select the package for the right Lustre version and OS:
>>        e.g. robinhood-3.0-0.r1.lustre2.7.el6.x86_64.rpm for lustre 2.7 on 
>> el6.
>> * robinhood-posix: robinhood main package for other POSIX filesystems (core, 
>> modules and configuration templates).
>>      ° Select the package for the right OS:
>>        e.g. robinhood-3.0-0.rc1.el6.x86_64.rpm for RHEL6.
>> * robinhood-tests (noarch): robinhood test suite (for developpers).
>>
>> For other configurations, build from source tarball:
>> robinhood-3.0.tar.gz
>>
>>
>>
>> ----------------------------------------------------------------------
>> -------- Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T
>> Park in San Francisco, CA to explore cutting-edge tech and listen to tech 
>> luminaries present their vision of the future. This family event has 
>> something for everyone, including kids. Get more information and register 
>> today.
>> http://sdm.link/attshape
>> _______________________________________________
>> robinhood-support mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/robinhood-support
>
> ------------------------------------------------------------------------------
> _______________________________________________
> robinhood-support mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/robinhood-support



---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel 
antivirus Avast.
https://www.avast.com/antivirus


------------------------------------------------------------------------------
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support

Reply via email to