Merge lp:~gnuoy/charms/trusty/nova-cloud-controller/mitaka-api-fix into lp:~openstack-charmers-archive/charms/trusty/nova-cloud-controller/next

Proposed by Liam Young
Status: Merged
Merged at revision: 214
Proposed branch: lp:~gnuoy/charms/trusty/nova-cloud-controller/mitaka-api-fix
Merge into: lp:~openstack-charmers-archive/charms/trusty/nova-cloud-controller/next
Diff against target: 165 lines (+160/-0)
1 file modified
templates/mitaka/api-paste.ini (+160/-0)
To merge this branch: bzr merge lp:~gnuoy/charms/trusty/nova-cloud-controller/mitaka-api-fix
Reviewer Review Type Date Requested Status
OpenStack Charmers Pending
Review via email: mp+282762@code.launchpad.net
To post a comment you must log in.
Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #17394 nova-cloud-controller-next for gnuoy mp282762
    LINT OK: passed

Build: http://10.245.162.77:8080/job/charm_lint_check/17394/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_unit_test #16251 nova-cloud-controller-next for gnuoy mp282762
    UNIT OK: passed

Build: http://10.245.162.77:8080/job/charm_unit_test/16251/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_amulet_test #8804 nova-cloud-controller-next for gnuoy mp282762
    AMULET FAIL: amulet-test failed

AMULET Results (max last 2 lines):
make: *** [functional_test] Error 1
ERROR:root:Make target returned non-zero.

Full amulet test output: http://paste.ubuntu.com/14505844/
Build: http://10.245.162.77:8080/job/charm_amulet_test/8804/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_amulet_test #8808 nova-cloud-controller-next for gnuoy mp282762
    AMULET FAIL: amulet-test failed

AMULET Results (max last 2 lines):
make: *** [functional_test] Error 1
ERROR:root:Make target returned non-zero.

Full amulet test output: http://paste.ubuntu.com/14508023/
Build: http://10.245.162.77:8080/job/charm_amulet_test/8808/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #17792 nova-cloud-controller-next for gnuoy mp282762
    LINT OK: passed

Build: http://10.245.162.77:8080/job/charm_lint_check/17792/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_unit_test #16628 nova-cloud-controller-next for gnuoy mp282762
    UNIT OK: passed

Build: http://10.245.162.77:8080/job/charm_unit_test/16628/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #17794 nova-cloud-controller-next for gnuoy mp282762
    LINT OK: passed

Build: http://10.245.162.77:8080/job/charm_lint_check/17794/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_unit_test #16629 nova-cloud-controller-next for gnuoy mp282762
    UNIT OK: passed

Build: http://10.245.162.77:8080/job/charm_unit_test/16629/

Revision history for this message
David Ames (thedac) wrote :

This looks good. Waiting on amulet test +1

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_amulet_test #8922 nova-cloud-controller-next for gnuoy mp282762
    AMULET OK: passed

