Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPM for PPC64 architecture #151

Open
Hydrocephalic opened this issue Jan 7, 2020 · 12 comments
Open

RPM for PPC64 architecture #151

Hydrocephalic opened this issue Jan 7, 2020 · 12 comments
Assignees

Comments

@Hydrocephalic
Copy link

I've been attempting to install the agent on a ppc64 architecture, following the instructions for RedHat on the LogDNA website:

[root@server ~]# cat /etc/yum.repos.d/logdna.repo
[logdna]
baseurl = https://repo.logdna.com/el6/
enabled = 1
gpgcheck = 1
gpgkey = https://repo.logdna.com/logdna.gpg
name = LogDNA repo

# yum install logdna-agent
Loaded plugins: product-id, search-disabled-repos, subscription-manager, versionlock
No package logdna-agent available.
Error: Nothing to do

[root@server ~]# yum repolist |grep logdna
logdna                                   LogDNA repo                         0+8
CPE OS Name: cpe:/o:redhat:enterprise_linux:7.5:GA:server
Kernel: Linux 3.10.0-862.25.3.el7.ppc64le
Architecture: ppc64-le

It seems to me LogDNA agent has no package for ppc64 architecture.

Would it be possible to publish the PPC64 RPM on the repo?

@Hydrocephalic
Copy link
Author

Do you have any update on this?

@wscanlan
Copy link

wscanlan commented Dec 8, 2022

Hello do you have an update on ppc64 support?
The documentation does not reflect only x86 is supported but It appears only x86 rpm are shipped.

@jsumners
Copy link

jsumners commented Jan 6, 2023

At this time we don’t support PPC64 architecture and don’t have immediate plans on the roadmap for such support.

@smusali smusali removed their assignment Feb 27, 2023
@bogdansavu
Copy link

Hello , there is any way to get the source code to allow us to compile the agent on ppc64le platform?

@dkhokhlov
Copy link

This is old agent. New generation agent based on Rust is located here:

https://github.com/logdna/logdna-agent-v2

Some porting effort will be needed similar to arm64 that was already done.

$ rustup target list | grep powerpc64le
powerpc64le-unknown-linux-gnu

Porting scope is outlined here:
logdna/logdna-agent-v2#405 (comment)

@bogdansavu
Copy link

@dkhokhlov the porting scope is for s390 that is a different platform.
We will need to use the ppc64le Agent to allow us to Integrate PowerVS VMs with LogDNA.
Please let me know what we can do to allow us to compile this agent.

@c-nixon
Copy link

c-nixon commented Aug 26, 2023

Porting the rust agent to ppc will either require much the same work as porting to s390x or perhaps some creative dependency patching to tell cargo to use IBM's ring fork however I have no idea how maintained that fork is

@bogdansavu
Copy link

When I'm trying to build the agent I'm getting this error:
error: failed to run custom build command for ring v0.16.20
I see the latest IBM's ring fork latest version is 0.16.20. How we can create a dependency patching?

@c-nixon
Copy link

c-nixon commented Aug 26, 2023

@bogdansavu
Copy link

I tried using:
[patch.crates-io]
ring = { git = "https://github.com/ibm/ring.git", branch = "ppc-0.16.20" }

but I'm getting this error:
error[E0599]: no method named description_ found for struct KeyRejected in the current scope
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rcgen-0.9.3/src/lib.rs:1624:35
|
1624 | RcgenError::RingKeyRejected(err.description_())
| ^^^^^^^^^^^^ method not found in KeyRejected

For more information about this error, try rustc --explain E0599.
error: could not compile rcgen (lib) due to previous error
warning: build failed, waiting for other jobs to finish...

Any suggestion? It is something that I can fix?

@dkhokhlov
Copy link

it will be better to move this issue to https://github.com/logdna/logdna-agent-v2.
Just create new issue and refer to this one at the beginning.

this repo is old agent - NodeJS based.

@bogdansavu
Copy link

I opened this issue logdna/logdna-agent-v2#540.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants