Comments (3)
So I yanked that header (which it turns out I had totally misunderstood how it worked - oops) and pushed that up to master. Unfortunately knife cookbook download
at least is still breaking for a different reason - it expects a cookbook to be returned with :all_files
in the manifest, which goiardi doesn't do yet (because it's still just chef 11 with the occasional chef 12 aspect).
I'm mulling over what the best way forward is, but I think I need to get in gear on finally completing the chef 12+ work I've been putting off all this time.
from goiardi.
Either "0" was never implemented by vanilla chef-server or this is a recent bug of chef⦠what do you think?
The source of @versions
is http/api_versions.rb
example header:
[20] pry(#<Chef::HTTP::APIVersions>)> http_response.each_header {|key,value| puts "#{key} = #{value}" }
server = openresty/1.11.2.3
date = Wed, 12 Jul 2017 01:46:14 GMT
content-type = application/json
content-length = 142
connection = close
x-chef-version = 11.1.7
x-goiardi = yes
x-goiardi-version = 0.11.5
x-ops-api-info = flavor=osc;version:11.1.7;goiardi=0.11.5
x-ops-server-api-version = 0
strict-transport-security = max-age=63072000; includeSubDomains; preload
x-frame-options = DENY
x-content-type-options = nosniff
=> {"server"=>["openresty/1.11.2.3"],
"date"=>["Wed, 12 Jul 2017 01:46:14 GMT"],
"content-type"=>["application/json"],
"content-length"=>["142"],
"connection"=>["close"],
"x-chef-version"=>["11.1.7"],
"x-goiardi"=>["yes"],
"x-goiardi-version"=>["0.11.5"],
"x-ops-api-info"=>["flavor=osc;version:11.1.7;goiardi=0.11.5"],
"x-ops-server-api-version"=>["0"],
"strict-transport-security"=>["max-age=63072000; includeSubDomains; preload"],
"x-frame-options"=>["DENY"],
"x-content-type-options"=>["nosniff"]}
from goiardi.
Well then, I guess I shouldn't have added that API version header, eh? It seemed like it would be a "not essential, but good to have" thing to have around, but since it was always kind of decorative it should get yanked out until such time as I finally finish 12+ compat. (I swear, I still plan on doing so, but there's been a combination of other things coming up, not feeling at my best more lately, and somehow having found myself not actually strongly needing organizations, but it's actually fairly close.) I'll test this out and should have a fix turned around shortly.
from goiardi.
Related Issues (20)
- Server crash on query HOT 8
- Unable to upload cookbook with new knife HOT 7
- Q: Memory consumption when using in-memory/internal mode HOT 27
- Serf reconnect HOT 5
- Q: housekeeping of node_statuses/reports/sandboxes HOT 9
- cookbook_versions in environments HOT 3
- Provide updated Docker builds HOT 2
- Client create fails with invalid key create_key HOT 3
- Postgres database size HOT 2
- Column extended_info too small in goiardi-schema-mysql.sql HOT 1
- goiardi.gl does not resolve anymore HOT 2
- Non-admin client cannot fetch another user's public key HOT 2
- Contributing on the project HOT 2
- Anonymous api endpoint for a load balancer healthcheck? HOT 3
- Message "cannot parse UTC" in goiardi logs HOT 4
- Knife upload user doesn't work properly HOT 3
- Excessive memory pressure during cookbook upload HOT 10
- V2 Proposal HOT 7
- Unexpected Search Index merge precedence
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goiardi.