Description of problem: got failure when trying to migrate raw app. Version-Release number of selected component (if applicable): devenv_1659 How reproducible: always Steps to Reproduce: 1.start an old instance 2.create raw app on it 3.update instance and run migrate-2.0.7 script on instance Actual results: Migrating app 'rawtodiy' with uuid '089761d1a03c4172a9458f515e3e35a5' on node 'ip-10-110-162-138' for user: bmeng+1 Failed to migrate with cmd: './migrate-2.0.7 --rhlogin 'bmeng+1' --migrate-app 'rawtodiy'' after 2 tries with exception: Failed to validate app_type: undefined method `match' for nil:NilClass /usr/lib/ruby/site_ruby/1.8/mcollective/rpc/client.rb:528:in `process_results_with_block'/usr/lib/ruby/site_ruby/1.8/mcollective/rpc/client.rb:450:in `call_agent'/usr/lib/ruby/site_ruby/1.8/mcollective/client.rb:129:in `req'/usr/lib/ruby/site_ruby/1.8/mcollective/client.rb:124:in `loop'/usr/lib/ruby/site_ruby/1.8/mcollective/client.rb:124:in `req'/usr/lib/ruby/1.8/timeout.rb:67:in `timeout'/usr/lib/ruby/site_ruby/1.8/mcollective/client.rb:123:in `req'/usr/lib/ruby/site_ruby/1.8/mcollective/rpc/client.rb:446:in `call_agent'/usr/lib/ruby/site_ruby/1.8/mcollective/rpc/client.rb:257:in `custom_request'/usr/lib/ruby/site_ruby/1.8/mcollective/rpc/client.rb:193:in `method_missing'./migrate-2.0.7:32:in `migrate_app'/var/www/stickshift/broker/lib/express/broker/application_container_proxy.rb:607:in `rpc_exec'./migrate-2.0.7:31:in `migrate_app'/usr/lib/ruby/1.8/timeout.rb:67:in `timeout'./migrate-2.0.7:30:in `migrate_app'./migrate-2.0.7:449:in `migrate_from_file'./migrate-2.0.7:447:in `each'./migrate-2.0.7:447:in `migrate_from_file'./migrate-2.0.7:559 Output: Migrating app on node with: ./migrate-2.0.7 --rhlogin 'bmeng+1' --migrate-app 'rawtodiy' Expected results: should be migrated without any errors. Additional info:
migrate-mongo-2.0.7 needs to be run before running migrate-2.0.7
following devel's comment c#1, run migrate-mongo-2.0.7 before migrate-2.0.7, issue has been fixed.