Hey y'all,
So what scripts/process builds the group of rpms for the tag opstools7-fluentd-012-release? I would like to build them for ppc64le.
So the packages in http://mirror.centos.org/centos/7/opstools/x86_64/
Would end up mirror.centos.org/altarch/7/opstools/ppc64le/
Is this something I could help with?
On Wed, Feb 21, 2018 at 07:21:35PM -0600, Mark Hamzy wrote:
Hey y'all,
So what scripts/process builds the group of rpms for the tag opstools7-fluentd-012-release? I would like to build them for ppc64le.
So the packages in http://mirror.centos.org/centos/7/opstools/x86_64/
Would end up mirror.centos.org/altarch/7/opstools/ppc64le/
Is this something I could help with?
You can check the packages associated with that tag at: http://cbs.centos.org/koji/packages?tagID=1127
And the current builds at: https://buildlogs.centos.org/centos/7/opstools/ppc64le/
So I guess the next step would be to rebuild anything that is missing and needed for ppc64le.
As to getting that content added to the mirror infrastructure I have no idea but others can chime in.
Yours Tony.
From: Tony Breeds tony@bakeyournoodle.com To: "The CentOS developers mailing list." centos-devel@centos.org Date: 02/21/2018 08:59 PM Subject: Re: [CentOS-devel] [opstools] Building opstools7- fluentd-012-release for ppc64le Sent by: "CentOS-devel" centos-devel-bounces@centos.org
And the current builds at: https://buildlogs.centos.org/centos/7/opstools/ppc64le/
So I guess the next step would be to rebuild anything that is missing and needed for ppc64le.
()[root@a0a1373d4ce8 /]# yum info fluentd hostname rubygem-fluent-plugin-elasticsearch rubygem-fluent-plugin-grok-parser rubygem-fluent-plugin-kubernetes_metadata_filter rubygem-fluent-plugin-rewrite-tag-filter rubygem-fluent-plugin-secure-forward 2>/dev/null| grep ^Name Name : hostname Name : fluentd Name : rubygem-fluent-plugin-elasticsearch Name : rubygem-fluent-plugin-rewrite-tag-filter Name : rubygem-fluent-plugin-secure-forward
rubygem-fluent-plugin-grok-parser and rubygem-fluent-plugin-kubernetes_metadata_filter are missing. They are both noarch, so I don't know what went wrong there.
Pulling them in with the following hack worked:
diff --git a/docker/fluentd/Dockerfile.j2 b/docker/fluentd/Dockerfile.j2 index af2452a..ff88be3 100644 --- a/docker/fluentd/Dockerfile.j2 +++ b/docker/fluentd/Dockerfile.j2 @@ -17,12 +17,22 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build 'fluentd', 'hostname', 'rubygem-fluent-plugin-elasticsearch', - 'rubygem-fluent-plugin-grok-parser', - 'rubygem-fluent-plugin-kubernetes_metadata_filter', 'rubygem-fluent-plugin-rewrite-tag-filter', 'rubygem-fluent-plugin-secure-forward' ] %}
+ {% if base_arch == 'x86_64' %} + {% set fluentd_packages = fluentd_packages + [ + 'rubygem-fluent-plugin-grok-parser', + 'rubygem-fluent-plugin-kubernetes_metadata_filter' + ] %} + {% elif base_arch == 'ppc64le' %} + {% set fluentd_packages = fluentd_packages + [ + 'http://cbs.centos.org/kojifiles/packages/rubygem-fluent-plugin-grok-parser/0... + 'http://cbs.centos.org/kojifiles/packages/rubygem-fluent-plugin-kubernetes_me... + ] %} + {% endif %} + {% elif base_distro in ['debian', 'ubuntu'] %} {{ macros.configure_user(name='td-agent', groups='mysql') }} {% set fluentd_packages = [
On Wed, Feb 21, 2018 at 09:56:40PM -0600, Mark Hamzy wrote:
From: Tony Breeds tony@bakeyournoodle.com To: "The CentOS developers mailing list." centos-devel@centos.org Date: 02/21/2018 08:59 PM Subject: Re: [CentOS-devel] [opstools] Building opstools7- fluentd-012-release for ppc64le Sent by: "CentOS-devel" centos-devel-bounces@centos.org
And the current builds at: https://buildlogs.centos.org/centos/7/opstools/ppc64le/
So I guess the next step would be to rebuild anything that is missing and needed for ppc64le.
()[root@a0a1373d4ce8 /]# yum info fluentd hostname rubygem-fluent-plugin-elasticsearch rubygem-fluent-plugin-grok-parser rubygem-fluent-plugin-kubernetes_metadata_filter rubygem-fluent-plugin-rewrite-tag-filter rubygem-fluent-plugin-secure-forward 2>/dev/null| grep ^Name Name : hostname Name : fluentd Name : rubygem-fluent-plugin-elasticsearch Name : rubygem-fluent-plugin-rewrite-tag-filter Name : rubygem-fluent-plugin-secure-forward
rubygem-fluent-plugin-grok-parser and rubygem-fluent-plugin-kubernetes_metadata_filter are missing. They are both noarch, so I don't know what went wrong there.
There is an open and unresolved bug. Parts of opstools have been rebuilt for ppc and aarch64, but not all of them.
https://bugs.centos.org/view.php?id=12854
That bug actually celebrated its first birthday yesterday.
Matthias