Ask Your Question
0

Partial failure image creation

asked 2016-02-17 09:52:47 -0600

Juiced gravatar image

Hi,

When I try to perform several image-create with glance in a loop, I end up with some of the images not being made. I am using the following code.

nova list --all-tenants | awk 'NR > 3 {print $4}' | awk NF > document

while read i; do
        nova image-create $i $i-$(date +%Y%m%d)
done < document

Some of the images are queued and become active, others just never appear in the image list. Does anyone know what seems to be the problem here?

Regards, Juiced

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-02-18 07:35:26 -0600

Aun gravatar image

The best way to identify issue is to look closely into /var/log/glance/api.log and /var/log/glance/registry.log log files.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2016-02-17 09:52:47 -0600

Seen: 24 times

Last updated: Feb 18 '16