DescribeImages output limited to some small number (22?)

Bug #839617 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Unassigned

Bug Description

$ euca-describe-images | grep IMAGE | wc -l
22
$ echo "hi mom, not an image" > out.img
$ for i in 1 2 3 4 5 6 7 8 9 10; do cloud-publish-image --type image amd64 out.img smoser-bucket --rename $(printf "out-%02d.img" $i); euca-describe-images | grep IMAGE | wc -l; done
ami-00000074 smoser-bucket/out-01.img.manifest.xml
22
ami-00000075 smoser-bucket/out-02.img.manifest.xml
23
ami-00000076 smoser-bucket/out-03.img.manifest.xml
23
ami-00000077 smoser-bucket/out-04.img.manifest.xml
23
ami-00000078 smoser-bucket/out-05.img.manifest.xml
23
ami-00000079 smoser-bucket/out-06.img.manifest.xml
23
ami-0000007a smoser-bucket/out-07.img.manifest.xml
23
ami-0000007b smoser-bucket/out-08.img.manifest.xml
23
ami-0000007c smoser-bucket/out-09.img.manifest.xml
23
ami-0000007d smoser-bucket/out-10.img.manifest.xml

$ euca-describe-images | awk '$1 == "IMAGE" { print $2, $3 }'
ami-0000007d smoser-bucket/out-10.img.manifest.xml
ami-0000007c smoser-bucket/out-09.img.manifest.xml
ami-0000007b smoser-bucket/out-08.img.manifest.xml
ami-0000007a smoser-bucket/out-07.img.manifest.xml
ami-00000079 smoser-bucket/out-06.img.manifest.xml
ami-00000078 smoser-bucket/out-05.img.manifest.xml
ami-00000077 smoser-bucket/out-04.img.manifest.xml
ami-00000076 smoser-bucket/out-03.img.manifest.xml
ami-00000075 smoser-bucket/out-02.img.manifest.xml
ami-00000074 smoser-bucket/out-01.img.manifest.xml
ami-00000073 smoser-ubuntu-images/ubuntu-oneiric-11.10-beta1-amd64-server-20110831.manifest.xml
ami-00000072 smoser-ubuntu-images/ubuntu-oneiric-11.10-beta1-i386-server-20110831.manifest.xml
ami-00000071 smoser-ubuntu-images/ubuntu-oneiric-daily-amd64-server-20110831.manifest.xml
ami-00000070 smoser-ubuntu-images/ubuntu-oneiric-daily-i386-server-20110831.manifest.xml
ami-0000006d smoser-bucket/ubuntu-oneiric-daily-amd64-server-20110830.manifest.xml
ami-00000069 smoser-ubuntu-images/ubuntu-natty-11.04-amd64-server-20110426.img.manifest.xml
ami-00000068 smoser-ubuntu-images/ubuntu-natty-11.04-i386-server-20110426.img.manifest.xml
ami-00000067 smoser-bucket/oneiric-server-cloudimg-amd64-disk1.qcow2.manifest.xml
ami-00000066 smoser-ubuntu-images-testing/ubuntu-oneiric-daily-amd64-server-20110829.img.manifest.xml
ami-00000065 smoser-ubuntu-images-testing/ubuntu-oneiric-daily-i386-server-20110829.img.manifest.xml
ami-00000061 smoser-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1.img.manifest.xml
ari-00000060 smoser-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-initrd.manifest.xml
aki-0000005f smoser-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml

Above, there were 22 AMIs available, I published 10 new ones, and there were still 22 or 23 available.

Revision history for this message
Brian Waldon (bcwaldon) wrote :

What version of nova are you running?

Revision history for this message
Scott Moser (smoser) wrote :

I just verified on current nova trunk after running 'novascript'.

# euca-describe-images | grep IMAGE | wc -l
3
# echo "hi mom, not an image" > out.img
# i=0; while [ $i -lt 40 ] && i=$(($i+1)); do \
   cloud-publish-image --type image amd64 out.img smoser-bucket --rename $(printf "out-%02d.img" $i); \
   euca-describe-images | grep IMAGE | wc -l; done

# ( cd nova && bzr log -r -1 --short)
 1511 Sandy Walsh 2011-08-30 [merge]
      more logging info to help identify bad payloads

Use --include-merges or -n0 to see merged revisions.

Then, i realized that you (Brian) fixed this yesterday.
I updated and it seems functional.

I'm assuming fixed in revision 1517, but testd that it is fixed in 1524.

Changed in nova:
status: New → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → diablo-rbp
Thierry Carrez (ttx)
Changed in nova:
milestone: diablo-rbp → 2011.3
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.