ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bhuvnesh chaudhary (JIRA)" <>
Subject [jira] [Commented] (AMBARI-13825) Exchange of keys should be done during start phase (not during install)
Date Thu, 12 Nov 2015 19:59:11 GMT


bhuvnesh chaudhary commented on AMBARI-13825:

the test which failed are not related to the change made in hawq plugin \.
Failed tests: 
  UpgradeResourceProviderTest.testGetResources:395->testCreateResources:1105 expected:<8>
but was:<9>
  UpgradeResourceProviderTest.testAbort:668->testCreateResources:1105 expected:<8>
but was:<9>
  UpgradeResourceProviderTest.testRetry:691->testCreateResources:1105 expected:<8>
but was:<9>
  UpgradeResourceProviderTest.testPercents:810->testCreateResources:1105 expected:<8>
but was:<9>
  UpgradeResourceProviderTest.testCreateResourcesWithAutoSkipFailures:296 expected:<2>
but was:<3>
expected:<2> but was:<3>
  UpgradeResourceProviderHDP22Test.testCreateIntraStackUpgrade:278 expected:<3> but
  UpgradeHelperTest.testDowngradeOrchestration:442 expected:<3> but was:<4>
  UpgradeHelperTest.testUpgradeOrchestration:234 expected:<4> but was:<3>

Tests in error: 
  StartStopServerTest.testServerStatus:135 ยป Connect Connection refused

Tests run: 3388, Failures: 9, Errors: 1, Skipped: 31

[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:36 h
[INFO] Finished at: 2015-11-12T06:46:59+00:00
[INFO] Final Memory: 28M/727M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.13:test (default-test)
on project ambari-server: There are test failures.
[ERROR] Please refer to /home/jenkins/jenkins-slave/workspace/Ambari-trunk-test-patch/ambari/ambari-server/target/surefire-reports
for the individual test results.

> Exchange of keys should be done during start phase (not during install)
> -----------------------------------------------------------------------
>                 Key: AMBARI-13825
>                 URL:
>             Project: Ambari
>          Issue Type: Bug
>          Components: stacks
>            Reporter: bhuvnesh chaudhary
>            Assignee: bhuvnesh chaudhary
>            Priority: Minor
>             Fix For: trunk
>         Attachments: AMBARI-13825.patch
> ssh-exkeys is setup to be executed as part of installation for the service. There is
no install time dependencies for HAWQ components, so if hawq master install is triggered first,
it will execute ssh keys with slaves but incase if hawq segment install is not invoked by
ambari yet, gpadmin user will not be present and hawq master install may fail during it while
exchanging keys. 
> We need to put exchange keys during start of master service and not install.
> {noformat}
> /usr/local/hawq/ext/python/lib/python2.6/ GetPassWarning: Can not control
echo on the terminal.
>   passwd = fallback_getpass(prompt, stream)
> Warning: Password input may be echoed.
>   *** Enter password for [STEP 1 of 5] create local
ID and authorize on local host
>   ... /home/gpadmin/.ssh/id_rsa file exists ... key generation skipped
> [STEP 2 of 5] keyscan all hosts and update known_hosts file
> [STEP 3 of 5] authorize current user on remote hosts
>   ... send to
>   ... send to
>   ... send to
>   ... send to
> Traceback (most recent call last):
>   File "/usr/local/hawq/./bin/gpssh-exkeys", line 753, in <module>
>     send_local_id = h.sendLocalID(localID, GV.passwd, tempDir if isExistingHost else
>   File "/usr/local/hawq/./bin/gpssh-exkeys", line 200, in sendLocalID
>     pwd = getpass.getpass('  *** Enter password for %s: ' % (self.m_host), sys.stderr)
>   File "/usr/local/hawq/ext/python/lib/python2.6/", line 79, in unix_getpass
>     passwd = fallback_getpass(prompt, stream)
>   File "/usr/local/hawq/ext/python/lib/python2.6/", line 114, in fallback_getpass
>     return _raw_input(prompt, stream)
>   File "/usr/local/hawq/ext/python/lib/python2.6/", line 130, in _raw_input
>     raise EOFError
> EOFError
> {noformat}

This message was sent by Atlassian JIRA

View raw message