Dear all,

I am trying to deploy clearwater on EC2. When I tried to delete the
deployment and run the following command:

knife deployment delete -E clearwater -VV

I got the following message:

/home/ubuntu/.rvm/gems/ruby-1.9.3-p551/gems/chef-11.4.0/lib/chef/node/attribute.rb:358:in
`method_missing': Undefined method or attribute `roles' on `node'
(NoMethodError)
        from 
/home/ubuntu/.rvm/gems/ruby-1.9.3-p551/gems/chef-11.4.0/lib/chef/node.rb:236:in
`method_missing'
        from 
/home/ubuntu/chef/.chef/plugins/knife/knife-deployment-delete.rb:62:in
`block in run'
        from 
/home/ubuntu/chef/.chef/plugins/knife/knife-deployment-delete.rb:62:in
`select'
        from 
/home/ubuntu/chef/.chef/plugins/knife/knife-deployment-delete.rb:62:in
`run'
        from 
/home/ubuntu/.rvm/gems/ruby-1.9.3-p551/gems/chef-11.4.0/lib/chef/knife.rb:460:in
`run_with_pretty_exceptions'
        from 
/home/ubuntu/.rvm/gems/ruby-1.9.3-p551/gems/chef-11.4.0/lib/chef/knife.rb:173:in
`run'
        from 
/home/ubuntu/.rvm/gems/ruby-1.9.3-p551/gems/chef-11.4.0/lib/chef/application/knife.rb:123:in
`run'
        from 
/home/ubuntu/.rvm/gems/ruby-1.9.3-p551/gems/chef-11.4.0/bin/knife:25:in
`<top (required)>'
        from /home/ubuntu/.rvm/gems/ruby-1.9.3-p551/bin/knife:23:in `load'
        from /home/ubuntu/.rvm/gems/ruby-1.9.3-p551/bin/knife:23:in `<main>'
        from 
/home/ubuntu/.rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:15:in
`eval'
        from 
/home/ubuntu/.rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:15:in
`<main>'

But I can run the command

knife deployment clean -E clearwater -VV

without errors.

Could anyone give me a hint about what's going wrong?

Thanks,
Xiaoke

_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org

Reply via email to