You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2013/08/22 17:01:59 UTC

[jira] [Resolved] (AMBARI-2988) It's misleading to say "NOTE: Restart Ambari Server to apply changes" when ambari-server setup-https fails

     [ https://issues.apache.org/jira/browse/AMBARI-2988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Lysnichenko resolved AMBARI-2988.
----------------------------------------

    Resolution: Fixed

committed to trunk 
                
> It's misleading to say "NOTE: Restart Ambari Server to apply changes" when ambari-server setup-https fails
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-2988
>                 URL: https://issues.apache.org/jira/browse/AMBARI-2988
>             Project: Ambari
>          Issue Type: Bug
>          Components: controller
>    Affects Versions: 1.4.0
>            Reporter: Dmytro Shkvyra
>            Assignee: Dmytro Shkvyra
>             Fix For: 1.4.1
>
>         Attachments: AMBARI-2988.patch
>
>
> Ran "ambari-server setup-https" but typed the wrong password for the private key.
> The command showed "NOTE: Restart Ambari Server to apply changes".  This implies success, but the command actually failed.
> The error is in the line above, but sometimes the user pays most attention to the last line printed and if this indicates a successful operation, then the user might incorrectly assume things went OK. 
> {code}
> [root@c6401 ambari-server]# ambari-server setup-https
> Using python  /usr/bin/python2.6
> Setting up HTTPS properties...
> Do you want to disable HTTPS [y/n] (n)? 
> SSL port [88443] ? 8442
> Enter path to Certificate: server.crt
> Enter path to Private Key: server.key
> Please enter password for Private Key: 
> ERROR: Could not import Certificate and Private Key.
> SSL error on exporting keystore: unable to load private key.
> Please ensure that provided Private Key password is correct and re-import Certificate.
> Setup of HTTPS failed. Exiting.
> NOTE: Restart Ambari Server to apply changes ("ambari-server restart|stop|start")
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira