Cannot create windows image on Openstack
I have installed openstack version bobcat on Centos 9 Stream. The installation went fine and I am able to login and launch the cirros image. The problem I am facing is with windows images. When I try to upload the Windows Server 2012 R2 Standard Evaluation for OpenStack which I downloaded from cloudebase I get this error: TypeError: Cannot read properties of undefined (reading 'data') - Error: Unable to create the image. At first I though the problem is from the image so I created my own with all the needed drivers and got the same problem. Appreciate any help is someone experienced this before Ramzi
Hello, have you tried uploading it through OpenStack CLI and not through Horizon? On 11/07/24 09:46, Ramzi Abdallah wrote:
I have installed openstack version bobcat on Centos 9 Stream. The installation went fine and I am able to login and launch the cirros image. The problem I am facing is with windows images. When I try to upload the Windows Server 2012 R2 Standard Evaluation for OpenStack which I downloaded from cloudebase I get this error: TypeError: Cannot read properties of undefined (reading 'data') - Error: Unable to create the image. At first I though the problem is from the image so I created my own with all the needed drivers and got the same problem. Appreciate any help is someone experienced this before Ramzi
-- Francesco Di Nucci System Administrator Compute & Networking Service, INFN Naples Email:francesco.dinucci@na.infn.it
Hello Francesco, I tried openstack image create windows --container-format bare --disk-format qcow2 --file win_srv_2019.qcow2 and got Missing value auth-url required for auth plugin password Any idea how to install this plugin? ________________________________ From: Francesco Di Nucci <francesco.dinucci@na.infn.it> Sent: Thursday, July 11, 2024 11:10 AM To: Ramzi Abdallah <rabdallah@hotmail.com>; openstack-discuss@lists.openstack.org <openstack-discuss@lists.openstack.org> Subject: Re: Cannot create windows image on Openstack Hello, have you tried uploading it through OpenStack CLI and not through Horizon? On 11/07/24 09:46, Ramzi Abdallah wrote: I have installed openstack version bobcat on Centos 9 Stream. The installation went fine and I am able to login and launch the cirros image. The problem I am facing is with windows images. When I try to upload the Windows Server 2012 R2 Standard Evaluation for OpenStack which I downloaded from cloudebase I get this error: TypeError: Cannot read properties of undefined (reading 'data') - Error: Unable to create the image. At first I though the problem is from the image so I created my own with all the needed drivers and got the same problem. Appreciate any help is someone experienced this before Ramzi -- Francesco Di Nucci System Administrator Compute & Networking Service, INFN Naples Email: francesco.dinucci@na.infn.it<mailto:francesco.dinucci@na.infn.it>
Hey, You can follow this documentation to get it auth working, either via env variable or clouds.yaml: <https://docs.openstack.org/python-openstackclient/latest/configuration/index.html> Configuration — OpenStack Command Line Client 6.7.0.dev83 documentation<https://docs.openstack.org/python-openstackclient/latest/configuration/index.html> docs.openstack.org<https://docs.openstack.org/python-openstackclient/latest/configuration/index.html> [favicon.ico]<https://docs.openstack.org/python-openstackclient/latest/configuration/index.html> — Regards, Michael Salo On 11 Jul 2024, at 11:49, Ramzi Abdallah <rabdallah@hotmail.com> wrote: CAUTION: This email originates from outside THG ________________________________ Hello Francesco, I tried openstack image create windows --container-format bare --disk-format qcow2 --file win_srv_2019.qcow2 and got Missing value auth-url required for auth plugin password Any idea how to install this plugin? ________________________________ From: Francesco Di Nucci <francesco.dinucci@na.infn.it<mailto:francesco.dinucci@na.infn.it>> Sent: Thursday, July 11, 2024 11:10 AM To: Ramzi Abdallah <rabdallah@hotmail.com<mailto:rabdallah@hotmail.com>>; openstack-discuss@lists.openstack.org<mailto:openstack-discuss@lists.openstack.org> <openstack-discuss@lists.openstack.org<mailto:openstack-discuss@lists.openstack.org>> Subject: Re: Cannot create windows image on Openstack Hello, have you tried uploading it through OpenStack CLI and not through Horizon? On 11/07/24 09:46, Ramzi Abdallah wrote: I have installed openstack version bobcat on Centos 9 Stream. The installation went fine and I am able to login and launch the cirros image. The problem I am facing is with windows images. When I try to upload the Windows Server 2012 R2 Standard Evaluation for OpenStack which I downloaded from cloudebase I get this error: TypeError: Cannot read properties of undefined (reading 'data') - Error: Unable to create the image. At first I though the problem is from the image so I created my own with all the needed drivers and got the same problem. Appreciate any help is someone experienced this before Ramzi -- Francesco Di Nucci System Administrator Compute & Networking Service, INFN Naples Email: francesco.dinucci@na.infn.it<mailto:francesco.dinucci@na.infn.it> Michael Salo Senior Manager System Admin and Virtualization michaels@uk2group.com [THG Logo] www.thg.com<https://www.thg.com/> [https://i.imgur.com/EonmdXQ.png]<https://www.instagram.com/thg/> [https://i.imgur.com/IKOY5Bs.png] <https://www.linkedin.com/company/thgplc/> For the purposes of this email, the "company" means THG plc, a company registered in England and Wales (company number 6539496) whose registered office is at 7-9 Sunbank Lane, Altrincham, United Kingdom, WA15 0AF and/or any of its respective subsidiaries. Confidentiality Notice This e-mail is confidential and intended for the use of the named recipient only. If you are not the intended recipient please notify us by telephone immediately on +44(0)1606 811888 or return it to us by e-mail. Please then delete it from your system and note that any use, dissemination, forwarding, printing or copying is strictly prohibited. Any views or opinions are solely those of the author and do not necessarily represent those of the company. Encryptions and Viruses Please note that this e-mail and any attachments have not been encrypted. They may therefore be liable to be compromised. Please also note that it is your responsibility to scan this e-mail and any attachments for viruses. We do not, to the extent permitted by law, accept any liability (whether in contract, negligence or otherwise) for any virus infection and/or external compromise of security and/or confidentiality in relation to transmissions sent by e-mail. Monitoring Activity and use of the company's systems is monitored to secure its effective use and operation and for other lawful business purposes. Communications using these systems will also be monitored and may be recorded to secure effective use and operation and for other lawful business purposes. hgvyjuv
You must provide credential for logging in as admin, using clouds.yaml file, CLI options or environment variables in a OpenRC file (deprecated in favor of clouds.yaml). Please see: * OpenStack Command Line Client/Authentication <https://docs.openstack.org/python-openstackclient/2024.1/cli/authentication.html> * Mass Open Cloud - Using clouds.yaml <https://docs.massopen.cloud/en/latest/openstack/clouds.yaml.html> -- Francesco Di Nucci System Administrator Compute & Networking Service, INFN Naples Email:francesco.dinucci@na.infn.it On 11/07/24 10:49, Ramzi Abdallah wrote:
Hello Francesco,
I tried openstack image create windows --container-format bare --disk-format qcow2 --file win_srv_2019.qcow2 and got Missing value auth-url required for auth plugin password
Any idea how to install this plugin? ------------------------------------------------------------------------ *From:* Francesco Di Nucci <francesco.dinucci@na.infn.it> *Sent:* Thursday, July 11, 2024 11:10 AM *To:* Ramzi Abdallah <rabdallah@hotmail.com>; openstack-discuss@lists.openstack.org <openstack-discuss@lists.openstack.org> *Subject:* Re: Cannot create windows image on Openstack
Hello,
have you tried uploading it through OpenStack CLI and not through Horizon?
On 11/07/24 09:46, Ramzi Abdallah wrote:
I have installed openstack version bobcat on Centos 9 Stream. The installation went fine and I am able to login and launch the cirros image. The problem I am facing is with windows images. When I try to upload the Windows Server 2012 R2 Standard Evaluation for OpenStack which I downloaded from cloudebase I get this error: TypeError: Cannot read properties of undefined (reading 'data') - Error: Unable to create the image. At first I though the problem is from the image so I created my own with all the needed drivers and got the same problem. Appreciate any help is someone experienced this before Ramzi -- Francesco Di Nucci System Administrator Compute & Networking Service, INFN Naples
Email:francesco.dinucci@na.infn.it <mailto:francesco.dinucci@na.infn.it>
participants (3)
-
Francesco Di Nucci
-
Michael Salo
-
Ramzi Abdallah