← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1812550] [NEW] Image creation fails with "u'string' Failed validating u'type' in schema[u'additionalProperties']: {u'type': u'string'} On instance[u'os_hidden']: False"

 

Public bug reported:

Hi all,

I am running on OpenStack Rocky(17.0.0). Image creation fails with the
following error

root@ctrl1:~# openstack image create \
>                       --disk-format=qcow2 \
>                       --container-format=bare \
>                       --file=Fedora-Atomic-27-20180212.2.x86_64.qcow2\
>                       --property os_distro='fedora-atomic' \
>                       fedora-atomic-latest
rating version 2 is not in supported versions: 1
False is not of type u'string'

Failed validating u'type' in schema[u'additionalProperties']:
    {u'type': u'string'}

On instance[u'os_hidden']:
    False


How can we solve this type conversion error ?

This seems to affect nova also
https://bugs.launchpad.net/nova/+bug/1806239

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1812550

Title:
  Image creation fails with "u'string'  Failed validating u'type' in
  schema[u'additionalProperties']:     {u'type': u'string'}  On
  instance[u'os_hidden']:     False"

Status in Glance:
  New

Bug description:
  Hi all,

  I am running on OpenStack Rocky(17.0.0). Image creation fails with the
  following error

  root@ctrl1:~# openstack image create \
  >                       --disk-format=qcow2 \
  >                       --container-format=bare \
  >                       --file=Fedora-Atomic-27-20180212.2.x86_64.qcow2\
  >                       --property os_distro='fedora-atomic' \
  >                       fedora-atomic-latest
  rating version 2 is not in supported versions: 1
  False is not of type u'string'

  Failed validating u'type' in schema[u'additionalProperties']:
      {u'type': u'string'}

  On instance[u'os_hidden']:
      False

  
  How can we solve this type conversion error ?

  This seems to affect nova also
  https://bugs.launchpad.net/nova/+bug/1806239

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1812550/+subscriptions


Follow ups