These 2 lines are not fatal errors which caused otherpkgs return non-zero
 

./otherpkgs: line 821: /usr/bin/logger: Argument list too long

./otherpkgs: line 931: /usr/bin/logger: Argument list too long

Please provide the full output of `updatenode <node_name> -P otherpkgs -V` to find out the real point of the failure
 
------------------------------------------------------------------------------
YANG Song (杨嵩)
IBM China System Technology Laboratory
Tel: 86-10-82452903
Email: yang...@cn.ibm.com
Address: Building 28, ZhongGuanCun Software Park,
No.8, Dong Bei Wang West Road, Haidian District Beijing 100193, PRC

北京市海淀区东北旺西路8号中关村软件园28号楼
邮编: 100193
 
 
----- Original message -----
From: "Heckes Frank \(CI/OSB4\) via xCAT-user" <xcat-user@lists.sourceforge.net>
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Cc: "Heckes Frank \(CI/OSB4\)" <frank.hec...@de.bosch.com>
Subject: [EXTERNAL] [xcat-user] otherpkg extension don't work
Date: Fri, May 24, 2019 10:06 PM
 

HI all,

 

I’m running the following xCAT version:

lsxcatd -a

Version 2.13.10 (git commit 4fe63ecd9f836f3cf447118d461e1c10c69b1652, built Fri Jan 26 00:09:41 EST 2018)

This is a Management Node

cfgloc=Pg:dbname=xcatdb;host=10.139.56.195|xcatadm

dbengine=Pg

dbname=xcatdb

dbhost=10.139.56.195

dbadmin=xcatadm

 

I added yet another subdirectory to the top-level otherpkgdir – directory, populate it with RPMs (RHEL7 stateful installation),
created a repolist (
à createrepo) and tried to update a stateful node with help of the command:
   updatenode <node_name> -P otherpkgs

 

Anyway the installation fails with  

 

(xcat.log on client)

./otherpkgs: line 821: /usr/bin/logger: Argument list too long

./otherpkgs: line 931: /usr/bin/logger: Argument list too long

 

(syslog on master)

May 24 14:39:58 si-002l.de.bosch.com xcat.mypostscript:  postscript otherpkgs return with 1

May 24 14:39:58 si-002l xcat.xcatdsklspost:  returned from postscript

 

The same happens if I recreate mypostscritp.sh utilizing the nodeset – command and re-run the updatenode command.

 

The repo is visiable on client node (see repolist output) and files can be retrieved with wget: Also using a local

Yum install selects the correct RPM from the new repository (see captured command output below)

Any idea to resolve this? Many thanks in advance.

 

Cheers,

-Frank

 

----                    COMMAND       OUTPUT                       ----

[root@si-002l ~]# yum repolist

Loaded plugins: product-id, search-disabled-repos, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

repo id                                                                                                      repo name                                                                                                                 status

local-rhels7.5-x86_64--install-rhels7.5-x86_64                                                               xCAT configured yum repository for /install/rhels7.5/x86_64                                                               5,099

local-rhels7.5-x86_64--install-rhels7.5-x86_64-addons-HighAvailability                                       xCAT configured yum repository for /install/rhels7.5/x86_64/addons/HighAvailability                                          47

local-rhels7.5-x86_64--install-rhels7.5-x86_64-addons-ResilientStorage                                       xCAT configured yum repository for /install/rhels7.5/x86_64/addons/ResilientStorage                                          52

xCAT-rhels7.5-path0                                                                                          xCAT-rhels7.5-path0                                                                                                       5,099

xcat-otherpkgs0        

 

[root@si-002l ~]# yum repolist -v xcat-otherpkgs0

Not loading "rhnplugin" plugin, as it is disabled

Loading "product-id" plugin

Loading "search-disabled-repos" plugin

Loading "subscription-manager" plugin

Updating Subscription Management repositories.

Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Config time: 0.058

Yum version: 3.4.3

Setting up Package Sacks

pkgsack time: 0.004

Repo-id      : xcat-otherpkgs0

Repo-name    : xcat-otherpkgs0

Repo-status  : enabled

Repo-revision: 1558698781

Repo-updated : Fri May 24 13:53:05 2019

Repo-pkgs    : 1,162

Repo-size    : 1.1 G

Repo-baseurl : http://10.139.56.195/install/images/builds/rhels7.5/x86_64/install/vis-node-1.0.0/otherpkgs/visaddons

Repo-expire  : 21,600 second(s) (last: Fri May 24 14:39:25 2019)

  Filter     : read-only:present

Repo-filename: /etc/yum.repos.d/xCAT-otherpkgs0.repo

 

repolist: 1,162

 

[root@si-002l ~]# wget http://10.139.56.195/install/images/builds/rhels7.5/x86_64/install/vis-node-1.0.0/otherpkgs/visaddons/zsh-5.0.2-31.el7.x86_64.rpm

--2019-05-24 15:29:52--  http://10.139.56.195/install/images/builds/rhels7.5/x86_64/install/vis-node-1.0.0/otherpkgs/visaddons/zsh-5.0.2-31.el7.x86_64.rpm

Connecting to 10.139.56.195:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 2496356 (2.4M) [application/x-rpm]

Saving to: ‘zsh-5.0.2-31.el7.x86_64.rpm’

 

100%[===================================================================================================================================================================================================>] 2,496,356   --.-K/s   in 0.005s

 

2019-05-24 15:29:52 (506 MB/s) - ‘zsh-5.0.2-31.el7.x86_64.rpm’ saved [2496356/2496356]


 

 

 

[root@si-002l ~]# yum  install zsh

Loaded plugins: product-id, search-disabled-repos, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

Resolving Dependencies

--> Running transaction check

---> Package zsh.x86_64 0:5.0.2-31.el7 will be installed

--> Finished Dependency Resolution

 

Dependencies Resolved

 

=============================================================================================================================================================================================================================================

Package                                            Arch                                                  Version                                                       Repository                                                      Size

=============================================================================================================================================================================================================================================

Installing:

zsh                                                x86_64                                                5.0.2-31.el7                                                  xcat-otherpkgs0                                                2.4 M

 

Transaction Summary

=============================================================================================================================================================================================================================================

Install  1 Package

 

Total download size: 2.4 M

Installed size: 5.6 M

Is this ok [y/d/N]:

_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user
 

_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to