[one-users] reg rocci-server: authentication failure

Rajendar K k.rajendar at gmail.com
Wed Jan 7 01:55:03 PST 2015


Hi All,
          I have installed and configured rocci-server (by source) (..A).
Installed opennebula 4.6 on another machine (..B).

When i try to access using server, i have got the following error
curl --insecure -u 'rocci:zaq12wsx' https://10.1.26.32:11443/
*Authentication failed! The following strategies are supported "basic"!*

at B, i have created user "rocci"
oneuser list
  18 rocci           oneadmin   server_c         -                 -
    -


===============================================================================================================
configuration details as follows

*<VirtualHost *:11443>*
*    # if you wish to change the default Ruby used to run this app*
*    PassengerRuby /usr/bin/ruby*

*    # enable SSL*
*    SSLEngine on*

*    # for security reasons you may restrict the SSL protocol, but some
clients may fail if SSLv2 is not supported*
*    SSLProtocol all*

*    # this should point to your server host certificate*
*    SSLCertificateFile /etc/grid-security/apache.crt*

*    # this should point to your server host key*
*    SSLCertificateKeyFile /etc/grid-security/apache.key*

*    # directory containing the Root CA certificates and their hashes*
*    SSLCACertificatePath /etc/grid-security*

*    SetEnv ROCCI_SERVER_LOG_DIR /var/log/rocci-server*
*    SetEnv ROCCI_SERVER_ETC_DIR /etc/rocci-server*
*    SetEnv ROCCI_SERVER_PROTOCOL              https*
*    SetEnv ROCCI_SERVER_HOSTNAME              10.1.26.32*
*    SetEnv ROCCI_SERVER_PORT                  11443*
*    SetEnv ROCCI_SERVER_AUTHN_STRATEGIES      basic*
*    SetEnv ROCCI_SERVER_HOOKS                 dummy*
*    SetEnv ROCCI_SERVER_BACKEND               opennebula*
*    SetEnv ROCCI_SERVER_LOG_LEVEL             debug*
*    SetEnv ROCCI_SERVER_LOG_REQUESTS_IN_DEBUG yes*
*    SetEnv ROCCI_SERVER_TMP                   /tmp/rocci_server*
*    SetEnv ROCCI_SERVER_MEMCACHES             10.1.26.32:11211
<http://10.1.26.32:11211>                 *

*    ## ONE backend*
*    SetEnv ROCCI_SERVER_ONE_XMLRPC  http://10.4.112.11:2633/RPC2
<http://10.4.112.11:2633/RPC2>                 *
*    SetEnv ROCCI_SERVER_ONE_USER    rocci      *
*    SetEnv ROCCI_SERVER_ONE_PASSWD  zaq12wsx*

*</VirtualHost>*



Log details
*[ 2015-01-07 12:38:20.0522 10266/7fc800a7b740
agents/LoggingAgent/Main.cpp:321 ]: PassengerLoggingAgent online, listening
at unix:/tmp/passenger.1.0.10254/generation-0/logging*
*[ 2015-01-07 12:38:20.0525 10257/7f9814e6c740 agents/Watchdog/Main.cpp:728
]: All Phusion Passenger agents started!*
*[Wed Jan 07 12:38:20 2015] [notice] Apache/2.2.22 (Ubuntu) mod_ssl/2.2.22
OpenSSL/1.0.1  Apache rOCCI-server OCCI/1.1 Phusion_Passenger/4.0.44
configured -- resuming normal operations*
*[Wed Jan 07 12:38:30 2015] [info] [client 10.1.26.32] Connection to child
0 established (server micloud-nc:443)*
*[Wed Jan 07 12:38:30 2015] [info] Seeding PRNG with 656 bytes of entropy*
*[Wed Jan 07 12:38:30 2015] [info] Initial (No.1) HTTPS request received
for child 0 (server micloud-nc:443)*
*App 10353 stdout: *
*[ 2015-01-07 12:38:32.2411 10260/7f8088e0e700 Pool2/SmartSpawner.h:297 ]:
Preloader for /opt/rOCCI-server started on PID 10353, listening on
unix:/tmp/passenger.1.0.10254/generation-0/backends/preloader.10353*
*App 10371 stdout: *
*[Wed Jan 07 12:38:32 2015] [info] [client 10.1.26.32] Connection closed to
child 0 with standard shutdown (server micloud-nc:443)*

===============================================================================================================================


Kindly provide solution.





regards
raj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20150107/52b1998d/attachment-0001.htm>


More information about the Users mailing list