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

Remap arm64 to aarch64 on rpm/deb packages #6635

Merged
merged 1 commit into from
Dec 8, 2021

Conversation

jpkrohling
Copy link
Member

Fixes #6508

Signed-off-by: Juraci Paixão Kröhling juraci@kroehling.de

Fixes #6508

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
@jpkrohling jpkrohling marked this pull request as ready for review December 8, 2021 14:55
@jpkrohling jpkrohling requested review from a team and anuraaga December 8, 2021 14:55
@jpkrohling
Copy link
Member Author

jpkrohling commented Dec 8, 2021

I did a manual test of this on a t4g.micro and looks like it works:

# uname -a
Linux ip-172-31-28-190.us-east-2.compute.internal 5.10.75-79.358.amzn2.aarch64 #1 SMP Thu Nov 4 21:08:53 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux


# yum install otel-contrib-collector-0.40.0~post-1.aarch64.rpm
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
Examining otel-contrib-collector-0.40.0~post-1.aarch64.rpm: otel-contrib-collector-0.40.0~post-1.aarch64
Marking otel-contrib-collector-0.40.0~post-1.aarch64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package otel-contrib-collector.aarch64 0:0.40.0~post-1 will be installed
--> Finished Dependency Resolution
amzn2-core/2/aarch64                                                                                                                                                                                                   | 3.7 kB  00:00:00     

Dependencies Resolved

==============================================================================================================================================================================================================================================
 Package                                                   Arch                                       Version                                          Repository                                                                        Size
==============================================================================================================================================================================================================================================
Installing:
 otel-contrib-collector                                    aarch64                                    0.40.0~post-1                                    /otel-contrib-collector-0.40.0~post-1.aarch64                                    134 M

Transaction Summary
==============================================================================================================================================================================================================================================
Install  1 Package

Total size: 134 M
Installed size: 134 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : otel-contrib-collector-0.40.0~post-1.aarch64                                                                                                                                                                               1/1 
Created symlink from /etc/systemd/system/multi-user.target.wants/otel-contrib-collector.service to /usr/lib/systemd/system/otel-contrib-collector.service.
  Verifying  : otel-contrib-collector-0.40.0~post-1.aarch64                                                                                                                                                                               1/1 

Installed:
  otel-contrib-collector.aarch64 0:0.40.0~post-1                                                                                                                                                                                              

Complete!

# systemctl status otel-contrib-collector.service 
● otel-contrib-collector.service - OpenTelemetry Contrib Collector
   Loaded: loaded (/usr/lib/systemd/system/otel-contrib-collector.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2021-12-08 14:54:31 UTC; 23s ago
 Main PID: 30621 (otelcontribcol)
   CGroup: /system.slice/otel-contrib-collector.service
           └─30621 /usr/bin/otelcontribcol --config=/etc/otel-contrib-collector/config.yaml

Dec 08 14:54:31 ip-172-31-28-190.us-east-2.compute.internal otelcontribcol[30621]: 2021-12-08T14:54:31.327Z        info        builder/receivers_builder.go:68        Receiver is starting...        {"kind": "receiver", "name": "zipkin"}
Dec 08 14:54:31 ip-172-31-28-190.us-east-2.compute.internal otelcontribcol[30621]: 2021-12-08T14:54:31.327Z        info        builder/receivers_builder.go:73        Receiver started.        {"kind": "receiver", "name": "zipkin"}
Dec 08 14:54:31 ip-172-31-28-190.us-east-2.compute.internal otelcontribcol[30621]: 2021-12-08T14:54:31.327Z        info        builder/receivers_builder.go:68        Receiver is starting...        {"kind": "receiver", "name": "otlp"}
Dec 08 14:54:31 ip-172-31-28-190.us-east-2.compute.internal otelcontribcol[30621]: 2021-12-08T14:54:31.328Z        info        otlpreceiver/otlp.go:68        Starting GRPC server on endpoint 0.0.0.0:4317        {"kind": "r...ame": "otlp"}
Dec 08 14:54:31 ip-172-31-28-190.us-east-2.compute.internal otelcontribcol[30621]: 2021-12-08T14:54:31.328Z        info        builder/receivers_builder.go:73        Receiver started.        {"kind": "receiver", "name": "otlp"}
Dec 08 14:54:31 ip-172-31-28-190.us-east-2.compute.internal otelcontribcol[30621]: 2021-12-08T14:54:31.328Z        info        healthcheck/handler.go:129        Health Check state change        {"kind": "extension", "name"...us": "ready"}
Dec 08 14:54:31 ip-172-31-28-190.us-east-2.compute.internal otelcontribcol[30621]: 2021-12-08T14:54:31.329Z        info        service/telemetry.go:92        Setting up own telemetry...
Dec 08 14:54:31 ip-172-31-28-190.us-east-2.compute.internal otelcontribcol[30621]: 2021-12-08T14:54:31.329Z        info        service/telemetry.go:116        Serving Prometheus metrics        {"address": ":8888", "level":...n": "latest"}
Dec 08 14:54:31 ip-172-31-28-190.us-east-2.compute.internal otelcontribcol[30621]: 2021-12-08T14:54:31.330Z        info        service/collector.go:239        Starting otelcontribcol...        {"Version": "c9fe0a7", "NumCPU": 2}
Dec 08 14:54:31 ip-172-31-28-190.us-east-2.compute.internal otelcontribcol[30621]: 2021-12-08T14:54:31.330Z        info        service/collector.go:135        Everything is ready. Begin running and processing data.
Hint: Some lines were ellipsized, use -l to show in full.

@jpkrohling
Copy link
Member Author

@bogdandrutu bogdandrutu merged commit 851e126 into open-telemetry:main Dec 8, 2021
PaurushGarg referenced this pull request in open-o11y/opentelemetry-collector-contrib Dec 11, 2021
Fixes #6508

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
PaurushGarg referenced this pull request in open-o11y/opentelemetry-collector-contrib Dec 11, 2021
Fixes #6508

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
@KingJ KingJ mentioned this pull request Dec 11, 2021
KingJ added a commit to KingJ/opentelemetry-collector-contrib that referenced this pull request Dec 11, 2021
codeboten pushed a commit that referenced this pull request Dec 13, 2021
PaurushGarg referenced this pull request in open-o11y/opentelemetry-collector-contrib Dec 14, 2021
Fixes #6508

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
PaurushGarg referenced this pull request in open-o11y/opentelemetry-collector-contrib Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Otel-contrib-collector arm64 is not getting installed on AWS graviton instances
3 participants