Build: http://10.245.162.77:8080/job/charm_amulet_test/8922/

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added directory 'templates/mitaka'
=== added file 'templates/mitaka/api-paste.ini'
--- templates/mitaka/api-paste.ini 1970-01-01 00:00:00 +0000
+++ templates/mitaka/api-paste.ini 2016-01-20 11:54:36 +0000
@@ -0,0 +1,160 @@
1############
2# Metadata #
3############
4[composite:metadata]
5use = egg:Paste#urlmap
6/: meta
7
8[pipeline:meta]
9pipeline = cors ec2faultwrap logrequest metaapp
10
11[app:metaapp]
12paste.app_factory = nova.api.metadata.handler:MetadataRequestHandler.factory
13
14#######
15# EC2 #
16#######
17
18# NOTE: this is now deprecated in favor of https://github.com/stackforge/ec2-api
19[composite:ec2]
20use = egg:Paste#urlmap
21/: ec2cloud
22
23[composite:ec2cloud]
24use = call:nova.api.auth:pipeline_factory
25noauth2 = cors ec2faultwrap logrequest ec2noauth cloudrequest validator ec2executor
26keystone = cors ec2faultwrap logrequest ec2keystoneauth cloudrequest validator ec2executor
27
28[filter:ec2faultwrap]
29paste.filter_factory = nova.api.ec2:FaultWrapper.factory
30
31[filter:logrequest]
32paste.filter_factory = nova.api.ec2:RequestLogging.factory
33
34[filter:ec2lockout]
35paste.filter_factory = nova.api.ec2:Lockout.factory
36
37[filter:ec2keystoneauth]
38paste.filter_factory = nova.api.ec2:EC2KeystoneAuth.factory
39
40[filter:ec2noauth]
41paste.filter_factory = nova.api.ec2:NoAuth.factory
42
43[filter:cloudrequest]
44controller = nova.api.ec2.cloud.CloudController
45paste.filter_factory = nova.api.ec2:Requestify.factory
46
47[filter:authorizer]
48paste.filter_factory = nova.api.ec2:Authorizer.factory
49
50[filter:validator]
51paste.filter_factory = nova.api.ec2:Validator.factory
52
53[app:ec2executor]
54paste.app_factory = nova.api.ec2:Executor.factory
55
56#############
57# OpenStack #
58#############
59
60[composite:osapi_compute]
61use = call:nova.api.openstack.urlmap:urlmap_factory
62/: oscomputeversions
63# starting in Liberty the v21 implementation replaces the v2
64# implementation and is suggested that you use it as the default. If
65# this causes issues with your clients you can rollback to the
66# *frozen* v2 api by commenting out the above stanza and using the
67# following instead::
68# /v1.1: openstack_compute_api_legacy_v2
69# /v2: openstack_compute_api_legacy_v2
70# if rolling back to v2 fixes your issue please file a critical bug
71# at - https://bugs.launchpad.net/nova/+bugs
72#
73# v21 is an exactly feature match for v2, except it has more stringent
74# input validation on the wsgi surface (prevents fuzzing early on the
75# API). It also provides new features via API microversions which are
76# opt into for clients. Unaware clients will receive the same frozen
77# v2 API feature set, but with some relaxed validation
78/v1.1: openstack_compute_api_v21_legacy_v2_compatible
79/v2: openstack_compute_api_v21_legacy_v2_compatible
80/v2.1: openstack_compute_api_v21
81
82# NOTE: this is deprecated in favor of openstack_compute_api_v21_legacy_v2_compatible
83[composite:openstack_compute_api_legacy_v2]
84use = call:nova.api.auth:pipeline_factory
85noauth2 = cors compute_req_id faultwrap sizelimit noauth2 legacy_ratelimit osapi_compute_app_legacy_v2
86keystone = cors compute_req_id faultwrap sizelimit authtoken keystonecontext legacy_ratelimit osapi_compute_app_legacy_v2
87keystone_nolimit = cors compute_req_id faultwrap sizelimit authtoken keystonecontext osapi_compute_app_legacy_v2
88
89[composite:openstack_compute_api_v21]
90use = call:nova.api.auth:pipeline_factory_v21
91noauth2 = cors compute_req_id faultwrap sizelimit noauth2 osapi_compute_app_v21
92keystone = cors compute_req_id faultwrap sizelimit authtoken keystonecontext osapi_compute_app_v21
93
94[composite:openstack_compute_api_v21_legacy_v2_compatible]
95use = call:nova.api.auth:pipeline_factory_v21
96noauth2 = cors compute_req_id faultwrap sizelimit noauth2 legacy_v2_compatible osapi_compute_app_v21
97keystone = cors compute_req_id faultwrap sizelimit authtoken keystonecontext legacy_v2_compatible osapi_compute_app_v21
98
99[filter:request_id]
100paste.filter_factory = oslo_middleware:RequestId.factory
101
102[filter:compute_req_id]
103paste.filter_factory = nova.api.compute_req_id:ComputeReqIdMiddleware.factory
104
105[filter:faultwrap]
106paste.filter_factory = nova.api.openstack:FaultWrapper.factory
107
108[filter:noauth2]
109paste.filter_factory = nova.api.openstack.auth:NoAuthMiddleware.factory
110
111[filter:legacy_ratelimit]
112paste.filter_factory = nova.api.openstack.compute.limits:RateLimitingMiddleware.factory
113{% if api_rate_limit_rules -%}
114limits = {{ api_rate_limit_rules }}
115{% endif -%}
116
117[filter:sizelimit]
118paste.filter_factory = oslo_middleware:RequestBodySizeLimiter.factory
119
120[filter:legacy_v2_compatible]
121paste.filter_factory = nova.api.openstack:LegacyV2CompatibleWrapper.factory
122
123[app:osapi_compute_app_legacy_v2]
124paste.app_factory = nova.api.openstack.compute:APIRouter.factory
125
126[app:osapi_compute_app_v21]
127paste.app_factory = nova.api.openstack.compute:APIRouterV21.factory
128
129[pipeline:oscomputeversions]
130pipeline = faultwrap oscomputeversionapp
131
132[app:oscomputeversionapp]
133paste.app_factory = nova.api.openstack.compute.versions:Versions.factory
134
135##########
136# Shared #
137##########
138
139[filter:cors]
140paste.filter_factory = oslo_middleware.cors:filter_factory
141oslo_config_project = nova
142
143[filter:keystonecontext]
144paste.filter_factory = nova.api.auth:NovaKeystoneContext.factory
145
146[filter:authtoken]
147paste.filter_factory = keystonemiddleware.auth_token:filter_factory
148
149{% if service_host -%}
150# NOTE(jamespage) - not used - but required for relation to nova-compute
151service_protocol = {{ service_protocol }}
152service_host = {{ service_host }}
153service_port = {{ service_port }}
154auth_host = {{ auth_host }}
155auth_port = {{ auth_port }}
156auth_protocol = {{ auth_protocol }}
157admin_tenant_name = {{ admin_tenant_name }}
158admin_user = {{ admin_user }}
159admin_password = {{ admin_password }}
160{% endif -%}

Subscribers

People subscribed via source and target branches