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

Subscribers

People subscribed via source and target branches