Ask Your Question
1

cannot create image

asked 2016-11-06 05:40:34 -0500

masber gravatar image

updated 2016-11-27 22:57:24 -0500

Hi,

I am trying to create my first image using this image http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-i386-disk.img (http://download.cirros-cloud.net/0.3....)

I downloaded the file and selected the format as qcow2, but it is giving an "TypeError: Cannot read property 'data' of undefined" error.

I am using Newton + Horizon

any idea about what is wrong?

thank you

edit retag flag offensive close merge delete

Comments

provide more detail. How do you try to create the image? If you use the command line, tell us the precise command. If you use the GUI, include a screenshot with all the options you select.

If you use the command line, the --debug option helps getting clues.

Bernd Bausch gravatar imageBernd Bausch ( 2016-11-06 19:12:09 -0500 )edit

I was just using horizon

masber gravatar imagemasber ( 2016-11-26 22:24:30 -0500 )edit

glance image-create --name "cirros" --disk-format qcow2 --container-format bare --is-public False < ./cirros.qcow2 Try this

yas gravatar imageyas ( 2016-11-27 03:59:22 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2016-11-27 14:59:12 -0500

Rupesh Chowdary gravatar image

image description

  1. Download the Image mentioned below

wget http://download.cirros-cloud.net/0.3....

  1. openstack image create "cirros" --file cirros-0.3.4-x86_64-disk.img --disk-format qcow2 --container-format bare --public

Refer the attached screenshot ,

edit flag offensive delete link more
1

answered 2016-11-26 22:23:58 -0500

masber gravatar image

You just need to edit file /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py and add the following:

REST_API_REQUIRED_SETTINGS = ['OPENSTACK_HYPERVISOR_FEATURES', 'LAUNCH_INSTANCE_DEFAULTS', 'OPENSTACK_IMAGE_FORMATS']

credit to @zxt50330 https://ask.openstack.org/en/question/97748/rdo-install-newton-in-the-dashboard-cant-create-images/?answer=98384#post-id-98384 (https://ask.openstack.org/en/question...)

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-11-06 05:40:34 -0500

Seen: 4,549 times

Last updated: Nov 27 '16