Closed Bug 1058688 Opened 10 years ago Closed 10 years ago

[aws-provisioner] Error when trying to view edit page (cannot edit)

Categories

(Taskcluster :: Services, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jlal, Unassigned)

Details

500 TypeError: /app/views/workertype-edit.jade:16<br/> 14| - var action = "update"<br/> 15| - var configuration = workerType.configuration<br/> > 16| - var userData = JSON.parse(new Buffer(configuration.launchSpecification.UserData, 'base64').toString())<br/> 17| - delete configuration.launchSpecification.UserData<br/> 18| else<br/> 19| - var action = "create"<br/><br/>First argument needs to be a number, array or string.
"workaround" is restarting provisioner =p
Hmm, sounds like configuration.launchSpecification.UserData was `undefined` and something failed to parse it. If there is a workaround, I suggest we postpone until we rewrite aws-provisioner. I think a sane approach is making it API only, and put the GUI on docs.taskcluster.net/tools/ or something... - Our node/jade based UIs are truly horrific and error prone..
Not sure how terrible restarting the worker is as a work around won't scale well at a minimum =p
Pretty sure I fixed last week. The provisioner code is still very... hmm.. let's call it interesting... but it works :)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Component: TaskCluster → AWS-Provisioner
Product: Testing → Taskcluster
Component: AWS-Provisioner → Services
You need to log in before you can comment on or make changes to this bug.