質問編集履歴
2
エラーメッセージのフォント変更
title
CHANGED
File without changes
|
body
CHANGED
@@ -22,7 +22,7 @@
|
|
22
22
|
|
23
23
|
#エラーメッセージ
|
24
24
|
エラーが発生している部分を抜き出しました
|
25
|
-
|
25
|
+
```ここに言語を入力
|
26
26
|
[root@be9bdb662aa9 /]# curl -sSL https://stackstorm.com/packages/install.sh | bash -s -- --user=st2admin --password=nacs.n@c5
|
27
27
|
*** Detected Distro is CentOS Linux ***
|
28
28
|
*** Detected distro version 7 ***
|
@@ -86,6 +86,7 @@
|
|
86
86
|
20180420T095216+0000 ############### ERROR ###############
|
87
87
|
20180420T095216+0000 # Failed on Verify st2 #
|
88
88
|
20180420T095216+0000 #####################################
|
89
|
+
```
|
89
90
|
|
90
91
|
#補足(2018/04/23追記)
|
91
92
|
https://docs.stackstorm.com/install/rhel7.html#
|
1
補足の追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -85,4 +85,61 @@
|
|
85
85
|
20180420T095216+0000
|
86
86
|
20180420T095216+0000 ############### ERROR ###############
|
87
87
|
20180420T095216+0000 # Failed on Verify st2 #
|
88
|
-
20180420T095216+0000 #####################################
|
88
|
+
20180420T095216+0000 #####################################
|
89
|
+
|
90
|
+
#補足(2018/04/23追記)
|
91
|
+
https://docs.stackstorm.com/install/rhel7.html#
|
92
|
+
に従いコマンドを打った所インストールは成功しましたがその後の
|
93
|
+
データベース作成で以下のエラーが出てしまいました。
|
94
|
+
|
95
|
+
|
96
|
+
```ここに言語を入力
|
97
|
+
[root@d7cad0763624 /]# /opt/stackstorm/mistral/bin/mistral-db-manage --config-file /etc/mistral/mistral.conf upgrade head
|
98
|
+
INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
|
99
|
+
INFO [alembic.runtime.migration] Will assume transactional DDL.
|
100
|
+
INFO [alembic.runtime.migration] Running upgrade -> 001, Kilo release
|
101
|
+
CRITI [Mistral] Unhandled error
|
102
|
+
Traceback (most recent call last):
|
103
|
+
File "/opt/stackstorm/mistral/bin/mistral-db-manage", line 11, in <module>
|
104
|
+
sys.exit(main())
|
105
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/mistral/db/sqlalchemy/migration/cli.py", line 137, in main
|
106
|
+
CONF.command.func(config, CONF.command.name)
|
107
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/mistral/db/sqlalchemy/migration/cli.py", line 62, in do_upgrade
|
108
|
+
do_alembic_command(config, cmd, revision, sql=CONF.command.sql)
|
109
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/mistral/db/sqlalchemy/migration/cli.py", line 43, in do_alembic_command
|
110
|
+
getattr(alembic_cmd, cmd)(config, *args, **kwargs)
|
111
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/alembic/command.py", line 254, in upgrade
|
112
|
+
script.run_env()
|
113
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/alembic/script/base.py", line 427, in run_env
|
114
|
+
util.load_python_file(self.dir, 'env.py')
|
115
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/alembic/util/pyfiles.py", line 81, in load_python_file
|
116
|
+
module = load_module_py(module_id, path)
|
117
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/alembic/util/compat.py", line 141, in load_module_py
|
118
|
+
mod = imp.load_source(module_id, path, fp)
|
119
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/mistral/db/sqlalchemy/migration/alembic_migrations/env.py", line 84, in <module>
|
120
|
+
run_migrations_online()
|
121
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/mistral/db/sqlalchemy/migration/alembic_migrations/env.py", line 76, in run_migrations_online
|
122
|
+
context.run_migrations()
|
123
|
+
File "<string>", line 8, in run_migrations
|
124
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/alembic/runtime/environment.py", line 836, in run_migrations
|
125
|
+
self.get_context().run_migrations(**kw)
|
126
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/alembic/runtime/migration.py", line 330, in run_migrations
|
127
|
+
step.migration_fn(**kw)
|
128
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/mistral/db/sqlalchemy/migration/alembic_migrations/versions/001_kilo.py", line 47, in upgrade
|
129
|
+
sa.UniqueConstraint('name', 'project_id')
|
130
|
+
File "<string>", line 8, in create_table
|
131
|
+
File "<string>", line 3, in create_table
|
132
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/alembic/operations/ops.py", line 1120, in create_table
|
133
|
+
return operations.invoke(op)
|
134
|
+
|
135
|
+
中略
|
136
|
+
|
137
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 203, in raise_from_cause
|
138
|
+
reraise(type(exception), exception, tb=exc_tb, cause=cause)
|
139
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1193, in _execute_context
|
140
|
+
context)
|
141
|
+
File "/opt/stackstorm/mistral/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 507, in do_execute
|
142
|
+
cursor.execute(statement, parameters)
|
143
|
+
ProgrammingError: (psycopg2.ProgrammingError) relation "workbooks_v2" already exists
|
144
|
+
[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)
|
145
|
+
```
|