glance bootstrap error when try to create image with the same name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-helm |
Triaged
|
Medium
|
Unassigned |
Bug Description
Glance bootstrap.sh will create a new image when show error. When there are more than one images named as {{ .name }} foe example "cirros", the command 'openstack image show XXX' will get an non-zero return value. So it will create a new image has the same name. However It is not allowed to create a mirror with the same name when use Victoria. We will get an error like:
More than one Image exists with the name 'cirros'.
Traceback (most recent call last):
File "/usr/local/
result = cmd.run(
File "/usr/local/
return super(Command, self).run(
File "/usr/local/
column_names, data = self.take_
File "/usr/local/
image = image_client.
File "/usr/local/
current_image = self.find_
File "/usr/local/
return self._find(
File "/usr/local/
return resource_
File "/usr/local/
result = super(Image, cls).find(session, name_or_id, True,
File "/usr/local/
result = cls._get_
File "/usr/local/
raise exceptions.
openstack.
clean_up CreateImage: More than one Image exists with the name 'cirros'.
Do we need to modify the script?
Changed in openstack-helm: | |
importance: | Undecided → Medium |
status: | New → Triaged |