Re: [openstack-dev] Fwd: [neutron][lbaas][barbican] Listener create fails

2016-09-24 Thread Stephen Balukoff
Jay--

If this is a production install, it's very unlikely that the admin user's
password is "password".  The neutron_lbaas.conf file will need to be
updated with the admin user's actual password, and the neutron services
daemon restarted.

Stephen

On Fri, Sep 23, 2016 at 2:29 AM, Jayanthi Jeyakumar  wrote:

>
> -- Forwarded message --
> From: 
> Date: Fri, Sep 23, 2016 at 11:50 AM
> Subject: [neutron][lbaas][barbican] Listener create fails
> To: jeyakumar@gmail.com
>
>
> You have to be a subscriber to post to this mailing list, so your
> message has been automatically rejected. You can subscribe at:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
> If you think that your messages are being rejected in error, contact
> the mailing list owner at %(listowner)
>
>
>
> -- Forwarded message --
> From: Jayanthi Jeyakumar 
> To: openstack-dev@lists.openstack.org
> Cc:
> Date: Fri, 23 Sep 2016 11:50:29 +0530
> Subject: [neutron][lbaas][barbican] Listener create fails
> Hello All,
>
> Setup : Liberty with Barbican
>
> When i create a listener it fails with error "could not process TLS
> container , invalid user/password"
>
> DEBUG: keystoneclient.session REQ: curl -g -i -X POST
> http://x.x.x.x:9696/v2.0/lbaas/listeners.json -H "User-Agent:
> python-neutronclient" -H "Content-Type: application/json" -H "Accept:
> application/json" -H "X-Auth-Token: 
> {SHA1}2b74be94ec992cd8d53d930d743b344428eb1a4f"
> -d '{"listener": {"protocol": "TERMINATED_HTTPS", "name": "ebay_lb1_list1",
> "default_tls_container_ref": "http://10.106.100.55:9311/v1/
> containers/05b750e5-ef14-4afc-b4fe-2b4949cf3356", "admin_state_up": true,
> "protocol_port": "443", "loadbalancer_id": "773b8813-9325-43bf-8147-69de1
> 424fed5"}}'
>
> RESP BODY: {"NeutronError": {"message": "Could not process TLS container
> http://x.x.x.x:9311/v1/containers/05b750e5-ef14-4afc-b4fe-2b4949cf3356,
> Invalid user / password (Disable debug mode to suppress these details.)",
> "type": "CertManagerError", "detail": ""}}
>
> added this to my neutron.conf
> service_plugins = neutron_lbaas.services.loadb
> alancer.plugin.LoadBalancerPluginv2
>
> neutron_lbaas.conf
> [service_auth]
> auth_uri = http://localhost:35357/v2.0
> admin_tenant_name = admin
> admin_user = admin
> admin_password = password
> auth_version = 2
>
> [service_providers]
> service_provider=LOADBALANCERV2:NetScaler:neutron_lbaas.
> drivers.netscaler.netscaler_driver_v2.NetScalerLoadBalance
> rDriverV2:default
>
> Please let me know if anymore configurations need to be done..
>
> Thanks,
> Jay
>
>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] Fwd: [neutron][lbaas][barbican] Listener create fails

2016-09-23 Thread Jayanthi Jeyakumar
-- Forwarded message --
From: 
Date: Fri, Sep 23, 2016 at 11:50 AM
Subject: [neutron][lbaas][barbican] Listener create fails
To: jeyakumar@gmail.com


You have to be a subscriber to post to this mailing list, so your
message has been automatically rejected. You can subscribe at:
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

If you think that your messages are being rejected in error, contact
the mailing list owner at %(listowner)



-- Forwarded message --
From: Jayanthi Jeyakumar 
To: openstack-dev@lists.openstack.org
Cc:
Date: Fri, 23 Sep 2016 11:50:29 +0530
Subject: [neutron][lbaas][barbican] Listener create fails
Hello All,

Setup : Liberty with Barbican

When i create a listener it fails with error "could not process TLS
container , invalid user/password"

DEBUG: keystoneclient.session REQ: curl -g -i -X POST
http://x.x.x.x:9696/v2.0/lbaas/listeners.json -H "User-Agent:
python-neutronclient" -H "Content-Type: application/json" -H "Accept:
application/json" -H "X-Auth-Token:
{SHA1}2b74be94ec992cd8d53d930d743b344428eb1a4f"
-d '{"listener": {"protocol": "TERMINATED_HTTPS", "name": "ebay_lb1_list1",
"default_tls_container_ref": "http://10.106.100.55:9311/v1/
containers/05b750e5-ef14-4afc-b4fe-2b4949cf3356", "admin_state_up": true,
"protocol_port": "443", "loadbalancer_id": "773b8813-9325-43bf-8147-
69de1424fed5"}}'

RESP BODY: {"NeutronError": {"message": "Could not process TLS container
http://x.x.x.x:9311/v1/containers/05b750e5-ef14-4afc-b4fe-2b4949cf3356,
Invalid user / password (Disable debug mode to suppress these details.)",
"type": "CertManagerError", "detail": ""}}

added this to my neutron.conf
service_plugins = neutron_lbaas.services.loadbalancer.plugin.
LoadBalancerPluginv2

neutron_lbaas.conf
[service_auth]
auth_uri = http://localhost:35357/v2.0
admin_tenant_name = admin
admin_user = admin
admin_password = password
auth_version = 2

[service_providers]
service_provider=LOADBALANCERV2:NetScaler:neutron_lbaas.drivers.
netscaler.netscaler_driver_v2.NetScalerLoadBalancerDriverV2:default

Please let me know if anymore configurations need to be done..

Thanks,
Jay
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev