yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #87115
[Bug 1943135] [NEW] Metadef Resource types are not getting flushing out from DB
Public bug reported:
The resource types are not getting deleted form database even after
deleting from CLI
$ glance md-resource-type-associate my-test-for-rs-deletion --name test-resource-type-in-db
+------------+--------------------------+
| Property | Value |
+------------+--------------------------+
| created_at | 2021-09-09T12:46:18Z |
| name | test-resource-type-in-db |
| updated_at | 2021-09-09T12:46:18Z |
+------------+--------------------------+
$ glance md-resource-type-deassociate my-test-for-rs-deletion test-resource-type-in-db
$ mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 16967
Server version: 5.7.35-0ubuntu0.18.04.1 (Ubuntu)
Copyright (c) 2000, 2021, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input
statement.
mysql> use glance;
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> select * from metadef_resource_types WHERE name="test-resource-type-in-db";
+------+--------------------------+-----------+---------------------+---------------------+
| id | name | protected | created_at | updated_at |
+------+--------------------------+-----------+---------------------+---------------------+
| 4 | test-resource-type-in-db | 0 | 2021-09-09 12:46:18 | 2021-09-09 12:46:18 |
+------+--------------------------+-----------+---------------------+---------------------+
The resource type needs to be deleted from the db.
** Affects: glance
Importance: Undecided
Assignee: Pranali Deore (pranali-deore)
Status: New
** Changed in: glance
Assignee: (unassigned) => Pranali Deore (pranali-deore)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1943135
Title:
Metadef Resource types are not getting flushing out from DB
Status in Glance:
New
Bug description:
The resource types are not getting deleted form database even after
deleting from CLI
$ glance md-resource-type-associate my-test-for-rs-deletion --name test-resource-type-in-db
+------------+--------------------------+
| Property | Value |
+------------+--------------------------+
| created_at | 2021-09-09T12:46:18Z |
| name | test-resource-type-in-db |
| updated_at | 2021-09-09T12:46:18Z |
+------------+--------------------------+
$ glance md-resource-type-deassociate my-test-for-rs-deletion test-resource-type-in-db
$ mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 16967
Server version: 5.7.35-0ubuntu0.18.04.1 (Ubuntu)
Copyright (c) 2000, 2021, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input
statement.
mysql> use glance;
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> select * from metadef_resource_types WHERE name="test-resource-type-in-db";
+------+--------------------------+-----------+---------------------+---------------------+
| id | name | protected | created_at | updated_at |
+------+--------------------------+-----------+---------------------+---------------------+
| 4 | test-resource-type-in-db | 0 | 2021-09-09 12:46:18 | 2021-09-09 12:46:18 |
+------+--------------------------+-----------+---------------------+---------------------+
The resource type needs to be deleted from the db.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1943135/+subscriptions
Follow ups