EC2 volumes - attach_time is null
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Chuck Short |
Bug Description
This has been split out from #960265, so it can be solved individually:
Description: attachTime is NULL when some attachment exist + workaround from case (2)
Code
my $aws = Net::Amazon:
my $vol = "vol-00000008";
my @avol = ($vol);
my $p_avol = \@avol;
my $rtn=$aws-
response:
<DescribeVolu
<requestId>
<volumeSet>
<item>
<status>in-use (nova, host1, i-00000001[host1], /dev/sdf)</status>
<availabil
<displayName/>
<volumeId>
<displayDe
<attachmen
<item>
</item>
</
<snapshotId/>
<createTim
<size>
</item>
</volumeSet>
</DescribeVol
error message from Net::Amazon::EC2:
Attribute (attach_time) does not pass the type constraint because: Validation failed for 'Str' with value HASH(0x3ce5d10) at /usr/share/
SQL:
[root@host1 nova]# mysql -u.... -p..... nova -e "select attach_time,id from volumes;"
+----
| attach_time | id |
+----
| NULL | 1 |
| NULL | 2 |
| NULL | 3 |
| NULL | 4 |
| NULL | 5 |
| NULL | 6 |
| NULL | 7 |
| NULL | 8 |
| NULL | 9 |
| NULL | 10 |
| NULL | 11 |
| NULL | 12 |
| NULL | 13 |
| NULL | 14 |
| NULL | 15 |
+----
Changed in nova: | |
milestone: | none → folsom-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-2 → 2012.2 |
Fix proposed to branch: master /review. openstack. org/7601
Review: https:/