2012-09-08 13:09:25 |
Akira Yoshiyama |
bug |
|
|
added bug |
2012-09-08 13:12:12 |
Akira Yoshiyama |
description |
commit 2f5360753308eb8b10581fc3c026c1b66f42ebdc (Adds new volume API extensions) reverted a part of commit 99456bd690445443ae05c0d4fe1ec43ba6090f6f (Send 'create volume from snapshot' to the proper host), so bug #1008866 is to be reproduced.
from 99456bd690445443ae05c0d4fe1ec43ba6090f6f :
---
diff --git a/cinder/volume/api.py b/cinder/volume/api.py
index 614b39d..9784d87 100644
--- a/cinder/volume/api.py
+++ b/cinder/volume/api.py
@@ -113,14 +119,36 @@ class API(base.Base):
}
volume = self.db.volume_create(context, options)
- rpc.cast(context,
- FLAGS.scheduler_topic,
- {"method": "create_volume",
- "args": {"topic": FLAGS.volume_topic,
- "volume_id": volume['id'],
- "snapshot_id": snapshot_id}})
+ self._cast_create_volume(context, volume['id'], snapshot_id)
return volume
---
from 2f5360753308eb8b10581fc3c026c1b66f42ebdc:
---
diff --git a/cinder/volume/api.py b/cinder/volume/api.py
index ffe3dc0..003b3cf 100644
--- a/cinder/volume/api.py
+++ b/cinder/volume/api.py
@@ -116,9 +132,14 @@ class API(base.Base):
'volume_type_id': volume_type_id,
'metadata': metadata,
}
-
volume = self.db.volume_create(context, options)
- self._cast_create_volume(context, volume['id'], snapshot_id)
+ rpc.cast(context,
+ FLAGS.scheduler_topic,
+ {"method": "create_volume",
+ "args": {"topic": FLAGS.volume_topic,
+ "volume_id": volume['id'],
+ "snapshot_id": volume['snapshot_id'],
+ "image_id": image_id}})
return volume
--- |
Commit 2f5360753308eb8b10581fc3c026c1b66f42ebdc (Adds new volume API extensions) reverted a part of commit 99456bd690445443ae05c0d4fe1ec43ba6090f6f (Send 'create volume from snapshot' to the proper host), so bug #1008866 is to be reproduced.
Nova doesn't have this problem.
from 99456bd690445443ae05c0d4fe1ec43ba6090f6f :
---
diff --git a/cinder/volume/api.py b/cinder/volume/api.py
index 614b39d..9784d87 100644
--- a/cinder/volume/api.py
+++ b/cinder/volume/api.py
@@ -113,14 +119,36 @@ class API(base.Base):
}
volume = self.db.volume_create(context, options)
- rpc.cast(context,
- FLAGS.scheduler_topic,
- {"method": "create_volume",
- "args": {"topic": FLAGS.volume_topic,
- "volume_id": volume['id'],
- "snapshot_id": snapshot_id}})
+ self._cast_create_volume(context, volume['id'], snapshot_id)
return volume
---
from 2f5360753308eb8b10581fc3c026c1b66f42ebdc:
---
diff --git a/cinder/volume/api.py b/cinder/volume/api.py
index ffe3dc0..003b3cf 100644
--- a/cinder/volume/api.py
+++ b/cinder/volume/api.py
@@ -116,9 +132,14 @@ class API(base.Base):
'volume_type_id': volume_type_id,
'metadata': metadata,
}
-
volume = self.db.volume_create(context, options)
- self._cast_create_volume(context, volume['id'], snapshot_id)
+ rpc.cast(context,
+ FLAGS.scheduler_topic,
+ {"method": "create_volume",
+ "args": {"topic": FLAGS.volume_topic,
+ "volume_id": volume['id'],
+ "snapshot_id": volume['snapshot_id'],
+ "image_id": image_id}})
return volume
--- |
|
2012-09-08 13:14:33 |
Akira Yoshiyama |
description |
Commit 2f5360753308eb8b10581fc3c026c1b66f42ebdc (Adds new volume API extensions) reverted a part of commit 99456bd690445443ae05c0d4fe1ec43ba6090f6f (Send 'create volume from snapshot' to the proper host), so bug #1008866 is to be reproduced.
Nova doesn't have this problem.
from 99456bd690445443ae05c0d4fe1ec43ba6090f6f :
---
diff --git a/cinder/volume/api.py b/cinder/volume/api.py
index 614b39d..9784d87 100644
--- a/cinder/volume/api.py
+++ b/cinder/volume/api.py
@@ -113,14 +119,36 @@ class API(base.Base):
}
volume = self.db.volume_create(context, options)
- rpc.cast(context,
- FLAGS.scheduler_topic,
- {"method": "create_volume",
- "args": {"topic": FLAGS.volume_topic,
- "volume_id": volume['id'],
- "snapshot_id": snapshot_id}})
+ self._cast_create_volume(context, volume['id'], snapshot_id)
return volume
---
from 2f5360753308eb8b10581fc3c026c1b66f42ebdc:
---
diff --git a/cinder/volume/api.py b/cinder/volume/api.py
index ffe3dc0..003b3cf 100644
--- a/cinder/volume/api.py
+++ b/cinder/volume/api.py
@@ -116,9 +132,14 @@ class API(base.Base):
'volume_type_id': volume_type_id,
'metadata': metadata,
}
-
volume = self.db.volume_create(context, options)
- self._cast_create_volume(context, volume['id'], snapshot_id)
+ rpc.cast(context,
+ FLAGS.scheduler_topic,
+ {"method": "create_volume",
+ "args": {"topic": FLAGS.volume_topic,
+ "volume_id": volume['id'],
+ "snapshot_id": volume['snapshot_id'],
+ "image_id": image_id}})
return volume
--- |
Commit 2f5360753308eb8b10581fc3c026c1b66f42ebdc (Adds new volume API extensions) reverted a part of commit 99456bd690445443ae05c0d4fe1ec43ba6090f6f (Send 'create volume from snapshot' to the proper host), so bug #1008866 reproduced.
Nova doesn't have this problem.
from 99456bd690445443ae05c0d4fe1ec43ba6090f6f :
---
diff --git a/cinder/volume/api.py b/cinder/volume/api.py
index 614b39d..9784d87 100644
--- a/cinder/volume/api.py
+++ b/cinder/volume/api.py
@@ -113,14 +119,36 @@ class API(base.Base):
}
volume = self.db.volume_create(context, options)
- rpc.cast(context,
- FLAGS.scheduler_topic,
- {"method": "create_volume",
- "args": {"topic": FLAGS.volume_topic,
- "volume_id": volume['id'],
- "snapshot_id": snapshot_id}})
+ self._cast_create_volume(context, volume['id'], snapshot_id)
return volume
---
from 2f5360753308eb8b10581fc3c026c1b66f42ebdc:
---
diff --git a/cinder/volume/api.py b/cinder/volume/api.py
index ffe3dc0..003b3cf 100644
--- a/cinder/volume/api.py
+++ b/cinder/volume/api.py
@@ -116,9 +132,14 @@ class API(base.Base):
'volume_type_id': volume_type_id,
'metadata': metadata,
}
-
volume = self.db.volume_create(context, options)
- self._cast_create_volume(context, volume['id'], snapshot_id)
+ rpc.cast(context,
+ FLAGS.scheduler_topic,
+ {"method": "create_volume",
+ "args": {"topic": FLAGS.volume_topic,
+ "volume_id": volume['id'],
+ "snapshot_id": volume['snapshot_id'],
+ "image_id": image_id}})
return volume
--- |
|
2012-09-08 13:15:46 |
Akira Yoshiyama |
description |
Commit 2f5360753308eb8b10581fc3c026c1b66f42ebdc (Adds new volume API extensions) reverted a part of commit 99456bd690445443ae05c0d4fe1ec43ba6090f6f (Send 'create volume from snapshot' to the proper host), so bug #1008866 reproduced.
Nova doesn't have this problem.
from 99456bd690445443ae05c0d4fe1ec43ba6090f6f :
---
diff --git a/cinder/volume/api.py b/cinder/volume/api.py
index 614b39d..9784d87 100644
--- a/cinder/volume/api.py
+++ b/cinder/volume/api.py
@@ -113,14 +119,36 @@ class API(base.Base):
}
volume = self.db.volume_create(context, options)
- rpc.cast(context,
- FLAGS.scheduler_topic,
- {"method": "create_volume",
- "args": {"topic": FLAGS.volume_topic,
- "volume_id": volume['id'],
- "snapshot_id": snapshot_id}})
+ self._cast_create_volume(context, volume['id'], snapshot_id)
return volume
---
from 2f5360753308eb8b10581fc3c026c1b66f42ebdc:
---
diff --git a/cinder/volume/api.py b/cinder/volume/api.py
index ffe3dc0..003b3cf 100644
--- a/cinder/volume/api.py
+++ b/cinder/volume/api.py
@@ -116,9 +132,14 @@ class API(base.Base):
'volume_type_id': volume_type_id,
'metadata': metadata,
}
-
volume = self.db.volume_create(context, options)
- self._cast_create_volume(context, volume['id'], snapshot_id)
+ rpc.cast(context,
+ FLAGS.scheduler_topic,
+ {"method": "create_volume",
+ "args": {"topic": FLAGS.volume_topic,
+ "volume_id": volume['id'],
+ "snapshot_id": volume['snapshot_id'],
+ "image_id": image_id}})
return volume
--- |
Commit 2f5360753308eb8b10581fc3c026c1b66f42ebdc (Adds new volume API extensions) reverted a part of commit 99456bd690445443ae05c0d4fe1ec43ba6090f6f (Send 'create volume from snapshot' to the proper host), so bug #1008866 is reproduced.
Nova doesn't have this problem.
from 99456bd690445443ae05c0d4fe1ec43ba6090f6f :
---
diff --git a/cinder/volume/api.py b/cinder/volume/api.py
index 614b39d..9784d87 100644
--- a/cinder/volume/api.py
+++ b/cinder/volume/api.py
@@ -113,14 +119,36 @@ class API(base.Base):
}
volume = self.db.volume_create(context, options)
- rpc.cast(context,
- FLAGS.scheduler_topic,
- {"method": "create_volume",
- "args": {"topic": FLAGS.volume_topic,
- "volume_id": volume['id'],
- "snapshot_id": snapshot_id}})
+ self._cast_create_volume(context, volume['id'], snapshot_id)
return volume
---
from 2f5360753308eb8b10581fc3c026c1b66f42ebdc:
---
diff --git a/cinder/volume/api.py b/cinder/volume/api.py
index ffe3dc0..003b3cf 100644
--- a/cinder/volume/api.py
+++ b/cinder/volume/api.py
@@ -116,9 +132,14 @@ class API(base.Base):
'volume_type_id': volume_type_id,
'metadata': metadata,
}
-
volume = self.db.volume_create(context, options)
- self._cast_create_volume(context, volume['id'], snapshot_id)
+ rpc.cast(context,
+ FLAGS.scheduler_topic,
+ {"method": "create_volume",
+ "args": {"topic": FLAGS.volume_topic,
+ "volume_id": volume['id'],
+ "snapshot_id": volume['snapshot_id'],
+ "image_id": image_id}})
return volume
--- |
|
2012-09-08 13:18:10 |
Akira Yoshiyama |
bug |
|
|
added subscriber Rongze Zhu |
2012-09-08 13:18:43 |
Akira Yoshiyama |
bug |
|
|
added subscriber Unmesh Gurjar |
2012-09-08 15:10:16 |
John Griffith |
cinder: status |
New |
Triaged |
|
2012-09-08 15:10:26 |
John Griffith |
cinder: importance |
Undecided |
Critical |
|
2012-09-08 15:10:29 |
John Griffith |
cinder: milestone |
|
folsom-rc1 |
|
2012-09-08 15:41:15 |
Rongze Zhu |
cinder: assignee |
|
Rongze Zhu (zrzhit) |
|
2012-09-09 08:21:49 |
OpenStack Infra |
cinder: status |
Triaged |
In Progress |
|
2012-09-09 17:45:48 |
OpenStack Infra |
cinder: status |
In Progress |
Fix Committed |
|
2012-09-18 18:07:02 |
Thierry Carrez |
cinder: status |
Fix Committed |
Fix Released |
|
2012-09-27 14:50:39 |
Thierry Carrez |
cinder: milestone |
folsom-rc1 |
2012.2 |
|