[ansible][aio][glance] Cannot create image, TypeError: Response is undefined
I deployed openstack-ansible AIO and is trying to create a new image but is encountering "TypeError: Response is undefined" and "Error: Unable to create the image". The image creation task is just stuck in the "queued" mode forever after that. I also do not see any of the service logs in the lxc containers under /var/logs/ folder. Appreciate any advice on how I can troubleshoot this. Thank you. Regards, Ben
Anyone please? Thank you in advance! On Thu, 7 Mar 2024, 06:40 Tang Chai Keong, <tchaikeong@gmail.com> wrote:
I deployed openstack-ansible AIO and is trying to create a new image but is encountering "TypeError: Response is undefined" and "Error: Unable to create the image". The image creation task is just stuck in the "queued" mode forever after that.
I also do not see any of the service logs in the lxc containers under /var/logs/ folder.
Appreciate any advice on how I can troubleshoot this. Thank you.
Regards, Ben
Hey, How you made the upload? Was it through CLI or through Horizon? If that's only through Horizon, my guess would be that it's due to wrong CORS rules. So I would try switching to the legacy upload method by setting: horizon_images_upload_mode: legacy And re-running OpenStack-Ansible playbooks/os-horizon-install.yml --tags horizon-config Also logs are stored in journald, so you can check them using journalctl command, ie: journalctl -u glance-api. On Mon, Mar 11, 2024, 21:15 Tang Chai Keong <tchaikeong@gmail.com> wrote:
Anyone please? Thank you in advance!
On Thu, 7 Mar 2024, 06:40 Tang Chai Keong, <tchaikeong@gmail.com> wrote:
I deployed openstack-ansible AIO and is trying to create a new image but is encountering "TypeError: Response is undefined" and "Error: Unable to create the image". The image creation task is just stuck in the "queued" mode forever after that.
I also do not see any of the service logs in the lxc containers under /var/logs/ folder.
Appreciate any advice on how I can troubleshoot this. Thank you.
Regards, Ben
participants (2)
-
Dmitriy Rabotyagov
-
Tang Chai Keong