ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arsen Babych (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-4713) Nagios and Hive fails, when password is numberonly
Date Tue, 18 Feb 2014 15:59:19 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-4713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13904185#comment-13904185
] 

Arsen Babych commented on AMBARI-4713:
--------------------------------------

+1

> Nagios and Hive fails, when password is numberonly
> --------------------------------------------------
>
>                 Key: AMBARI-4713
>                 URL: https://issues.apache.org/jira/browse/AMBARI-4713
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 1.5.0
>
>         Attachments: AMBARI-4713.patch
>
>
> {code}
> Traceback (most recent call last):
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/NAGIOS/package/scripts/nagios_server.py",
line 113, in <module>
>     NagiosServer().execute()
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 95, in execute
>     method(env)
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/NAGIOS/package/scripts/nagios_server.py",
line 33, in install
>     self.configure(env)
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/NAGIOS/package/scripts/nagios_server.py",
line 38, in configure
>     nagios()
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/NAGIOS/package/scripts/nagios.py",
line 69, in nagios
>     set_web_permisssions()
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/NAGIOS/package/scripts/nagios.py",
line 85, in set_web_permisssions
>     cmd = format("{htpasswd_cmd} -c -b  /etc/nagios/htpasswd.users {nagios_web_login}
{nagios_web_password!p}")
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format.py",
line 83, in format
>     return ConfigurationFormatter().format(format_string, args, **result)
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format.py",
line 50, in format
>     result_unprotected = self.vformat(format_string, args, all_params)
>   File "/usr/lib64/python2.6/string.py", line 549, in vformat
>     result = self._vformat(format_string, args, kwargs, used_args, 2)
>   File "/usr/lib64/python2.6/string.py", line 575, in _vformat
>     obj = self.convert_field(obj, conversion)
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format.py",
line 58, in convert_field_unprotected
>     return self._convert_field(value, conversion, False)
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format.py",
line 73, in _convert_field
>     return "[PROTECTED]" if is_protected else self._convert_field(value, 'e', is_protected)
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format.py",
line 69, in _convert_field
>     return pipes.quote(value)
>   File "/usr/lib64/python2.6/pipes.py", line 271, in quote
>     for c in file:
> TypeError: 'int' object is not iterable
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message