Skip to content

Instantly share code, notes, and snippets.

@jtomasek
Created April 2, 2014 07:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jtomasek/9929727 to your computer and use it in GitHub Desktop.
Save jtomasek/9929727 to your computer and use it in GitHub Desktop.
Validation failed: Name must not include periods, Name is invalid, Environment can't be blank, Architecture can't be blank, Operatingsys│→ git st
tem can't be blank, Domain can't be blank, Ptable cant be blank unless a custom partition has been defined (ActiveRecord::RecordInvalid)│# Not currently on any branch.
/root/foreman/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/validations.rb:56:in `save!' │nothing to commit (working directory clean)
/root/foreman/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/attribute_methods/dirty.rb:33:in `save!' │root@foreman: ~/staypuft
/root/foreman/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/transactions.rb:264:in `block in save!' │→ git br
/root/foreman/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/transactions.rb:313:in `block in with_transaction_retu│* (no branch)
rning_status' │ backup
/root/foreman/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/database_statements.rb:19│ deployment_detail
2:in `transaction' │ master
/root/foreman/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/transactions.rb:208:in `transaction' │ models2
/root/foreman/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/transactions.rb:311:in `with_transaction_returning_sta│ wizard_cancel
tus' │root@foreman: ~/staypuft
/root/foreman/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/transactions.rb:264:in `save!' │→ git co master
/root/staypuft/app/lib/actions/staypuft/host/create.rb:69:in `run' │Previous HEAD position was 3463dba... Do not depend on Libvirt ComputeResource when populating with fake Hosts
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/action.rb:424:in `block (3 levels) in execute_run' │Switched to branch 'master'
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/middleware/stack.rb:26:in `call' │root@foreman: ~/staypuft [git:master]
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/middleware/stack.rb:26:in `pass' │→ git remote -v
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/middleware.rb:16:in `pass' │jrist https://github.com/knowncitizen/staypuft.git (fetch)
/root/staypuft/app/lib/actions/staypuft/middleware/as_current_user.rb:14:in `block in run' │jrist https://github.com/knowncitizen/staypuft.git (push)
/root/staypuft/app/lib/actions/staypuft/middleware/as_current_user.rb:30:in `as_current_user' │ohadlevy https://github.com/ohadlevy/staypuft.git (fetch)
/root/staypuft/app/lib/actions/staypuft/middleware/as_current_user.rb:14:in `run' │ohadlevy https://github.com/ohadlevy/staypuft.git (push)
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/middleware/stack.rb:22:in `call' │origin git@github.com:jtomasek/Staypuft.git (fetch)
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/middleware/stack.rb:26:in `pass' │origin git@github.com:jtomasek/Staypuft.git (push)
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/middleware.rb:16:in `pass' │pitr-ch https://github.com/pitr-ch/OFI.git (fetch)
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/action/progress.rb:30:in `with_progress_calculation' │pitr-ch https://github.com/pitr-ch/OFI.git (push)
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/action/progress.rb:16:in `run' │sseago https://github.com/sseago/staypuft.git (fetch)
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/middleware/stack.rb:22:in `call' │sseago https://github.com/sseago/staypuft.git (push)
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/middleware/world.rb:30:in `execute' │upstream https://github.com/theforeman/OFI.git (fetch)
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/action.rb:424:in `block (2 levels) in execute_run' │upstream https://github.com/theforeman/OFI.git (push)
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/action.rb:423:in `catch' │root@foreman: ~/staypuft [git:master]
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/action.rb:423:in `block in execute_run' │→ git fetch pitr-ch
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/action.rb:353:in `call' │remote: Counting objects: 26, done.
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/action.rb:353:in `block in with_error_handling' │remote: Compressing objects: 100% (23/23), done.
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/action.rb:353:in `catch' │remote: Total 26 (delta 5), reused 0 (delta 0)
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/action.rb:353:in `with_error_handling' │Unpacking objects: 100% (26/26), done.
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/action.rb:422:in `execute_run' │From https://github.com/pitr-ch/OFI
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/action.rb:222:in `execute' │ 4335127..3cbfa42 master -> pitr-ch/master
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:9:in `block (2 levels) │ 3463dba..f175ef4 orchestration -> pitr-ch/orchestration
in execute' │root@foreman: ~/staypuft [git:master]
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/execution_plan/steps/abstract.rb:141:in `call' │→ git co pitr-ch/orchestration
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/execution_plan/steps/abstract.rb:141:in `with_meta_calculation' │Note: checking out 'pitr-ch/orchestration'.
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:8:in `block in execute'│
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:22:in `open_action' │You are in 'detached HEAD' state. You can look around, make experimental
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:7:in `execute' │changes and commit them, and you can discard any commits you make in this
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/executors/parallel/worker.rb:20:in `block in on_message' │state without impacting any branches by performing another checkout.
/root/foreman/vendor/bundle/ruby/1.9.1/gems/algebrick-0.4.0/lib/algebrick.rb:859:in `block in assigns' │
/root/foreman/vendor/bundle/ruby/1.9.1/gems/algebrick-0.4.0/lib/algebrick.rb:858:in `tap' │If you want to create a new branch to retain commits you create, you may
/root/foreman/vendor/bundle/ruby/1.9.1/gems/algebrick-0.4.0/lib/algebrick.rb:858:in `assigns' │do so (now or later) by using -b with the checkout command again. Example:
/root/foreman/vendor/bundle/ruby/1.9.1/gems/algebrick-0.4.0/lib/algebrick.rb:138:in `match_value' │
/root/foreman/vendor/bundle/ruby/1.9.1/gems/algebrick-0.4.0/lib/algebrick.rb:116:in `block in match' │ git checkout -b new_branch_name
/root/foreman/vendor/bundle/ruby/1.9.1/gems/algebrick-0.4.0/lib/algebrick.rb:115:in `each' │
/root/foreman/vendor/bundle/ruby/1.9.1/gems/algebrick-0.4.0/lib/algebrick.rb:115:in `match' │HEAD is now at f175ef4... Use first Libvirt compute resource instead lookup by name
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/executors/parallel/worker.rb:17:in `on_message' │root@foreman: ~/staypuft
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/micro_actor.rb:82:in `on_envelope' │→
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/micro_actor.rb:72:in `receive' │
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/micro_actor.rb:99:in `block (2 levels) in run' │
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/micro_actor.rb:99:in `loop' │
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/micro_actor.rb:99:in `block in run' │
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/micro_actor.rb:99:in `catch' │
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/micro_actor.rb:99:in `run' │
/root/foreman/vendor/bundle/ruby/1.9.1/gems/dynflow-0.6.0/lib/dynflow/micro_actor.rb:13:in `block in initialize' │
Step 45a6d50b-5647-4f34-9e28-30a5a1ca3648: 4 running >> error in phase Run Actions::Staypuft::Host::Create │
ExecutionPlan 45a6d50b-5647-4f34-9e28-30a5a1ca3648 running >> paused
@jenery
Copy link

jenery commented Apr 2, 2014

with

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment