質問編集履歴
2
エラーメッセージのフォント変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -46,7 +46,7 @@
|
|
46
46
|
|
47
47
|
エラーが発生している部分を抜き出しました
|
48
48
|
|
49
|
-
|
49
|
+
```ここに言語を入力
|
50
50
|
|
51
51
|
[root@be9bdb662aa9 /]# curl -sSL https://stackstorm.com/packages/install.sh | bash -s -- --user=st2admin --password=nacs.n@c5
|
52
52
|
|
@@ -174,6 +174,8 @@
|
|
174
174
|
|
175
175
|
20180420T095216+0000 #####################################
|
176
176
|
|
177
|
+
```
|
178
|
+
|
177
179
|
|
178
180
|
|
179
181
|
#補足(2018/04/23追記)
|
1
補足の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -173,3 +173,117 @@
|
|
173
173
|
20180420T095216+0000 # Failed on Verify st2 #
|
174
174
|
|
175
175
|
20180420T095216+0000 #####################################
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
#補足(2018/04/23追記)
|
180
|
+
|
181
|
+
https://docs.stackstorm.com/install/rhel7.html#
|
182
|
+
|
183
|
+
に従いコマンドを打った所インストールは成功しましたがその後の
|
184
|
+
|
185
|
+
データベース作成で以下のエラーが出てしまいました。
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
```ここに言語を入力
|
192
|
+
|
193
|
+
[root@d7cad0763624 /]# /opt/stackstorm/mistral/bin/mistral-db-manage --config-file /etc/mistral/mistral.conf upgrade head
|
194
|
+
|
195
|
+
INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
|
196
|
+
|
197
|
+
INFO [alembic.runtime.migration] Will assume transactional DDL.
|
198
|
+
|
199
|
+
INFO [alembic.runtime.migration] Running upgrade -> 001, Kilo release
|
200
|
+
|
201
|
+
CRITI [Mistral] Unhandled error
|
202
|
+
|
203
|
+
Traceback (most recent call last):
|
204
|
+
|
205
|
+
File "/opt/stackstorm/mistral/bin/mistral-db-manage", line 11, in <module>
|
206
|
+
|
207
|
+
sys.exit(main())
|
208
|
+
|
209
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/mistral/db/sqlalchemy/migration/cli.py", line 137, in main
|
210
|
+
|
211
|
+
CONF.command.func(config, CONF.command.name)
|
212
|
+
|
213
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/mistral/db/sqlalchemy/migration/cli.py", line 62, in do_upgrade
|
214
|
+
|
215
|
+
do_alembic_command(config, cmd, revision, sql=CONF.command.sql)
|
216
|
+
|
217
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/mistral/db/sqlalchemy/migration/cli.py", line 43, in do_alembic_command
|
218
|
+
|
219
|
+
getattr(alembic_cmd, cmd)(config, *args, **kwargs)
|
220
|
+
|
221
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/alembic/command.py", line 254, in upgrade
|
222
|
+
|
223
|
+
script.run_env()
|
224
|
+
|
225
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/alembic/script/base.py", line 427, in run_env
|
226
|
+
|
227
|
+
util.load_python_file(self.dir, 'env.py')
|
228
|
+
|
229
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/alembic/util/pyfiles.py", line 81, in load_python_file
|
230
|
+
|
231
|
+
module = load_module_py(module_id, path)
|
232
|
+
|
233
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/alembic/util/compat.py", line 141, in load_module_py
|
234
|
+
|
235
|
+
mod = imp.load_source(module_id, path, fp)
|
236
|
+
|
237
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/mistral/db/sqlalchemy/migration/alembic_migrations/env.py", line 84, in <module>
|
238
|
+
|
239
|
+
run_migrations_online()
|
240
|
+
|
241
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/mistral/db/sqlalchemy/migration/alembic_migrations/env.py", line 76, in run_migrations_online
|
242
|
+
|
243
|
+
context.run_migrations()
|
244
|
+
|
245
|
+
File "<string>", line 8, in run_migrations
|
246
|
+
|
247
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/alembic/runtime/environment.py", line 836, in run_migrations
|
248
|
+
|
249
|
+
self.get_context().run_migrations(**kw)
|
250
|
+
|
251
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/alembic/runtime/migration.py", line 330, in run_migrations
|
252
|
+
|
253
|
+
step.migration_fn(**kw)
|
254
|
+
|
255
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/mistral/db/sqlalchemy/migration/alembic_migrations/versions/001_kilo.py", line 47, in upgrade
|
256
|
+
|
257
|
+
sa.UniqueConstraint('name', 'project_id')
|
258
|
+
|
259
|
+
File "<string>", line 8, in create_table
|
260
|
+
|
261
|
+
File "<string>", line 3, in create_table
|
262
|
+
|
263
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/alembic/operations/ops.py", line 1120, in create_table
|
264
|
+
|
265
|
+
return operations.invoke(op)
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
中略
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 203, in raise_from_cause
|
274
|
+
|
275
|
+
reraise(type(exception), exception, tb=exc_tb, cause=cause)
|
276
|
+
|
277
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1193, in _execute_context
|
278
|
+
|
279
|
+
context)
|
280
|
+
|
281
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 507, in do_execute
|
282
|
+
|
283
|
+
cursor.execute(statement, parameters)
|
284
|
+
|
285
|
+
ProgrammingError: (psycopg2.ProgrammingError) relation "workbooks_v2" already exists
|
286
|
+
|
287
|
+
[SQL: '\nCREATE TABLE workbooks_v2 (\n\tcreated_at TIMESTAMP WITHOUT TIME ZONE, \n\tupdated_at TIMESTAMP WITHOUT TIME ZONE, \n\tscope VARCHAR(80), \n\tproject_id VARCHAR(80), \n\tid VARCHAR(36) NOT NULL, \n\tname VARCHAR(80), \n\tdefinition TEXT, \n\tspec TEXT, \n\ttags TEXT, \n\tPRIMARY KEY (id), \n\tUNIQUE (name, project_id)\n)\n\n'] (Background on this error at: http://sqlalche.me/e/f405)
|
288
|
+
|
289
|
+
```
|