Created attachment 1146250 [details] error on creating container on atomic-host Compute-resource by using content-view Description of problem: I provisioned atomic host via satellite and later added that as docker compute-resource. The test connection to atomic compute resource was successful. Later, I synced centos docker contents and published in CV. I used same CV along with 'latest' tag to create a centos container and it was failed with below exception: 2016-04-12 03:21:24 [app] [W] Action failed | NoMethodError: undefined method `full_messages' for []:Array | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_docker-2.0.1.3/app/controllers/containers/steps_controller.rb:61:in `create_container' | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_docker-2.0.1.3/app/controllers/containers/steps_controller.rb:22:in `update' | /opt/rh/rh-ror41/root/usr/share/gems/gems/actionpack-4.1.5/lib/action_controller/metal/implicit_render.rb:4:in `send_action' | /opt/rh/rh-ror41/root/usr/share/gems/gems/actionpack-4.1.5/lib/abstract_controller/base.rb:189:in `process_action' | /opt/rh/rh-ror41/root/usr/share/gems/gems/actionpack-4.1.5/lib/action_controller/metal/rendering.rb:10:in `process_action' | /opt/rh/rh-ror41/root/usr/share/gems/gems/actionpack-4.1.5/lib/abstract_controller/callbacks.rb:20:in `block in process_action' | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:113:in `call' | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:113:in `call' | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:149:in `call' | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional' | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call' | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting' | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `call' | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:166:in `block in halting' | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:299:in `call' | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:299:in `block (2 levels) in halting' | /opt/theforeman/tfm/root/usr/share/gems/gems/rails-observers-0.1.2/lib/rails/observers/action_controller/caching/sweeping.rb:73:in `around' | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:447:in `public_send' Version-Release number of selected component (if applicable): Sat 6.2 beta snap7.1 How reproducible: Steps to Reproduce: 1. sync centos doscker contents 2. publish it in CV 3. use same CV to create new container Actual results: 2016-04-12 03:21:24 [app] [W] Action failed | NoMethodError: undefined method `full_messages' for []:Array Expected results: user should be able to create container Additional info: Test connection to atomic-host CR was successful. I know we already have generic bz1243140 for improving error messages. However I would like to keep this open and track it only for atomic-host. I commented here too but this bug is closed: https://bugzilla.redhat.com/show_bug.cgi?id=1318641#c10
Please note that if I create container by pulling image from docker hub then I was able to create container. So issue is only if I select image from published CV.
Created attachment 1146263 [details] created centos container by selecting image from docker-hub tab
Please note that I selected the Run? checkbox on 'Environment' tab while creating the container. Also, I tried to create other containers of centos/ubuntu images, these are created successfully but couldn't power-on. On explicitly 'Power on' them, UI raises success notification like: 'Success centos is now running'. However, the container status remains 'off'.
Created attachment 1146268 [details] status of all created containers is 'off'
As I said in https://bugzilla.redhat.com/show_bug.cgi?id=1318641#c16 : Atomic host similarly as docker host requires bootstrap cert to be installed. No rpm on atomic host? On Atomic host simply run katello-rhsm-consumer script (bootstrap rpm has it as %postinstall script) # wget http://<SAT>/pub/katello-rhsm-consumer # chmod +x katello-rhsm-consumer # ./katello-rhsm-consumer Sachin can you test if this resolves your issue?
@Lukas: I didn't notice your comment in the bz pointed in comment6. I'm using katello-rhsm-consumer script for atomic host. As I mentioned in comment4, I'm facing this issue only if I use content-view. I can create container If I select images from docker-hub.
Moving 6.2 bugs out to sat-backlog.
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the forseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.