You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we try to import service_catalogs we get this error:
[root@cfme-webui cfme]# miqimport service_catalogs /tmp/cfme/service_catalogs
/var/www/miq/vmdb /tmp/cfme
Service Catalog: [Windows]
Catalog Item: [Windows 10 clean from Azure Image]
Catalog Item: [Windows 10]
rake aborted!
Failed to locate child catalog item: [Windows 10 in bundle]
/var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:139:in block in import_service_resources' /var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:132:in each'
/var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:132:in import_service_resources' /var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:79:in block in import_service_templates'
/var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:64:in each' /var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:64:in import_service_templates'
/var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:24:in block (4 levels) in import' /opt/rh/cfme-gemset/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract/database_statements.rb:232:in block in transaction'
/opt/rh/cfme-gemset/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract/transaction.rb:189:in within_new_transaction' /opt/rh/cfme-gemset/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract/database_statements.rb:232:in transaction'
/opt/rh/cfme-gemset/gems/activerecord-5.0.3/lib/active_record/transactions.rb:211:in transaction' /var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:23:in block (3 levels) in import'
/var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:22:in each' /var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:22:in block (2 levels) in import'
/var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:19:in each' /var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:19:in block in import'
/var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:8:in foreach' /var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:8:in import'
/var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:284:in `block (3 levels) in <top (required)>'
Tasks: TOP => rhconsulting:service_catalogs:import
(See full trace by running task with --trace)
The problem is that the child catalog items are Unassigned (not in a catalog), these items are not exported. And when these items are exported (put in a catalog) the order is important because when a bundle is imported and the child items aren't there yet this goes wrong.
The text was updated successfully, but these errors were encountered:
When we try to import service_catalogs we get this error:
[root@cfme-webui cfme]# miqimport service_catalogs /tmp/cfme/service_catalogs
/var/www/miq/vmdb /tmp/cfme
Service Catalog: [Windows]
Catalog Item: [Windows 10 clean from Azure Image]
Catalog Item: [Windows 10]
rake aborted!
Failed to locate child catalog item: [Windows 10 in bundle]
/var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:139:in
block in import_service_resources' /var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:132:in
each'/var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:132:in
import_service_resources' /var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:79:in
block in import_service_templates'/var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:64:in
each' /var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:64:in
import_service_templates'/var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:24:in
block (4 levels) in import' /opt/rh/cfme-gemset/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract/database_statements.rb:232:in
block in transaction'/opt/rh/cfme-gemset/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract/transaction.rb:189:in
within_new_transaction' /opt/rh/cfme-gemset/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract/database_statements.rb:232:in
transaction'/opt/rh/cfme-gemset/gems/activerecord-5.0.3/lib/active_record/transactions.rb:211:in
transaction' /var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:23:in
block (3 levels) in import'/var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:22:in
each' /var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:22:in
block (2 levels) in import'/var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:19:in
each' /var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:19:in
block in import'/var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:8:in
foreach' /var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:8:in
import'/var/www/miq/vmdb/lib/tasks/rhconsulting_service_catalogs.rake:284:in `block (3 levels) in <top (required)>'
Tasks: TOP => rhconsulting:service_catalogs:import
(See full trace by running task with --trace)
The problem is that the child catalog items are Unassigned (not in a catalog), these items are not exported. And when these items are exported (put in a catalog) the order is important because when a bundle is imported and the child items aren't there yet this goes wrong.
The text was updated successfully, but these errors were encountered: