Project

General

Profile

Actions

Architecture #10004

closed

Rudder Agent on ARM

Added by Romuald Bouvard over 7 years ago. Updated over 4 years ago.

Status:
Rejected
Priority:
3
Category:
Agent
Effort required:
Name check:
Fix check:
Regression:

Description

Hello all,

i would like to install the rudder-agent on a raspberry PI (3.18.11-v7+ #781 -- armv7l GNU/Linux) but it seems that you don't have the repos to do it by apt.

Do you have any tips for it ?

thanks
Romuald

Actions #1

Updated by Benoît PECCATTE over 7 years ago

We indeed do not have a regular build for raspberry pi.

But it is possible to build the agent since some users did it.
Here is a non exhaustive procedure :
- git clone https://github.com/Normation/rudder-packages.git
- cd rudder-agent

For a local build :
- cd SOURCES && make && make install

For a debian package
- fakeroot debian/rules binary

Both may contain some difficulties as it is only recently that we took time to make it easier to build the package and this process is not finished.
If you find difficulties, don't hesitate to contact us here or on IRC at freenode/#rudder

We may also do it one day if some client ask for it.

Actions #2

Updated by Vincent MEMBRÉ about 7 years ago

  • Subject changed from Rudder Agent to Rudder Agent on ARM
  • Status changed from New to Discussion
  • Assignee set to Romuald Bouvard

Hello Romuald,

Does Benoit procedure helps you ?

We may provide a better documentation or even some packages from debian on Arm quite soon. maybe it would be interesting to have your use case and see how we can do a better agent on ARM :)

Actions #3

Updated by Benoît PECCATTE about 7 years ago

I have built an agent on armhf debian jessie.
This should work on raspberry pi with recent raspbian (based on jessie), but is is not yet tested.

Tell me if you want to try it I can put it somewhere.

Actions #4

Updated by Romuald Bouvard about 7 years ago

Hello guys,

thanks a lot for your updates.

@Vincent,

I didn't succeed with the procedure of Benoit.

@Benoit,

maybe you can share on a git repo your work and if it's possible to give me a process to build the ruddder-agent on raspberry. It would be great for me.

Thanks
Romu

Actions #5

Updated by Chris F almost 7 years ago

Hi.

I am trying to get the rudder agent to work on a Pi as well, but with no luck. Did anyone else have success with that? If so, could you help point me to the process to successfully build the rudder-agent that Romu mentioned above?

Thanks.
Chris

Actions #6

Updated by Jonathan CLARKE almost 7 years ago

  • Assignee changed from Romuald Bouvard to Benoît PECCATTE

Hi! It's good to know there's interest for this agent - we will make sure to publish a testable package for Raspbian/ARM soon.

In the meantime, there is a more detailed build process documented here: http://www.rudder-project.org/doc-4.1/_building_the_rudder_agent.html. Does that work for you?

Actions #7

Updated by Chris F almost 7 years ago

Jonathan,

Thank you for your response. Yes - I did go through those steps - several times (on different Pis). Unfortunately they all seem to stop with the following:

Makefile.PL: The "xdefine" exists, skipping the configure step.
("/usr/src/rudder-packages/rudder-agent/SOURCES/perl-5.22.0/miniperl Makefile.PL --configure" to force the configure step)
Warning: No Makefile!
make3: Entering directory '/usr/src/rudder-packages/rudder-agent/SOURCES/perl-5.22.0/cpan/Time-HiRes'
make3: * No rule to make target 'all'. Stop.
make3: Leaving directory '/usr/src/rudder-packages/rudder-agent/SOURCES/perl-5.22.0/cpan/Time-HiRes'
make3: Entering directory '/usr/src/rudder-packages/rudder-agent/SOURCES/perl-5.22.0/cpan/Time-HiRes'
make3:
No rule to make target 'all'. Stop.
make3: Leaving directory '/usr/src/rudder-packages/rudder-agent/SOURCES/perl-5.22.0/cpan/Time-HiRes'
Unsuccessful make(cpan/Time-HiRes): code=512 at make_ext.pl line 574.
makefile:587: recipe for target 'lib/auto/Time/HiRes/HiRes.so' failed
make2:
[lib/auto/Time/HiRes/HiRes.so] Error 2
make2: Leaving directory '/usr/src/rudder-packages/rudder-agent/SOURCES/perl-5.22.0'
Makefile:422: recipe for target 'build-perl' failed
make1:
[build-perl] Error 2
make1: Leaving directory '/usr/src/rudder-packages/rudder-agent/SOURCES'
debian/rules:50: recipe for target 'build' failed
make: *
* [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

What are your thoughts on how to get past this?

Thanks again for any help or pointing me in the right direction to figure it out.

Chris

Actions #8

Updated by John Willhelm almost 7 years ago

Hello!

Was there perhaps an offline response to the previous entry? So fortunate I was able to find this site with folks having similar issues. I have numerous Pis deployed and need to manage them with my Rudder server. I have also gone through the steps from the link provided above to build the Rudder agent and got similar results as reported by the previous user.

When is the estimated time frame for a Raspbian/ARM testable package as mentioned above? What else can I do in the meantime to get the Rudder agent installed on my devices?

Chris - did you ever have any success?

Thanks,
John

Actions #9

Updated by Benoît PECCATTE almost 7 years ago

Chris, is seems that there is a problem with building perl dependencies.
It looks like you have tried the build without using dpkg metod, if so could you try changing USE_SYSTEM_PERL between true and false ?
Otherwise, could you give me the command line you used ?

Actions #10

Updated by Benoît PECCATTE almost 7 years ago

Anyway, for John and anyone interested here is a build that should work on raspberry pi http://www.rudder-project.org/temporary/rudder-agent_4.1.1_armhf.deb

This package work on raspberry pi v2 or more (armv7) and on armbian 4 (Debian jessie on raspberry pi).

If it doesn't work for you, please, let me know.

Actions #12

Updated by Benoît PECCATTE almost 7 years ago

Thanks!

Actions #13

Updated by Florian Heigl over 5 years ago

bump

it would be easier for everyone if test builds were available before people don't need test builds anymore.
considering AWS has aarch64 available now, I don't need how much more mainstream it needs to become to warrant interest by you.

on the low end rudder is best suited for manangement of embedded stuff and it's hard to understand why it's not at least getting a day per year.

Actions #14

Updated by Benoît PECCATTE over 4 years ago

  • Status changed from Discussion to Rejected

Those builds are already done.
It's just there is only nightly packages

Actions

Also available in: Atom PDF