python-novaclient doesn't work in Ingress usage case

Bug #1653075 reported by Leontii Istomin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fuel-ccp
Fix Released
Medium
Fuel CCP Bug Team

Bug Description

nova list command doesn't work: http://paste.openstack.org/show/593585/
We can see that nova client tries to reach http://compute.ccp.external:8443/v2.1/, but compute.ccp.external is an ingress:
NAME HOSTS ADDRESS PORTS AGE
glance-api image.ccp.external 80 2d
heat-api orchestration.ccp.external 80 2d
heat-api-cfn cloudformation.ccp.external 80 2d
horizon horizon.ccp.external 80 2d
keystone identity.ccp.external 80 2d
neutron-server network.ccp.external 80 2d
nova-api compute.ccp.external 80 2d
nova-novncproxy console.ccp.external 80 2d
and it listens only https, not http.

After the followng changes in nova.conf (ccp-repos/fuel-ccp-nova/service/files/nova.conf.j2) nova client work well:
[DEFAULT]
secure_proxy_ssl_header = HTTP_X_FORWARDED_PROTO

ccp congigs are attached

Tags: scale
Revision history for this message
Leontii Istomin (listomin) wrote :
Changed in fuel-ccp:
assignee: nobody → Fuel CCP Bug Team (fuel-ccp-bugs)
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ccp-nova (master)

Reviewed: https://review.openstack.org/415702
Committed: https://git.openstack.org/cgit/openstack/fuel-ccp-nova/commit/?id=2cd78e32ffce9faa7d7c0b85bead15d3d901c57a
Submitter: Jenkins
Branch: master

commit 2cd78e32ffce9faa7d7c0b85bead15d3d901c57a
Author: Proskurin Kirill <email address hidden>
Date: Thu Dec 29 14:02:43 2016 +0000

    Use https if ingress is enabled

    Change-Id: Id9824a9c7bb21c408925200592355edc6934f7f0
    Closes-Bug: #1653075

Changed in fuel-ccp:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.