Merge lp:~seyeongkim/charms/trusty/swift-proxy/lp1362102 into lp:~openstack-charmers-archive/charms/trusty/swift-proxy/next
- Trusty Tahr (14.04)
- lp1362102
- Merge into next
Status: | Superseded | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~seyeongkim/charms/trusty/swift-proxy/lp1362102 | ||||
Merge into: | lp:~openstack-charmers-archive/charms/trusty/swift-proxy/next | ||||
Diff against target: |
145 lines (+12/-7) 4 files modified
Makefile (+1/-1) config.yaml (+10/-0) hooks/swift_context.py (+1/-1) tests/basic_deployment.py (+0/-5) |
||||
To merge this branch: | bzr merge lp:~seyeongkim/charms/trusty/swift-proxy/lp1362102 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Edward Hope-Morley | Needs Fixing | ||
Review via email:
|
This proposal has been superseded by a proposal from 2015-02-25.
Commit message
Description of the change
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
uosci-testing-bot (uosci-testing-bot) wrote : | # |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_lint_check #1558 swift-proxy-next for xtrusia mp248471
LINT OK: passed
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_amulet_test #1636 swift-proxy-next for xtrusia mp248471
AMULET FAIL: amulet-test failed
AMULET Results (max last 2 lines):
ERROR subprocess encountered error code 1
make: *** [test] Error 1
Full amulet test output: http://
Build: http://
- 82. By Seyeong Kim
-
fix amulet expected value int to str
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_lint_check #1730 swift-proxy-next for xtrusia mp248471
LINT FAIL: charm-proof failed
LINT Results (max last 2 lines):
W: config.yaml: option os-public-network does not have the keys: default
W: config.yaml: option keystone-
Full lint test output: http://
Build: http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_unit_test #1558 swift-proxy-next for xtrusia mp248471
UNIT OK: passed
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_amulet_test #1661 swift-proxy-next for xtrusia mp248471
AMULET OK: passed
Build: http://
- 83. By Seyeong Kim
-
fix lint warning in config.yaml
- 84. By Seyeong Kim
-
fix lint warning in config.yaml
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_lint_check #1731 swift-proxy-next for xtrusia mp248471
LINT OK: passed
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_unit_test #1559 swift-proxy-next for xtrusia mp248471
UNIT OK: passed
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_amulet_test #1662 swift-proxy-next for xtrusia mp248471
AMULET FAIL: amulet-test failed
AMULET Results (max last 2 lines):
ERROR subprocess encountered error code 1
make: *** [test] Error 1
Full amulet test output: http://
Build: http://
- 85. By Seyeong Kim
-
timeout to 1800
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_unit_test #1606 swift-proxy-next for xtrusia mp248471
UNIT OK: passed
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_lint_check #1778 swift-proxy-next for xtrusia mp248471
LINT OK: passed
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_amulet_test #1798 swift-proxy-next for xtrusia mp248471
AMULET OK: passed
Build: http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Edward Hope-Morley (hopem) wrote : | # |
Thanks Seyeong, couple of points inline.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Seyeong Kim (seyeongkim) : | # |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Edward Hope-Morley (hopem) wrote : | # |
See inline
- 86. By Seyeong Kim
-
charmhelper sync
- 87. By Seyeong Kim
-
remove uncertain test factor
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_unit_test #2020 swift-proxy-next for xtrusia mp248471
UNIT OK: passed
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_lint_check #2231 swift-proxy-next for xtrusia mp248471
LINT OK: passed
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
uosci-testing-bot (uosci-testing-bot) wrote : | # |
charm_amulet_test #2177 swift-proxy-next for xtrusia mp248471
AMULET FAIL: amulet-test failed
AMULET Results (max last 2 lines):
ERROR subprocess encountered error code 1
make: *** [test] Error 1
Full amulet test output: http://
Build: http://
Unmerged revisions
Preview Diff
1 | === modified file 'Makefile' | |||
2 | --- Makefile 2014-09-29 21:11:28 +0000 | |||
3 | +++ Makefile 2015-02-24 12:50:52 +0000 | |||
4 | @@ -15,7 +15,7 @@ | |||
5 | 15 | # coreycb note: The -v should only be temporary until Amulet sends | 15 | # coreycb note: The -v should only be temporary until Amulet sends |
6 | 16 | # raise_status() messages to stderr: | 16 | # raise_status() messages to stderr: |
7 | 17 | # https://bugs.launchpad.net/amulet/+bug/1320357 | 17 | # https://bugs.launchpad.net/amulet/+bug/1320357 |
9 | 18 | @juju test -v -p AMULET_HTTP_PROXY --timeout 900 \ | 18 | @juju test -v -p AMULET_HTTP_PROXY --timeout 1800 \ |
10 | 19 | 00-setup 14-basic-precise-icehouse 15-basic-trusty-icehouse | 19 | 00-setup 14-basic-precise-icehouse 15-basic-trusty-icehouse |
11 | 20 | 20 | ||
12 | 21 | bin/charm_helpers_sync.py: | 21 | bin/charm_helpers_sync.py: |
13 | 22 | 22 | ||
14 | === modified file 'config.yaml' | |||
15 | --- config.yaml 2015-02-19 20:31:42 +0000 | |||
16 | +++ config.yaml 2015-02-24 12:50:52 +0000 | |||
17 | @@ -62,6 +62,7 @@ | |||
18 | 62 | this charm's README for details. | 62 | this charm's README for details. |
19 | 63 | # User provided SSL cert and key | 63 | # User provided SSL cert and key |
20 | 64 | ssl_cert: | 64 | ssl_cert: |
21 | 65 | default: | ||
22 | 65 | type: string | 66 | type: string |
23 | 66 | default: | 67 | default: |
24 | 67 | description: | | 68 | description: | |
25 | @@ -75,6 +76,7 @@ | |||
26 | 75 | any certficiate and key issued by Keystone (if it is configured to | 76 | any certficiate and key issued by Keystone (if it is configured to |
27 | 76 | do so). | 77 | do so). |
28 | 77 | ssl_key: | 78 | ssl_key: |
29 | 79 | default: | ||
30 | 78 | type: string | 80 | type: string |
31 | 79 | default: | 81 | default: |
32 | 80 | description: | | 82 | description: | |
33 | @@ -118,6 +120,7 @@ | |||
34 | 118 | while allowing for a longer timeout for non-recoverable requests (PUTs). | 120 | while allowing for a longer timeout for non-recoverable requests (PUTs). |
35 | 119 | # Manual Keystone configuration. | 121 | # Manual Keystone configuration. |
36 | 120 | keystone-auth-host: | 122 | keystone-auth-host: |
37 | 123 | default: | ||
38 | 121 | type: string | 124 | type: string |
39 | 122 | default: | 125 | default: |
40 | 123 | description: Keystone authentication host | 126 | description: Keystone authentication host |
41 | @@ -134,19 +137,23 @@ | |||
42 | 134 | type: string | 137 | type: string |
43 | 135 | description: Keystone admin tenant name | 138 | description: Keystone admin tenant name |
44 | 136 | keystone-admin-user: | 139 | keystone-admin-user: |
45 | 140 | default: | ||
46 | 137 | type: string | 141 | type: string |
47 | 138 | default: | 142 | default: |
48 | 139 | description: Keystone admin username | 143 | description: Keystone admin username |
49 | 140 | keystone-admin-password: | 144 | keystone-admin-password: |
50 | 145 | default: | ||
51 | 141 | type: string | 146 | type: string |
52 | 142 | default: | 147 | default: |
53 | 143 | description: Keystone admin password | 148 | description: Keystone admin password |
54 | 144 | # HA configuration settings | 149 | # HA configuration settings |
55 | 145 | swift-hash: | 150 | swift-hash: |
56 | 151 | default: | ||
57 | 146 | type: string | 152 | type: string |
58 | 147 | default: | 153 | default: |
59 | 148 | description: Hash to use across all swift-proxy servers - don't loose | 154 | description: Hash to use across all swift-proxy servers - don't loose |
60 | 149 | vip: | 155 | vip: |
61 | 156 | default: | ||
62 | 150 | type: string | 157 | type: string |
63 | 151 | default: | 158 | default: |
64 | 152 | description: | | 159 | description: | |
65 | @@ -169,6 +176,7 @@ | |||
66 | 169 | # Network configuration options | 176 | # Network configuration options |
67 | 170 | # by default all access is over 'private-address' | 177 | # by default all access is over 'private-address' |
68 | 171 | os-admin-network: | 178 | os-admin-network: |
69 | 179 | default: | ||
70 | 172 | type: string | 180 | type: string |
71 | 173 | default: | 181 | default: |
72 | 174 | description: | | 182 | description: | |
73 | @@ -177,6 +185,7 @@ | |||
74 | 177 | . | 185 | . |
75 | 178 | This network will be used for admin endpoints. | 186 | This network will be used for admin endpoints. |
76 | 179 | os-internal-network: | 187 | os-internal-network: |
77 | 188 | default: | ||
78 | 180 | type: string | 189 | type: string |
79 | 181 | default: | 190 | default: |
80 | 182 | description: | | 191 | description: | |
81 | @@ -185,6 +194,7 @@ | |||
82 | 185 | . | 194 | . |
83 | 186 | This network will be used for internal endpoints. | 195 | This network will be used for internal endpoints. |
84 | 187 | os-public-network: | 196 | os-public-network: |
85 | 197 | default: | ||
86 | 188 | type: string | 198 | type: string |
87 | 189 | default: | 199 | default: |
88 | 190 | description: | | 200 | description: | |
89 | 191 | 201 | ||
90 | === modified file 'hooks/swift_context.py' | |||
91 | --- hooks/swift_context.py 2014-12-19 10:29:32 +0000 | |||
92 | +++ hooks/swift_context.py 2015-02-24 12:50:52 +0000 | |||
93 | @@ -80,7 +80,7 @@ | |||
94 | 80 | def __call__(self): | 80 | def __call__(self): |
95 | 81 | bind_port = config('bind-port') | 81 | bind_port = config('bind-port') |
96 | 82 | workers = config('workers') | 82 | workers = config('workers') |
98 | 83 | if workers == '0': | 83 | if workers == 0: |
99 | 84 | import multiprocessing | 84 | import multiprocessing |
100 | 85 | workers = multiprocessing.cpu_count() | 85 | workers = multiprocessing.cpu_count() |
101 | 86 | if config('prefer-ipv6'): | 86 | if config('prefer-ipv6'): |
102 | 87 | 87 | ||
103 | === modified file 'tests/basic_deployment.py' | |||
104 | --- tests/basic_deployment.py 2015-01-05 13:43:32 +0000 | |||
105 | +++ tests/basic_deployment.py 2015-02-24 12:50:52 +0000 | |||
106 | @@ -369,7 +369,6 @@ | |||
107 | 369 | expected = { | 369 | expected = { |
108 | 370 | 'DEFAULT': { | 370 | 'DEFAULT': { |
109 | 371 | 'bind_port': '8070', | 371 | 'bind_port': '8070', |
110 | 372 | 'workers': '0', | ||
111 | 373 | 'user': 'swift' | 372 | 'user': 'swift' |
112 | 374 | }, | 373 | }, |
113 | 375 | 'pipeline:main': { | 374 | 'pipeline:main': { |
114 | @@ -462,7 +461,6 @@ | |||
115 | 462 | expected = { | 461 | expected = { |
116 | 463 | 'DEFAULT': { | 462 | 'DEFAULT': { |
117 | 464 | 'bind_port': '8070', | 463 | 'bind_port': '8070', |
118 | 465 | 'workers': '0', | ||
119 | 466 | 'user': 'swift' | 464 | 'user': 'swift' |
120 | 467 | }, | 465 | }, |
121 | 468 | 'pipeline:main': { | 466 | 'pipeline:main': { |
122 | @@ -547,7 +545,6 @@ | |||
123 | 547 | expected = { | 545 | expected = { |
124 | 548 | 'DEFAULT': { | 546 | 'DEFAULT': { |
125 | 549 | 'bind_port': '8070', | 547 | 'bind_port': '8070', |
126 | 550 | 'workers': '0', | ||
127 | 551 | 'user': 'swift' | 548 | 'user': 'swift' |
128 | 552 | }, | 549 | }, |
129 | 553 | 'pipeline:main': { | 550 | 'pipeline:main': { |
130 | @@ -632,7 +629,6 @@ | |||
131 | 632 | expected = { | 629 | expected = { |
132 | 633 | 'DEFAULT': { | 630 | 'DEFAULT': { |
133 | 634 | 'bind_port': '8070', | 631 | 'bind_port': '8070', |
134 | 635 | 'workers': '0', | ||
135 | 636 | 'user': 'swift' | 632 | 'user': 'swift' |
136 | 637 | }, | 633 | }, |
137 | 638 | 'pipeline:main': { | 634 | 'pipeline:main': { |
138 | @@ -713,7 +709,6 @@ | |||
139 | 713 | expected = { | 709 | expected = { |
140 | 714 | 'DEFAULT': { | 710 | 'DEFAULT': { |
141 | 715 | 'bind_port': '8070', | 711 | 'bind_port': '8070', |
142 | 716 | 'workers': '0', | ||
143 | 717 | 'user': 'swift' | 712 | 'user': 'swift' |
144 | 718 | }, | 713 | }, |
145 | 719 | 'pipeline:main': { | 714 | 'pipeline:main': { |
charm_unit_test #1513 swift-proxy-next for xtrusia mp248471
UNIT OK: passed
Build: http:// 10.245. 162.77: 8080/job/ charm_unit_ test/1513/