You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Sumit Mohanty (JIRA)" <ji...@apache.org> on 2014/06/27 01:44:26 UTC
[jira] [Updated] (AMBARI-5689) In some cases automated agent setup
doesn't work
[ https://issues.apache.org/jira/browse/AMBARI-5689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sumit Mohanty updated AMBARI-5689:
----------------------------------
Fix Version/s: (was: 1.7.0)
1.6.1
> In some cases automated agent setup doesn't work
> ------------------------------------------------
>
> Key: AMBARI-5689
> URL: https://issues.apache.org/jira/browse/AMBARI-5689
> Project: Ambari
> Issue Type: Task
> Components: agent
> Affects Versions: 1.6.0
> Reporter: Dmitry Lysnichenko
> Assignee: Dmitry Lysnichenko
> Fix For: 1.6.1
>
>
> setupAgent.py will fail in such test scenarios:
> - In case if script will be started without parameters - script will failed without reasonable error output.
> - In case if script will be started without passed project version string and repository in the system will contain at least one available version of agent.
> For example:
> function call retcode = getOptimalVersion("") will always return exitcode 1, as any founded in repository version will not match blank string
> - In case if script will be started without passed project version.
> Error output will fail, because of projectVersion variable will contain "None" type, not string.
> - In case if repository will contain several versions of packages with versions like "1.0.1, 1.0.3-SNAPSHOT, 1.0.5" getAvaliableAgentPackageVersions and findNearestAgentPackageVersion functions will return wrong result "1.0.1, 1.0.3" and version 1.0.5 will be missed.
--
This message was sent by Atlassian JIRA
(v6.2#6252)