It may also be noted that updating regular expression in glance API (api/v2/images.py to be specific)
does not solve the problem completely. Although, this change allows user to create image with custom ID,
the nova API does not allow the user to boot a server with this image. It fails with the error message:
Invalid imageRef provided.
Apparently, nova API also validates image ID using the same regular expression.
It may also be noted that updating regular expression in glance API (api/v2/images.py to be specific)
does not solve the problem completely. Although, this change allows user to create image with custom ID,
the nova API does not allow the user to boot a server with this image. It fails with the error message:
Invalid imageRef provided.
Apparently, nova API also validates image ID using the same regular expression.