Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 01 02:59

    sawanoboly on integration_testedge

    Revert "remove test-unit-notify… Merge branch 'master' into inte… (compare)

  • Jan 01 02:54

    sawanoboly on integration_testedge

    remove test-unit-notify from de… Merge branch 'master' into inte… (compare)

  • Jan 01 02:54

    sawanoboly on master

    remove test-unit-notify from de… (compare)

  • Dec 27 2018 06:16

    sawanoboly on integration_testedge

    no-document (compare)

  • Dec 27 2018 05:55

    sawanoboly on integration_testedge

    use no-document (compare)

  • Dec 27 2018 05:52

    sawanoboly on master

    update test base to 2.5 (compare)

  • Dec 27 2018 05:52

    sawanoboly on integration_testedge

    update test base to 2.5 Merge branch 'master' into inte… (compare)

  • Dec 27 2018 05:45

    sawanoboly on integration_testedge

    use ohai 15 (compare)

  • Dec 27 2018 05:37

    sawanoboly on integration_testedge

    -N Merge branch 'master' into inte… (compare)

  • Dec 27 2018 05:37

    sawanoboly on master

    -N (compare)

  • Dec 26 2018 17:10

    sawanoboly on integration_testedge

    allow confirmed add two labels to exemptLabels Merge branch 'master' into inte… and 2 more (compare)

  • Dec 26 2018 17:09

    sawanoboly on master

    udpate option for gem (compare)

  • Nov 15 2018 04:21
    stale[bot] closed #113
  • Nov 15 2018 04:21
    stale[bot] closed #91
  • Nov 15 2018 04:21
    stale[bot] closed #50
  • Nov 15 2018 04:21
    stale[bot] closed #48
  • Nov 06 2018 11:09
    EugenMayer commented #115
  • Nov 06 2018 09:55
    sawanoboly commented #115
  • Nov 06 2018 09:48
    sawanoboly labeled #115
  • Nov 06 2018 09:36
    stale[bot] unlabeled #115
Yukihiko SAWANOBORI
@sawanoboly
hmm.. knife node edit just launchs an editor.
if you can handle the Ruby, you can use knife exec or chef-shell to update node object and save it.
Or, convert your json to recipe with node.set[:key] = 'value' syntax and add it to run_list.
Jure Polutnik
@jurepolutnik
@sawanoboly maybe I was unclear (noobishly)... I want to override recipes' default attributes. ... e.g. postgresql to specify password.
Yukihiko SAWANOBORI
@sawanoboly
please check Attribute Persistence https://docs.chef.io/attributes.html
Then, try override by role or environment.
Jure Polutnik
@jurepolutnik
@sawanoboly Thanks.
Nhat Nguyen
@nhatnguyen26
I am getting error with this message
Chef::Exceptions::ContentLengthMismatch: Response body length 224575298 does not match HTTP Content-Length header 226923008.
and it is kind of randomly happen
can you help
Yukihiko SAWANOBORI
@sawanoboly
@nhatnguyen26
Did you used SSH gateway?
I've never seen this error, but I got same report from users which use the knife-zero with SSH gateway occasionally.
Can you tell me correct steps of reproduce?
Nhat Nguyen
@nhatnguyen26
what is ssh gateway
I didn't do any thing much different'
I just redeploy my knife repo
spawn a vm, install chef-client 12.3.0 (not using bootstrap)
then run bootstrap
it does not 100% happen
but really often
I though my cookbook might have problem, but I tried using other tool such as knife solo and it still work
Yukihiko SAWANOBORI
@sawanoboly
I found similar probrem on other knife-plugin now. chef/chef-provisioning#139
Maybe, there are a bug at process to calculate Content-Length in core...
Nhat Nguyen
@nhatnguyen26
I think so too, but a little bit throw me off since knife-solo is working but not knife-zero
Yukihiko SAWANOBORI
@sawanoboly
The knife-solo doesn't retrieve recipes via http(chef-zero/chef-client local mode).
Nhat Nguyen
@nhatnguyen26
oh, that's why
do you have any suggestion how to fix this even temporarily?
Yukihiko SAWANOBORI
@sawanoboly
I think that this error should report to chef or chef-zero, and should support to solve it.
Nhat Nguyen
@nhatnguyen26
ok
Yukihiko SAWANOBORI
@sawanoboly
Thank you for your understanding.
The knife-zero is a plug-in to add transfer method, most of the functions depends on the core.
Nhat Nguyen
@nhatnguyen26
sure, no worry
I am still pretty new on these stuffs
Adam Patterson
@adampats
it seems that the --ssh-password option doesn't do anything?
Petr Michalec
@epcim
Hi, is there a way how to support a data_bags ?
Petr Michalec
@epcim
oh.. got it. works - I forgot to update cookbooks in repo
Yukihiko SAWANOBORI
@sawanoboly
@epcim :+1:
@adampats :+1: higanworks/knife-zero#66
Joseph-R
@Joseph-R
Can knife-zero handle parallel deploys?
Also curious if there is an official way to loop over a list of IPs and bootstrap them all with the same code in knife zero.
Yukihiko SAWANOBORI
@sawanoboly
converge subcommand supports run parallely.
bootstrap subcommand does not have option. but, it can run parallely with tools, such as GNU-parallel, walter-cd, etc..
@Joseph-R please check examples
Scott Bowers
@sbbowers__twitter
hello, does anyone have good documentation on how to use knife/knife-zero? it appears as though the configure script fails at generating the API client. searching says its broken for chef 12
Scott Bowers
@sbbowers__twitter
does knife zero converge not handle encrypted databags? Looks like it doesn't copy the key.
Rohit Choudhary
@TwittsRohit_twitter
hi
I am getting this outputs
rohit [2018-01-22T07:21:36+00:00] INFO: The plugin path /etc/chef/ohai/plugins does not exist. Skipping...
rohit [2018-01-22T07:21:38+00:00] INFO: Setting the run_list to [] from CLI options
rohit [2018-01-22T07:21:38+00:00] INFO: Run List is []
rohit [2018-01-22T07:21:38+00:00] INFO: Run List expands to []
I am not able to create new server using existing chef script
I am novice in it
Yukihiko SAWANOBORI
@sawanoboly
hi @TwittsRohit_twitter
knife-zero is not a tool to create a new server. It is a tool to execute Chef's recipe (script) on a server that can already connect to SSH.