[Openstack-operators] newton heat stack glance error

Ignazio Cassano ignaziocassano at gmail.com
Fri Mar 31 19:55:56 UTC 2017


I've just tried to disableglance v2 api and load a new image cirros2, but
If I show it:

 Field            | Value                                                |
+------------------+------------------------------------------------------+
| checksum         | ee1eca47dc88f4879d8a229cc70a07c6                     |
| container_format | bare                                                 |
| created_at       | 2017-03-31T19:47:52Z                                 |
| disk_format      | qcow2                                                |
| file             | /v2/images/e9794e0b-73e5-4a91-9159-5701e521b289/file |
| id               | e9794e0b-73e5-4a91-9159-5701e521b289                 |
| min_disk         | 0                                                    |
| min_ram          | 0                                                    |
| name             | cirros2                                              |
| owner            | 3919bd9727354f6a82d0a4feaf85dc8c                     |
| protected        | False                                                |
| schema           | /v2/schemas/image                                    |
| size             | 13287936                                             |
| status           | active                                               |
| tags             |                                                      |
| updated_at       | 2017-03-31T19:47:52Z                                 |
| virtual_size     | None                                                 |
| visibility       | public                                               |
+------------------+------------------------------------------------------+

It seems to  under /v2 :-(
So an heat stack with cirros2 does not work anycase




2017-03-31 21:07 GMT+02:00 Brian Rosmaita <rosmaita.fossdev at gmail.com>:

> On 3/31/17 10:52 AM, Ignazio Cassano wrote:
> > Hi all,
> > I just installed openstack newton on centos 7 and enabled glance with v2
> > api.
> > When I execute a simple heat stack, it returns the following error:
> >
> > ERROR: Property error: : resources.my_instance.properties.image: :
> > HTTPMultipleChoices (HTTP 300) Requested version of OpenStack Images API
> is
> > not available.
>
> Hi Ignazio.  I'm pretty sure Newton Heat still requires the Images v1
> API, so you'll need to make sure it's enabled in your installation.
>
> cheers,
> brian
>
> >
> > the following is my very simple stack:
> >
> > heat_template_version: 2015-10-15
> > description: simple test
> > resources:
> >   my_instance:
> >     type: OS::Nova::Server
> >     properties:
> >       key_name: opstkcsi
> >       image: cirros
> >       flavor: m1.small
> >       networks:
> >       - network: "0bfd37f8-779f-4b51-bb79-b03745409c15"
> >
> >
> > I am able to create instances from image using the dashboard and creating
> > volume from images but it does not work.
> > Please, help me !!!
> > Thanks
> > Ignazio
> >
> >
> >
> > _______________________________________________
> > OpenStack-operators mailing list
> > OpenStack-operators at lists.openstack.org
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20170331/0931e93d/attachment.html>


More information about the OpenStack-operators mailing list