我用Chef automate(1.8.96)配置了Chef服务器(版本:12.13.0)。但是我在Chef Automate GUI上看不到上传的食谱。
当我检查Chef服务器的日志时,它显示以下错误:
==> /var/log/opscode/opscode-erchef/erchef.log.3 <==
2018-09-27 05:03:39.632 [error] {<<"method=GET;path=/organizations/automateorg/cookbooks; status=406; ">>,"Not Acceptable"}
2018-09-27 05:14:54.503 [error] {<<"method=GET; path=/organizations/automateorg/nodes/testnode; status=404; ">>,"Not Found"}
2018-09-27 05:14:54.682 [error] {<<"method=GET; path=/organizations/automateorg/clients/testnode; status=404; ">>,"Not Found"}
2018-09-27 05:14:55.558 [error] {<<"method=PUT; path=/organizations/automateorg/nodes/testnode; status=404; ">>,"Not Found"}
2018-09-27 05:30:19.797 [error] {<<"method=PUT; path=/organizations/automateorg/nodes/testnode; status=404; ">>,"Not Found"}
2018-09-27 06:35:28.826 [error] {<<"method=PUT; path=/organizations/automateorg/nodes/testnode; status=404; ">>,"Not Found"}
2018-09-27 07:00:32.613 [error] {<<"method=PUT; path=/organizations/automateorg/nodes/testnode; status=404; ">>,"Not Found"}
2018-09-27 07:02:05.227 [error] {<<"method=GET; path=/organizations/automateorg/cookbooks; status=406; ">>,"Not Acceptable"}
2018-09-27 07:06:40.580 [error] {<<"method=GET; path=/organizations/automateorg/cookbooks; status=406; ">>,"Not Acceptable"}
2018-09-27 07:13:15.617 [error] {<<"method=GET; path=/organizations/automateorg/cookbooks; status=406; ">>,"Not Acceptable"}
==> /var/log/opscode/opscode-erchef/crash.log.4 <==
2018-09-26 07:56:01 =ERROR REPORT====
{<<"method=GET; path=/organizations/automateorg/cookbooks; status=406;
">>,"Not Acceptable"}
==> /var/log/opscode/opscode-erchef/crash.log <==
2018-10-01 04:19:08 =ERROR REPORT====
{<<"method=GET; path=/organizations/automateorg/cookbooks; status=406;
">>,"Not Acceptable"}
==> /var/log/opscode/opscode-erchef/crash.log.2 <==
2018-09-28 02:53:55 =ERROR REPORT====
{<<"method=GET; path=/organizations/automateorg/cookbooks; status=406;
">>,"Not Acceptable"}
2018-09-28 02:55:40 =ERROR REPORT====
{<<"method=GET; path=/organizations/automateorg/cookbooks; status=406;
">>,"Not Acceptable"}
2018-09-28 02:56:25 =ERROR REPORT====
{<<"method=GET; path=/organizations/automateorg/cookbooks; status=406;
">>,"Not Acceptable"}
2018-09-28 04:30:39 =ERROR REPORT====
{<<"method=GET; path=/organizations/automateorg/cookbooks; status=406;
">>,"Not Acceptable"}
2018-09-28 04:43:15 =ERROR REPORT====
{<<"method=GET; path=/organizations/automateorg/cookbooks; status=406;
">>,"Not Acceptable"}
请,如果有人对这个问题有想法,请告诉我,因为我尝试了很多调试,但仍然没有运气。
先谢谢您。