Bug 1389156

Summary: Orchestration template : Unable to add Vapp Template
Product: Red Hat CloudForms Management Engine Reporter: Shveta <sshveta>
Component: ProvisioningAssignee: Bill Wei <bilwei>
Status: CLOSED CURRENTRELEASE QA Contact: Jeff Teehan <jteehan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.7.0CC: agrare, cpelland, hkataria, jhardy, jteehan, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: stack:templates
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1396240 (view as bug list) Environment:
Last Closed: 2017-06-12 17:45:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1446399    
Bug Blocks: 1396240    
Attachments:
Description Flags
vapp none

Description Shveta 2016-10-27 03:11:47 UTC
Created attachment 1214477 [details]
vapp

Description of problem:


Version-Release number of selected component (if applicable):
5.7.0.7-beta1.20161025153249_9376fbd 

How reproducible:


Steps to Reproduce:
1. Orchestration Template - Add a VApp template
2. Nothing happens
3.

Actual results:


Expected results:


Additional info:
Error in logs : 
==========================
[----] F, [2016-10-26T23:09:11.342645 #11854:a87d48] FATAL -- :   
[----] F, [2016-10-26T23:09:11.342781 #11854:a87d48] FATAL -- : NotImplementedError (validate_format must be implemented in subclass):
[----] F, [2016-10-26T23:09:11.342855 #11854:a87d48] FATAL -- :   
[----] F, [2016-10-26T23:09:11.342910 #11854:a87d48] FATAL -- : app/models/orchestration_template.rb:123:in `validate_format'
[----] F, [2016-10-26T23:09:11.342960 #11854:a87d48] FATAL -- : app/models/orchestration_template.rb:135:in `save_as_orderable!'
[----] F, [2016-10-26T23:09:11.343001 #11854:a87d48] FATAL -- : app/controllers/catalog_controller.rb:1115:in `ot_add_submit_save'
[----] F, [2016-10-26T23:09:11.343036 #11854:a87d48] FATAL -- : app/controllers/catalog_controller.rb:778:in `ot_add_submit'
[----] F, [2016-10-26T23:09:11.343075 #11854:a87d48] FATAL -- : actionpack (5.0.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
[----] F, [2016-10-26T23:09:11.343115 #11854:a87d48] FATAL -- : actionpack (5.0.0.1) lib/abstract_controller/base.rb:188:in `process_action'
[----] F, [2016-10-26T23:09:11.343150 #11854:a87d48] FATAL -- : actionpack (5.0.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action'
[----] F, [2016-10-26T23:09:11.343187 #11854:a87d48] FATAL -- : actionpack (5.0.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
[----] F, [2016-10-26T23:09:11.343226 #11854:a87d48] FATAL -- : activesupport (5.0.0.1) lib/active_support/callbacks.rb:126:in `call'
[----] F, [2016-10-26T23:09:11.343265 #11854:a87d48] FATAL -- : activesupport (5.0.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
[----] F, [2016-10-26T23:09:11.343323 #11854:a87d48] FATAL -- : activesupport (5.0.0.1) lib/active_support/callbacks.rb:455:in `call'
[----] F, [2016-10-26T23:09:11.343365 #11854:a87d48] FATAL -- : activesupport (5.0.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
[----] F, [2016-10-26T23:09:11.343400 #11854:a87d48] FATAL -- : activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
[----] F, [2016-10-26T23:09:11.343437 #11854:a87d48] FATAL -- : activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks'
[----] F, [2016-10-26T23:09:11.343476 #11854:a87d48] FATAL -- : actionpack (5.0.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
[----] F, [2016-10-26T23:09:11.343517 #11854:a87d48] FATAL -- : actionpack (5.0.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action'
[----] F, [2016-10-26T23:09:11.343552 #11854:a87d48] FATAL -- : actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
[----] F, [2016-10-26T23:09:11.343588 #11854:a87d48] FATAL -- : activesupport (5.0.0.1) lib/active_support/notifications.rb:164:in `block in instrument'
[----] F, [2016-10-26T23:09:11.343631 #11854:a87d48] FATAL -- : activesupport (5.0.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
[----] F, [2016-10-26T23:09:11.343667 #11854:a87d48] FATAL -- : activesupport (5.0.0.1) lib/active_support/notifications.rb:164:in `instrument'
[----] F, [2016-10-26T23:09:11.343742 #11854:a87d48] FATAL -- : actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
[----] F, [2016-10-26T23:09:11.343796 #11854:a87d48] FATAL -- : actionpack (5.0.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
[----] F, [2016-10-26T23:09:11.343839 #11854:a87d48] FATAL -- : activerecord (5.0.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
[----] F, [2016-10-26T23:09:11.343878 #11854:a87d48] FATAL -- : actionpack (5.0.0.1) lib/abstract_controller/base.rb:126:in `process'
[----] F, [2016-10-26T23:09:11.343924 #11854:a87d48] FATAL -- : actionview (5.0.0.1) lib/action_view/rendering.rb:30:in `process'
[----] F, [2016-10-26T23:09:11.343964 #11854:a87d48] FATAL -- : actionpack (5.0.0.1) lib/action_controller/metal.rb:190:in `dispatch'
[----] F, [2016-10-26T23:09:11.344003 #11854:a87d48] FATAL -- : actionpack (5.0.0.1) lib/action_controller/metal.rb:262:in `dispatch'
[----] F, [2016-10-26T23:09:11.344041 #11854:a87d48] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
[----] F, [2016-10-26T23:09:11.344079 #11854:a87d48] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve'
[----] F, [2016-10-26T23:09:11.344114 #11854:a87d48] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve'
[----] F, [2016-10-26T23:09:11.344150 #11854:a87d48] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each'
[----] F, [2016-10-26T23:09:11.344188 #11854:a87d48] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve'
[----] F, [2016-10-26T23:09:11.344223 #11854:a87d48] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call'
[----] F, [2016-10-26T23:09:11.344259 #11854:a87d48] FATAL -- : secure_headers (3.0.3) lib/secure_headers/middleware.rb:10:in `call'
[----] F, [2016-10-26T23:09:11.344312 #11854:a87d48] FATAL -- : rack (2.0.1) lib/rack/etag.rb:25:in `call'
[----] F, [2016-10-26T23:09:11.344348 #11854:a87d48] FATAL -- : rack (2.0.1) lib/rack/conditional_get.rb:38:in `call'
[----] F, [2016-10-26T23:09:11.344384 #11854:a87d48] FATAL -- : rack (2.0.1) lib/rack/head.rb:12:in `call'
[----] F, [2016-10-26T23:09:11.344422 #11854:a87d48] FATAL -- : rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
[----] F, [2016-10-26T23:09:11.344460 #11854:a87d48] FATAL -- : rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
[----] F, [2016-10-26T23:09:11.344494 #11854:a87d48] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call'
[----] F, [2016-10-26T23:09:11.344531 #11854:a87d48] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
[----] F, [2016-10-26T23:09:11.344569 #11854:a87d48] FATAL -- : activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
[----] F, [2016-10-26T23:09:11.344604 #11854:a87d48] FATAL -- : activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
[----] F, [2016-10-26T23:09:11.344638 #11854:a87d48] FATAL -- : activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks'
[----] F, [2016-10-26T23:09:11.344671 #11854:a87d48] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
[----] F, [2016-10-26T23:09:11.344815 #11854:a87d48] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
[----] F, [2016-10-26T23:09:11.344859 #11854:a87d48] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
[----] F, [2016-10-26T23:09:11.344890 #11854:a87d48] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
[----] F, [2016-10-26T23:09:11.344920 #11854:a87d48] FATAL -- : railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app'
[----] F, [2016-10-26T23:09:11.344950 #11854:a87d48] FATAL -- : railties (5.0.0.1) lib/rails/rack/logger.rb:26:in `call'
[----] F, [2016-10-26T23:09:11.344979 #11854:a87d48] FATAL -- : request_store (1.3.1) lib/request_store/middleware.rb:9:in `call'
[----] F, [2016-10-26T23:09:11.345009 #11854:a87d48] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call'
[----] F, [2016-10-26T23:09:11.345038 #11854:a87d48] FATAL -- : rack (2.0.1) lib/rack/method_override.rb:22:in `call'
[----] F, [2016-10-26T23:09:11.345066 #11854:a87d48] FATAL -- : rack (2.0.1) lib/rack/runtime.rb:22:in `call'
[----] F, [2016-10-26T23:09:11.345095 #11854:a87d48] FATAL -- : activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
[----] F, [2016-10-26T23:09:11.345132 #11854:a87d48] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
[----] F, [2016-10-26T23:09:11.345164 #11854:a87d48] FATAL -- : rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
[----] F, [2016-10-26T23:09:11.345193 #11854:a87d48] FATAL -- : railties (5.0.0.1) lib/rails/engine.rb:522:in `call'
[----] F, [2016-10-26T23:09:11.345222 #11854:a87d48] FATAL -- : puma (3.3.0) lib/puma/configuration.rb:224:in `call'
[----] F, [2016-10-26T23:09:11.345251 #11854:a87d48] FATAL -- : puma (3.3.0) lib/puma/server.rb:561:in `handle_request'
[----] F, [2016-10-26T23:09:11.345295 #11854:a87d48] FATAL -- : puma (3.3.0) lib/puma/server.rb:406:in `process_client'
[----] F, [2016-10-26T23:09:11.345329 #11854:a87d48] FATAL -- : puma (3.3.0) lib/puma/server.rb:271:in `block in run'
[----] F, [2016-10-26T23:09:11.345359 #11854:a87d48] FATAL -- : puma (3.3.0) lib/puma/thread_pool.rb:111:in `block in spawn_thread'

Comment 3 Adam Grare 2016-11-09 13:29:38 UTC
https://github.com/ManageIQ/manageiq/pull/12505

Comment 5 Jeff Teehan 2017-02-27 18:03:47 UTC
Hi, for 5.8.0.0.2, it doesn't even list vapp as an option in the dropdown.  The 5.7.1 fix worked fine.  Can you take another look?  This appliance is available for at least a week.  10.16.7.32

I checked MIQ master from friday and it's not there either.  10.16.7.159

Comment 6 Bill Wei 2017-02-27 19:27:48 UTC
Jeff,
Please open an UI bug to report the problem. Make this BZ as a dependency on the new one.

Comment 7 Satoe Imaishi 2017-04-27 19:21:32 UTC
Jeff, was there BZ created for the UI issue?

Comment 8 Jeff Teehan 2017-04-27 19:48:16 UTC
So I checked again with 5.8.0.11 and the Dropdown List still does not contain an item for vApp.  I never created a BZ but I can.  Let me know.  If we do create one, we will need to mark this as blocked by the UI bz.

Comment 9 Bill Wei 2017-04-27 20:01:59 UTC
Yes, we need a UI bz. The dropdown does not have vApp option.

Comment 11 Bill Wei 2017-04-28 17:42:11 UTC
Jeff,
Can we close this one or do you want to come back to verify after the UI bug is verified?

Comment 12 Jeff Teehan 2017-04-28 18:02:05 UTC
Go ahead and move it to ONQA and I'll take it from here.  I don't really want to close it until I see it working end to end.  Thanks.

Comment 13 Jeff Teehan 2017-05-03 22:43:08 UTC
It's working in the latest build with both bzs fixed.  Moving to verified.