Closed
Bug 917013
Opened 11 years ago
Closed 9 years ago
Please add windows functions to getcert.cgi
Categories
(Infrastructure & Operations :: RelOps: Puppet, task)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: q, Assigned: q)
Details
(Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/976] [obs-projx][time=1:00])
Attachments
(1 file)
4.63 KB,
patch
|
dustin
:
review+
q
:
feedback+
|
Details | Diff | Splinter Review |
Per IRC conversations with Dustin. We need to be able to get a native windows executable version of certs.sh returned via getcert.cgi for our windows puppetize scripts. Options currently include simply returning a certs.bat file or possibly getting fancy and returning json objects. Backward compatibility should be incorporated so these functions should only be activated via new arguments. ( I.E. &windows=1&JSON=1 etc) with the current behavior being the default.
Comment 1•11 years ago
|
||
Compatibility isn't actually such a big deal - if we do this with JSON, then we can just adjust puppetize.sh in the same commit.
Comment 2•11 years ago
|
||
Attachment #806042 -
Flags: review?(qfortier)
Comment 3•11 years ago
|
||
As a reminder to myself, I'll need to update puppetize.sh on the DS servers.
Comment 4•11 years ago
|
||
Q, ping?
Sorry first time I've had a tag for review. As a quick note this change will break the testing Mark is doing with puppett and my hacked script.
Comment on attachment 806042 [details] [diff] [review] bug917013.patch looks nice and simple. json objects can be parsed client side. I don't see any obvious errors.
Comment 7•11 years ago
|
||
Comment on attachment 806042 [details] [diff] [review] bug917013.patch In the attachment details, set the "review" flag to + (or - if it's not ready to land).
Attachment #806042 -
Flags: review?(qfortier) → review+
Comment 8•11 years ago
|
||
If you need to land this while I'm away, feel free. It should "just work" for kickstarts, and will need the puppetize.sh file copied to the DeployStudio servers in order to make OS X deploys work.
Comment 9•11 years ago
|
||
So, how/when shall we land this?
Comment 10•11 years ago
|
||
As a note to self, this will need a followon fix to the masterize process, which runs deployment_getcert.sh directly.
Comment 11•11 years ago
|
||
We're going to stick with the current status for the moment, until we have puppet running on Windows. Then, we'll swap in the new, JSON-reading vbs script (which isn't written yet) using puppet itself.
Comment 12•11 years ago
|
||
We really should land this at some point....
Comment 13•10 years ago
|
||
we can shipz this nao?
Comment 14•10 years ago
|
||
AIUI Q's working on this. I'll be happ to do the landing when it's ready.
Assignee: dustin → q
Assignee | ||
Comment 15•10 years ago
|
||
json parsing vbs is still being worked on. stalled due to the fact that authentication seems to kill the json get.
Assignee | ||
Comment 16•10 years ago
|
||
Dustin please go ahead and land the patches. We are past the point that it affects Mark's testing and I can tweak the vbs as needed after the getcert.cgi lands.
Attachment #806042 -
Flags: feedback+
Comment 17•10 years ago
|
||
Rail, will landing this make the spot-instance-creation stuff fail?
Flags: needinfo?(rail)
Comment 18•10 years ago
|
||
(In reply to Dustin J. Mitchell [:dustin] (I ignore NEEDINFO) from comment #17) > Rail, will landing this make the spot-instance-creation stuff fail? Yeah. We rely on the fact that the content returned by getcert.py is a shell script, which dumps certs to the files...
Flags: needinfo?(rail)
Comment 19•10 years ago
|
||
How difficult would it be to rework that to accept JSON? And how often does that happen -- do we need a downtime?
Comment 20•10 years ago
|
||
Actually, let's put this on hold. The way project X is looking, we may not be running puppet on windows (!).
Whiteboard: [obs-projx]
Updated•10 years ago
|
Assignee: q → relops
Comment 21•10 years ago
|
||
We probably *should* land this now, with no change to any clients.
Assignee: relops → dustin
Whiteboard: [obs-projx] → [obs-projx][time=1:00]
Updated•10 years ago
|
Assignee: dustin → q
Updated•10 years ago
|
Whiteboard: [obs-projx][time=1:00] → [kanban:engops:https://kanbanize.com/ctrl_board/6/380] [obs-projx][time=1:00]
Updated•10 years ago
|
Whiteboard: [kanban:engops:https://kanbanize.com/ctrl_board/6/380] [obs-projx][time=1:00] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/968] [kanban:engops:https://kanbanize.com/ctrl_board/6/380] [obs-projx][time=1:00]
Updated•10 years ago
|
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/968] [kanban:engops:https://kanbanize.com/ctrl_board/6/380] [obs-projx][time=1:00] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/975] [kanban:engops:https://kanbanize.com/ctrl_board/6/380] [obs-projx][time=1:00]
Updated•10 years ago
|
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/975] [kanban:engops:https://kanbanize.com/ctrl_board/6/380] [obs-projx][time=1:00] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/976] [kanban:engops:https://kanbanize.com/ctrl_board/6/380] [obs-projx][time=1:00]
Updated•10 years ago
|
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/976] [kanban:engops:https://kanbanize.com/ctrl_board/6/380] [obs-projx][time=1:00] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/976] [obs-projx][time=1:00]
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(q)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•