500 Server Error when upload graph which already exists in the database
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Alexander Kislitsky | ||
Mitaka |
Fix Released
|
High
|
Alexey Shtokolov | ||
Newton |
Fix Released
|
High
|
Alexey Shtokolov | ||
Ocata |
Fix Committed
|
High
|
Alexander Kislitsky |
Bug Description
Steps to reproduce:
1) Add this commit to the Fuel master node: https:/
2) Execute 'ln -sf /etc/puppet/modules /etc/fuel/
3) ./upload-
Actual results:
Script is failed:
[root@nailgun files]# ./upload-
Deployment graph was successfully uploaded.
500 Server Error: Internal Server Error for url: http://
From separate run:
[root@nailgun ~]# fuel2 graph upload -r2 -t deploy -d /etc/fuel/
500 Server Error: Internal Server Error for url: http://
From /var/log/
2016-12-09 09:58:03.270 ERROR [7f77247fa880] (deployment_graph) POST failed: (psycopg2.
DETAIL: Key (deployment_
[SQL: 'INSERT INTO deployment_
Traceback (most recent call last):
File "/usr/lib/
data, obj, graph_type=
File "/usr/lib/
graph = cls.create(data)
File "/usr/lib/
db().flush()
File "/usr/lib64/
self.
File "/usr/lib64/
transaction.
File "/usr/lib64/
compat.
File "/usr/lib64/
flush_
File "/usr/lib64/
rec.
File "/usr/lib64/
uow
File "/usr/lib64/
mapper, table, insert)
File "/usr/lib64/
execute(
File "/usr/lib64/
return meth(self, multiparams, params)
File "/usr/lib64/
return connection.
File "/usr/lib64/
compiled_sql, distilled_params
File "/usr/lib64/
context)
File "/usr/lib64/
exc_info
File "/usr/lib64/
reraise(
File "/usr/lib64/
context)
File "/usr/lib64/
cursor.
IntegrityError: (psycopg2.
DETAIL: Key (deployment_
Reproducibility:
Reproducible on 9.2 snapshot #604.
Additional information:
These patches are required for upload-
https:/
https:/
https:/
Changed in fuel: | |
milestone: | none → 9.2 |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Fuel Sustaining (fuel-sustaining-team) |
tags: | added: customer-found sla1 |
tags: | added: on-verification |
This bug appears during verification of bug https:/ /bugs.launchpad .net/fuel/ +bug/1643143, verification of bug #1643143 is completely blocked by this bug, so I should move bug to Confirmed status. We need the fix of the current bug.