Yes Daniel, I am using nginx.

Do you want me to add these values to nginx site config file ot to
sunstone-server config file?

Regards
Kiran Ranjane

On Fri, Jan 23, 2015 at 4:58 PM, Daniel Molina <dmol...@opennebula.org>
wrote:

> Hi,
>
> Are you running sunstone behind a proxy/apache, those values are passed to
> the server using the following headers:
> HTTP_X_VCENTER_USER
> HTTP_X_VCENTER_PASSWORD
> HTTP_X_VCENTER_HOST
>
> May be you have to forward them in your server conf
>
> Hope this helps
>
> On 23 January 2015 at 12:19, kiran ranjane <kiran.ranj...@gmail.com>
> wrote:
>
>> Hi,
>>
>> I am unable to add vCenter host from sunstone and it gives error "You
>> have to provide the vCenetr username, password and hostname"
>>
>> However the same username, password and hostname works when I use the
>> command
>>
>> onevcenter hosts --vcenter <vcenter-host> --vuser <vcenter-username> --vpass 
>> <vcenter-password>
>>
>> Sunstone Logs :
>>
>> Fri Jan 23 16:41:58 2015 [E]: [vCenter] You have to provide the vCenter
>> username, password and hostname
>> Fri Jan 23 16:41:58 2015 [I]: 10.10.8.170 - - [23/Jan/2015 16:41:58] "GET
>> /vcenter?timeout=false&csrftoken=090c8b8a47abadc2fd1643922e3d0fc6 HTTP/1.0"
>> 404 - 0.0012
>> Fri Jan 23 16:41:58 2015 [I]: 10.10.8.170 - - [23/Jan/2015 16:41:58] "GET
>> /support/request?timeout=false&csrftoken=090c8b8a47abadc2fd1643922e3d0fc6
>> HTTP/1.0" 500 - 0.0011
>>
>> One and sunstone service are also restarted and still same. Let me know
>> If I am missing something.
>>
>> One Version - 4.10.2
>>
>> Regards
>> Kiran Ranjane
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
>
> --
> --
> Daniel Molina
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
>
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to