murano-keystonev3-domain-user
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
High
|
Stan Lagun | ||
6.1.x |
Won't Fix
|
Medium
|
MOS Murano | ||
7.0.x |
Won't Fix
|
High
|
Stan Lagun | ||
8.0.x |
Fix Released
|
High
|
Stan Lagun |
Bug Description
Fuel 6.1 on CentOS 6.5
With keystone v3 configured with multi-domain support, user ids are now 64 characters
when these users try to launch an application from murano catalog we get:
Data too long for column 'user_id' at row 1"
because it is set to VARCHAR(36)
Policy check succeeded for rule 'get_package' on target {'pa ckage_id': u'4fc0da1b40b64
<134>Sep 16 12:51:34 node-30 murano-api 2015-09-16 12:51:34.297 3697 INFO eventl et.wsgi [-] 127.0.0.1 - - [16/Sep/2015 12:51:34] "GET /v1/catalog/
<134>Sep 16 12:51:34 node-30 murano-api 2015-09-16 12:51:34.308 3697 INFO eventl et.wsgi [-] (3697) accepted ('127.0.0.1', 41312)
<131>Sep 16 12:51:34 node-30 murano-api 2015-09-16 12:51:34.337 3697 ERROR oslo. db.sqlalchemy.
2015-09-16 12:51:34.337 3697 TRACE oslo.db.
2015-09-16 12:51:34.337 3697 TRACE oslo.db.
2015-09-16 12:51:34.337 3697 TRACE oslo.db.
2015-09-16 12:51:34.337 3697 TRACE oslo.db.
2015-09-16 12:51:34.337 3697 TRACE oslo.db.
2015-09-16 12:51:34.337 3697 TRACE oslo.db.
2015-09-16 12:51:34.337 3697 TRACE oslo.db.
2015-09-16 12:51:34.337 3697 TRACE oslo.db.
2015-09-16 12:51:34.337 3697 TRACE oslo.db.
2015-09-16 12:51:34.337 3697 TRACE oslo.db.
2015-09-16 12:51:34.337 3697 TRACE oslo.db.
<134>Sep 16 12:51:34 node-30 murano-api 2015-09-16 12:51:34.344 3697 INFO eventl et.wsgi [-] 127.0.0.1 - - [16/Sep/2015 12:51:34] "POST /v1/environment
<134>Sep 16 12:51:34 node-30 murano-api 2015-09-16 12:51:34.350 3697 INFO eventl et.wsgi [-] (3697) accepted ('127.0.0.1', 41313)
<132>Sep 16 12:51:34 node-30 murano-api 2015-09-16 12:51:34.356 3697 AUDIT muran o.common.policy [-] Policy check succeeded for rule 'delete_
<131>Sep 16 12:51:34 node-30 murano-api 2015-09-16 12:51:34.381 3697 ERROR oslo. db.sqlalchemy.
2015-09-16 12:51:34.381 3697 TRACE oslo.db.
2015-09-16 12:51:34.381 3697 TRACE oslo.db.
2015-09-16 12:51:34.381 3697 TRACE oslo.db.
2015-09-16 12:51:34.381 3697 TRACE oslo.db.
2015-09-16 12:51:34.381 3697 TRACE oslo.db.
2015-09-16 12:51:34.381 3697 TRACE oslo.db.
2015-09-16 12:51:34.381 3697 TRACE oslo.db.
2015-09-16 12:51:34.381 3697 TRACE oslo.db.
2015-09-16 12:51:34.381 3697 TRACE oslo.db.
2015-09-16 12:51:34.381 3697 TRACE oslo.db.
2015-09-16 12:51:34.381 3697 TRACE oslo.db.
<134>Sep 16 12:51:34 node-30 murano-api 2015-09-16 12:51:34.388 3697 INFO eventl et.wsgi [-] 127.0.0.1 - - [16/Sep/2015 12:51:34] "DELETE /v1/environment
[root@node-30 keystone]# "Data too long for column 'user_id' at row 1"
mysql> use murano
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> describe session;
+------
| Field | Type | Null | Key | Default | Extra |
+------
| created | datetime | NO | | NULL | |
| updated | datetime | NO | | NULL | |
| id | varchar(36) | NO | PRI | NULL | |
| environment_id | varchar(255) | YES | MUL | NULL | |
| user_id | varchar(36) | NO | | NULL | |
| state | varchar(36) | NO | | NULL | |
| description | text | NO | | NULL | |
| version | bigint(20) | NO | | NULL | |
+------
8 rows in set (0.00 sec)
bug in upstream: https:/
affects: | fuel → mos |
tags: | added: customer-found |
tags: | removed: customer-found |
description: | updated |
tags: | added: customer-found |
tags: | added: wontfix-risky |
tags: |
added: 8.0 release-notes-done removed: release-notes |
for quick work around ,updating the column makes the error go away and domain users can launch apps from Murano