Don't set up components_metadata to release over nailgun api

Bug #1533658 reported by Sergey Abramov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Fuel Python (Deprecated)

Bug Description

Try to post data on nailgun api
/api/v1/releases/

it creates new releases, but doesn't set up field data components_metadata.

post data example:

[{'bind': [('settings:common.libvirt_type.value', 'kvm')],
  'compatible': [{'name': 'hypervisor:vmware'}],
  'description': 'dialog.create_cluster_wizard.compute.kvm_description',
  'incompatible': [{'message': 'dialog.create_cluster_wizard.compute.libvirt_alert',
                    'name': 'hypervisor:libvirt:qemu'}],
  'label': 'dialog.create_cluster_wizard.compute.kvm',
  'name': 'hypervisor:libvirt:kvm',
  'weight': 5},
 {'bind': [('settings:common.libvirt_type.value', 'qemu')],
  'compatible': [{'name': 'hypervisor:vmware'}],
  'default': True,
  'description': 'dialog.create_cluster_wizard.compute.qemu_description',
  'incompatible': [{'message': 'dialog.create_cluster_wizard.compute.libvirt_alert',
                    'name': 'hypervisor:libvirt:kvm'}],
  'label': 'dialog.create_cluster_wizard.compute.qemu',
  'name': 'hypervisor:libvirt:qemu',
  'weight': 10},
 {'bind': ['settings:common.use_vcenter.value'],
....
]

but data in db is empty list

This bug is critical for fuel-admin node upgrade

Changed in fuel:
status: New → Confirmed
importance: Undecided → High
milestone: none → 8.0
tags: added: area-python module-nailgun team-upgrades
Ilya Kutukov (ikutukov)
Changed in fuel:
assignee: nobody → Fuel Python Team (fuel-python)
Revision history for this message
Sergey Abramov (sabramov) wrote :

It's not naillgun bug
Fixed on our side
It may be closed

Ilya Kutukov (ikutukov)
Changed in fuel:
status: Confirmed → Won't Fix
Changed in fuel:
status: Won't Fix → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.