Re: [xcat-user] Starting xcatd Error in GnuTLS initialization: Failed to acquire random data.

2018-07-01 Thread Song BJ Yang
hi Pharthiphan Asokan,
 
the error message "SSLEAY_RAND_BYTES:PRNG not seeded" is thrown out by openssl due to lack of random source and seed file on the node. Please check the openssl version on your management node, and check the existence of random devices by `ls -l /dev/*random` and seed file by `stat ~/.rnd`
 
 
more details:
https://www.openssl.org/docs/faq.html#USER1
 
--YANG Song (杨嵩)IBM China System Technology LaboratoryTel: 86-10-82452903Email: yang...@cn.ibm.comAddress: Building 28, ZhongGuanCun Software Park,No.8, Dong Bei Wang West Road, Haidian District Beijing 100193, PRC北京市海淀区东北旺西路8号中关村软件园28号楼邮编: 100193
 
 
- Original message -From: Pharthiphan Asokan To: xCAT Users Mailing list Cc:Subject: [xcat-user] Starting xcatd Error in GnuTLS initialization: Failed to acquire random data.Date: Thu, Jun 28, 2018 1:08 PM  
Hi,
 
I start getting that following error while chaning the rootdir for diskless client.
 
chdef -t osimage -o centos7.4-netboot rootimgdir=/install/netboot/centos7.4/x86_64/centos7.4-netboot
Unable to open socket connection to xcatd daemon on localhost:3001.
Verify that the xcatd daemon is running and that your SSL setup is correct.
Connection failure: SSL connect attempt failed with unknown error error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded at /opt/xcat/lib/perl/xCAT/Client.pm line 282.
 
 
systemctl status xcatd
● xcatd.service - LSB: xcatd
   Loaded: loaded (/etc/rc.d/init.d/xcatd; bad; vendor preset: disabled)
   Active: active (running) since Thu 2018-06-28 01:03:23 EDT; 1min 51s ago
 Docs: man:systemd-sysv-generator(8)
  Process: 4082 ExecStop=/etc/rc.d/init.d/xcatd stop (code=exited, status=0/SUCCESS)
  Process: 4127 ExecStart=/etc/rc.d/init.d/xcatd start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/xcatd.service
   ├─4158 xcatd: SSL listener
   ├─4159 xcatd: DB Access
   ├─4160 xcatd: UDP listener
   ├─4161 xcatd: install monitor
   ├─4162 xcatd: Discovery worker
   └─4163 xcatd: Command log writer
 
Jun 28 01:03:22 ime6-01 systemd[1]: Starting LSB: xcatd...
Jun 28 01:03:23 ime6-01 xcatd[4127]: Starting xcatd Error in GnuTLS initialization: Failed to acquire random data.
Jun 28 01:03:23 ime6-01 xcatd[4127]: [  OK  ]
Jun 28 01:03:23 ime6-01 systemd[1]: Started LSB: xcatd.
 
Regards,
Pharthiphan
--Check out the vibrant tech community on one of the world's mostengaging tech sites, Slashdot.org! http://sdm.link/slashdot
___xCAT-user mailing listxCAT-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/xcat-user
 


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user


Re: [xcat-user] resolv.conf multiple search domains

2018-07-01 Thread Yuan Y Bai
Hi Jeff,
 
You can also customize /etc/resolv.conf.
 
When a node boots up in statelite mode, it will by default copy all of its tmpfs files from the .default directory of the root image, for example /install/netboot/rhels7.3/x86_64/compute/rootimg/.default, so there is not required to set up a litetree table. If you decide that you want some of the files pulled from different locations that are different per node, you can use this table. The litetree table controls where the initial content of the files in the litefile table come from, and the long term content of the ro files.
 
Best Regards--Yuan Bai (白媛)CSTL HPC System Management DevelopmentTel:86-10-82451401E-mail: by...@cn.ibm.comAddress: IBM ZGC Campus. Ring Building 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District,Beijing P.R.China 100193IBM环宇大厦北京市海淀区东北旺西路8号,中关村软件园28号楼邮编:100193
 
 
- Original message -From: Jeff Berry To: xCAT Users Mailing list Cc:Subject: [xcat-user] resolv.conf multiple search domainsDate: Fri, Jun 29, 2018 9:54 PM 
Good afternoon,configuring the cluster is proceeding apace, and I find myself unclear on how best to deal with some dns issues.xcat 2.14.1, Master and statelite nodes all running CentOS7.5When I boot, a resolv.conf file is being generated and installed, and although it has the right nameservers, it does not have the search domains we want.  After liteimg, the .defaults/etc/resolv.conf file contains just the dummy line.  And on boot, I end up with a resolv.conf that looks like:search  nameserver nameserver nameserver nameserver That is, the same domain is duplicated on the search line.  The nameservers themselves are correct, though.I tried editing the .defaults/etc/resolv.conf file, but it had no effect.Obviously I am unclear on how that resolv.conf file is being generated, and any pointers that anyone can provide will be gratefully followed up.Jeff Berry, MRC CBU--Check out the vibrant tech community on one of the world's mostengaging tech sites, Slashdot.org! http://sdm.link/slashdot___xCAT-user mailing listxCAT-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/xcat-user 
 


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user