Dies Koper created DTACLOUD-565:
-----------------------------------
Summary: cimi: SQL error when deleting machine
Key: DTACLOUD-565
URL: https://issues.apache.org/jira/browse/DTACLOUD-565
Project: DeltaCloud
Issue Type: Bug
Components: CIMI/Frontend
Environment: Win 7 64 bit, MRI1.9.3, ROR driver
Reporter: Dies Koper
I created a few instances using the DC API (using curl). Now I try to delete
them using the CIMI API:
d:\>curl --user user+tenant:pwd
"http://localhost:3001/cimi/machines/SampleTe-0HCVNNJZO-S-0006?format=xml" -X
DELETE
gives:
E, [2013-06-12T11:31:30.938938 #9088] ERROR -- 500: [Sequel::NoExistingObject]
Attempt to delete object did not result in a single row modification (Rows
Deleted: 0, SQL: DELETE FROM `entities` WHERE (`id` IS NULL))
D:/Programs/Ruby193/lib/ruby/gems/1.9.1/gems/sequel-3.42.0/lib/sequel/model/base.rb:1471:in
`_delete'
...
D:/Programs/Ruby193/lib/ruby/gems/1.9.1/gems/sequel-3.42.0/lib/sequel/model/base.rb:1017:in
`destroy'
d:/sources/OSS/cloud/deltacloud-core/server/lib/cimi/service/base.rb:223:in
`destroy'
d:/sources/OSS/cloud/deltacloud-core/server/lib/cimi/service/machine.rb:55:in
`delete!'
d:/sources/OSS/cloud/deltacloud-core/server/lib/cimi/helpers/cimi_rabbit_helper.rb:9:in
`block (2 levels) in generate_delete_operation'
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira