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

[FVT]Failed to install SN in sles12.2 p8le and X86 #2322

Closed
caomengmeng opened this issue Dec 16, 2016 · 9 comments
Closed

[FVT]Failed to install SN in sles12.2 p8le and X86 #2322

caomengmeng opened this issue Dec 16, 2016 · 9 comments

Comments

@caomengmeng
Copy link
Contributor

caomengmeng commented Dec 16, 2016

Description: Failed to setup SN with latest daily build in sles12.2 p8le and X86

c910f03c17k22:/var/log # lsxcatd -v
Version 2.13.1 (git commit c7eb8b8025d9b8c815b3630461294e5af9803747, built Thu Dec 15 06:15:40 EST 2016)

In sles 12.3 p8le and X86_64, the SN is booted, but xcatd is not running.

RUN:lsdef -l c910f04x12v03 | grep status

[lsdef -l c910f04x12v03 | grep status] Running Time:1 sec
RETURN rc = 0
OUTPUT:
    status=booted
    statustime=12-22-2016 00:39:08
CHECK:rc == 0	[Pass]
CHECK:output =~ booted	[Pass]

RUN:xdsh c910f04x12v03 date

[xdsh c910f04x12v03 date] Running Time:0 sec
RETURN rc = 0
OUTPUT:
c910f04x12v03: Thu Dec 22 05:42:56 EST 2016
c910f04x12v03: Warning: Permanently added 'c910f04x12v03,10.4.12.3' (ECDSA) to the list of known hosts.

CHECK:rc == 0	[Pass]
CHECK:output =~ \d\d:\d\d:\d\d	[Pass]

RUN:xdsh c910f04x12v03 "ps -ef |grep xcatd"

[xdsh c910f04x12v03 "ps -ef |grep xcatd"] Running Time:1 sec
RETURN rc = 0
OUTPUT:
c910f04x12v03: root     13518 13510  0 05:42 ?        00:00:00 bash -c export NODE=c910f04x12v03; export LANG= LC_CTYPE="POSIX" LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL=POSIX PERL_BADLANG=0 ; ps -ef |grep xcatd; export DSH_TARGET_RC=$?; echo ":DSH_TARGET_RC=${DSH_TARGET_RC}:"
c910f04x12v03: root     13545 13518  0 05:42 ?        00:00:00 grep xcatd
c910f04x12v03: :DSH_TARGET_RC=0:
CHECK:rc == 0	[Pass]
CHECK:output =~ xcatd:	[Failed]

RUN:xdsh c910f04x12v03 "lsdef"

[xdsh c910f04x12v03 "lsdef"] Running Time:1 sec
RETURN rc = 1
OUTPUT:
c910f04x12v03: Unable to open socket connection to xcatd daemon on localhost:3001.
c910f04x12v03: Verify that the xcatd daemon is running and that your SSL setup is correct.
c910f04x12v03: Connection failure: IO::Socket::INET: connect: Connection refused at /opt/xcat/lib/perl/xCAT/Client.pm line 248.

RUN:xdsh c910f04x12v03 "tabdump site"

Discussed with @immarvin and he is tracking this issue now with automation test environment.

@caomengmeng caomengmeng added this to the 2.13.1 milestone Dec 16, 2016
@caomengmeng caomengmeng self-assigned this Dec 16, 2016
@caomengmeng caomengmeng changed the title [FVT]Failed to install SN in p8le and X86 [FVT]Failed to install SN in sles12.2 p8le and X86 Dec 16, 2016
@immarvin immarvin assigned immarvin and unassigned caomengmeng Dec 16, 2016
@immarvin
Copy link
Contributor

immarvin commented Jan 4, 2017

cannot be recreated

@whowutwut
Copy link
Member

@caomengmeng Please re-open if it occurs again

@immarvin immarvin reopened this Jan 5, 2017
@immarvin
Copy link
Contributor

immarvin commented Jan 5, 2017

can not find mysqlsetup -u -f /tmp/servicenodes in xCAT-test/autotest/testcase/installation/pre_deploy_sn and xCAT-test/autotest/testcase/installation/SN_setup_case, which is the mandatory step in http://xcat-docs.readthedocs.io/en/stable/advanced/hierarchy/databases/mysql_configure.html

@immarvin
Copy link
Contributor

immarvin commented Jan 5, 2017

this is a issue in test case, can someone in FVT take a look? @tingtli

@immarvin immarvin assigned tingtli and unassigned immarvin Jan 5, 2017
@tingtli
Copy link
Contributor

tingtli commented Jan 5, 2017

@immarvin I think this is realized by following command which is in pre_deploy_sn
$cmd = "echo "GRANT ALL on xcatdb.* TO xcatadmin@'%' IDENTIFIED BY '12345';" | mysql -u root -p12345";

@caomengmeng
Copy link
Contributor Author

Confirmed with @immarvin, it is failed for xCAT code bug, and @immarvin is tracking it.

@whowutwut whowutwut modified the milestones: 2.13.2, 2.13.1 Jan 13, 2017
@caomengmeng
Copy link
Contributor Author

Update description: the latest information is : SN is booted, but xcat failed to work in sles12.2 x86 and p8le.
After run updatenode SN, xcat in SN works well

@immarvin
Copy link
Contributor

immarvin commented Mar 3, 2017

the issue is caused by the incompatibility issue between sysVinit and systemd, open a specific issue in this #2586

the work around is to run "service xcatd restart" on sn manually to start xcatd

@immarvin immarvin modified the milestones: 2.13.3, 2.13.2 Mar 6, 2017
@hu-weihua hu-weihua assigned junxiawang and unassigned tingtli May 15, 2017
@hu-weihua hu-weihua modified the milestones: 2.13.5, 2.13.3 May 15, 2017
@junxiawang
Copy link
Contributor

As investigated this bug need to open for Dev. does not fix it.

@zet809 zet809 modified the milestones: 2.13.6, 2.13.5 Jul 4, 2017
@zet809 zet809 removed this from the 2.13.6 milestone Jul 18, 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

7 participants