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

[Customer] Can't locate Getopt /Std.pm during genesis discovery #2475

Closed
cxhong opened this issue Feb 10, 2017 · 11 comments
Closed

[Customer] Can't locate Getopt /Std.pm during genesis discovery #2475

cxhong opened this issue Feb 10, 2017 · 11 comments

Comments

@cxhong
Copy link
Contributor

cxhong commented Feb 10, 2017

Lab Service reported this error during genesis discovery:

<166>Feb 10 11:41:06 xcat.genesis.doxcat: Starting ntpd...
<166>Feb 10 11:41:06 xcat.genesis.doxcat: Waiting for ntpd to synchronize...
Can't locate Getopt/Std.pm in @INC (you may need to install the Getopt::Std module) (@INC contains: /usr/l
ocal/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib
64/perl5 /usr/share/perl5 .) at /usr/sbin/ntp-wait line 5.
BEGIN failed--compilation aborted at /usr/sbin/ntp-wait line 5.
<166>Feb 10 11:41:06 xcat.genesis.doxcat: ... ntpd did not synchronize.
<166>Feb 10 11:41:06 xcat.genesis.doxcat: Attempting to sync hardware clock...

Here is xCAT version on their system:

[root@smn dev]# lsxcatd -a
Version 2.13.1 (git commit 62bd7a4072bb629ede16974272c993f4e707765f, built Wed Jan 11 08:45:41 EST 2017)
This is a Management Node
dbengine=SQLite
@immarvin
Copy link
Contributor

hi @zet809 , would you please take a look at this?

@whowutwut
Copy link
Member

Assigned to @neo954 This issue occurs when running code changed by PR #2333

@zet809
Copy link

zet809 commented Feb 14, 2017

I need to rebuild xcat-genesis-base to include those libraries.

@whowutwut
Copy link
Member

Is this something that we have looked into potentially using containers to help simplify the re-build process of the dependencies?

@zet809
Copy link

zet809 commented Feb 15, 2017

No, for genesis-base-ppc64, I was using my CN which had been installed Fedora23 before.

@neo954
Copy link
Contributor

neo954 commented Feb 17, 2017

Tested xCAT-genesis-base-ppc64-2.13.2-snap201702150049.noarch on a PowerVM LPAR. And get the following error message

[xCAT Genesis running on (none) /]# ntp-wait                                   Unexpected first line <System error>

@neo954
Copy link
Contributor

neo954 commented Feb 17, 2017

Anyway, the ntp-wait can be run in the genesis now. We still need to solve the network problem for PowerVM LPAR, which need linux kernel module ibmveth. It is another problem.

@neo954
Copy link
Contributor

neo954 commented Feb 17, 2017

@zet809, Please continue working on rebuild xCAT-genesis-base-ppc64 and xCAT-genesis-base-x86_64 with ...

  • Use CentOS 7.3 as the base Linux distro, and
  • Include all the Linux kernel modules that CentOS 7.3 shipped.

@whowutwut
Copy link
Member

@zet809 @neo954 we have issue #2258 to track this. If we think it's higher priority, we should probably move it up in the backlog and see if someone can work on it.

@zet809
Copy link

zet809 commented Feb 24, 2017

The whole perl library had been included in xcat-genesis-base-2.13.2 build available at https://xcat.org/files/xcat/repos/yum/xcat-dep/xCAT-genesis-base-ppc64-2.13.2-snap201702150049.noarch.rpm. @neo954 If you have verified, will you pls close this defect? Thx!

@zet809
Copy link

zet809 commented Feb 28, 2017

This issue can be fixed with the genesis-base mentioned above, I had verified it, so close this defect.

@zet809 zet809 closed this as completed Feb 28, 2017
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

5 participants