Closed bapril closed 7 years ago
Did the file "en-US.json" fail to get committed? I ran into the translation problem with 1.4.2, upgraded to 1.4.5, but still getting: panic: no supported languages found []string{"en-US"}
The trident.conf
file references a default file en-US.json
, but I don't find one installed or in the repo/compiled .deb
file.
All tsetup
commands are failing, so auto-configuration with Ansible is broken. :(
Dave, did you install the pitchfork data package?
https://github.com/tridentli/trident/releases/download/v1.4.5/pitchfork-data_1.9.4_all.deb
That contains the file in question.
I just verified that it is not listed as a required dependancy. (adding an issue now)
I did, but it was the 1.9.1 version that went with trident-server 1.4.2. I upgraded to 1.9.4 and now have /usr/share/pitchfork/languages/en-US.json (owned by root:root with mode 0755). But I still get panic error messages, though this time including the name 'en-US' (so it looks like the selection part works). See attached.
I don't see any messages in syslog that correlate with these. Should this file end up in a different directory?
On Sat, Jan 28, 2017 at 6:15 PM, bapril notifications@github.com wrote:
Dave, did you install the pitchfork data package?
https://github.com/tridentli/trident/releases/download/v1. 4.5/pitchfork-data_1.9.4_all.deb
That contains the file in question.
I just verified that it is not listed as a required dependancy. (adding an issue now)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tridentli/trident/pull/68#issuecomment-275888914, or mute the thread https://github.com/notifications/unsubscribe-auth/AByZMRJY-9ZyFOo2P9t-VAKYeZryHNxqks5rW_ZNgaJpZM4LryXb .
-- Dave Dittrich dave.dittrich@gmail.com
TASK [trident : Ensure core Trident packages are installed (1.4.x)] **** Saturday 28 January 2017 21:57:25 -0800 (0:00:00.076) 0:14:11.400 ** changed: [purple.devops.local] => (item=pitchfork-data_1.9.4_all.deb) changed: [purple.devops.local] => (item=trident-cli_1.4.5_amd64.deb) changed: [purple.devops.local] => (item=trident-server_1.4.5_amd64.deb) changed: [purple.devops.local] => (item=trident_1.4.5_all.deb)
msg: All items completed
. . .
TASK [trident : Ensure system configuration is present (1.4.x)] **** Saturday 28 January 2017 21:57:36 -0800 (0:00:00.292) 0:14:21.581 ** failed: [purple.devops.local] (item=system swapadmin) => { "changed": true, "cmd": "/usr/sbin/tsetup sudo trident system swapadmin", "delta": "0:00:00.030245", "end": "2017-01-28 21:57:36.275110", "failed": true, "item": "system swapadmin", "rc": 2, "start": "2017-01-28 21:57:36.244865", "warnings": [] }
STDERR:
panic: no supported languages found []string{"en-US"}
goroutine 1 [running]: panic(0x982da0, 0xc8201da590) /opt/go-1.6.1/src/runtime/panic.go:464 +0x3e6 trident.li/pitchfork/lib.NewPfCtx(0xc68da8, 0xc68da0, 0xc68db0, 0x0, 0x0, 0x0, 0x0) /opt/dims/src/trident/ext/_gopath/src/trident.li/pitchfork/lib/ctx.go:222 +0x10b trident.li/trident/src/lib.NewTriCtx(0x0, 0x0) /opt/dims/src/trident/ext/_gopath/src/trident.li/trident/src/lib/ctx.go:13 +0x5d trident.li/pitchfork/cmd/setup.Setup(0xb40318, 0x6, 0xb402b8, 0x7, 0xb39710, 0x7, 0xc66f00, 0x5, 0xbd3900, 0x21, ...) /opt/dims/src/trident/ext/_gopath/src/trident.li/pitchfork/cmd/setup/setup.go:171 +0xa8c main.main() /opt/dims/src/trident/src/cmd/tsetup/tsetup.go:22 +0xf5
failed: [purple.devops.local] (item=system set name 'LOCAL Trident Portal') => { "changed": true, "cmd": "/usr/sbin/tsetup sudo trident system set name 'LOCAL Trident Portal'", "delta": "0:00:00.032332", "end": "2017-01-28 21:57:36.430015", "failed": true, "item": "system set name 'LOCAL Trident Portal'", "rc": 2, "start": "2017-01-28 21:57:36.397683", "warnings": [] }
STDERR:
panic: no supported languages found []string{"en-US"}
goroutine 1 [running]: panic(0x982da0, 0xc82028a480) /opt/go-1.6.1/src/runtime/panic.go:464 +0x3e6 trident.li/pitchfork/lib.NewPfCtx(0xc68da8, 0xc68da0, 0xc68db0, 0x0, 0x0, 0x0, 0x0) /opt/dims/src/trident/ext/_gopath/src/trident.li/pitchfork/lib/ctx.go:222 +0x10b trident.li/trident/src/lib.NewTriCtx(0x0, 0x0) /opt/dims/src/trident/ext/_gopath/src/trident.li/trident/src/lib/ctx.go:13 +0x5d trident.li/pitchfork/cmd/setup.Setup(0xb40318, 0x6, 0xb402b8, 0x7, 0xb39710, 0x7, 0xc66f00, 0x5, 0xbd3900, 0x21, ...) /opt/dims/src/trident/ext/_gopath/src/trident.li/pitchfork/cmd/setup/setup.go:171 +0xa8c main.main() /opt/dims/src/trident/src/cmd/tsetup/tsetup.go:22 +0xf5
failed: [purple.devops.local] (item=system set welcome_text 'LOCAL Trident') => { "changed": true, "cmd": "/usr/sbin/tsetup sudo trident system set welcome_text 'LOCAL Trident'", "delta": "0:00:00.031790", "end": "2017-01-28 21:57:36.578192", "failed": true, "item": "system set welcome_text 'LOCAL Trident'", "rc": 2, "start": "2017-01-28 21:57:36.546402", "warnings": [] }
STDERR:
panic: no supported languages found []string{"en-US"}
goroutine 1 [running]: panic(0x982da0, 0xc8201c4410) /opt/go-1.6.1/src/runtime/panic.go:464 +0x3e6 trident.li/pitchfork/lib.NewPfCtx(0xc68da8, 0xc68da0, 0xc68db0, 0x0, 0x0, 0x0, 0x0) /opt/dims/src/trident/ext/_gopath/src/trident.li/pitchfork/lib/ctx.go:222 +0x10b trident.li/trident/src/lib.NewTriCtx(0x0, 0x0) /opt/dims/src/trident/ext/_gopath/src/trident.li/trident/src/lib/ctx.go:13 +0x5d trident.li/pitchfork/cmd/setup.Setup(0xb40318, 0x6, 0xb402b8, 0x7, 0xb39710, 0x7, 0xc66f00, 0x5, 0xbd3900, 0x21, ...) /opt/dims/src/trident/ext/_gopath/src/trident.li/pitchfork/cmd/setup/setup.go:171 +0xa8c main.main() /opt/dims/src/trident/src/cmd/tsetup/tsetup.go:22 +0xf5
failed: [purple.devops.local] (item=system set url_public https://purple.devops.local) => { "changed": true, "cmd": "/usr/sbin/tsetup sudo trident system set url_public https://purple.devops.local", "delta": "0:00:00.034061", "end": "2017-01-28 21:57:36.723254", "failed": true, "item": "system set url_public https://purple.devops.local", "rc": 2, "start": "2017-01-28 21:57:36.689193", "warnings": [] }
STDERR:
panic: no supported languages found []string{"en-US"}
goroutine 1 [running]: panic(0x982da0, 0xc8201d6590) /opt/go-1.6.1/src/runtime/panic.go:464 +0x3e6 trident.li/pitchfork/lib.NewPfCtx(0xc68da8, 0xc68da0, 0xc68db0, 0x0, 0x0, 0x0, 0x0) /opt/dims/src/trident/ext/_gopath/src/trident.li/pitchfork/lib/ctx.go:222 +0x10b trident.li/trident/src/lib.NewTriCtx(0x0, 0x0) /opt/dims/src/trident/ext/_gopath/src/trident.li/trident/src/lib/ctx.go:13 +0x5d trident.li/pitchfork/cmd/setup.Setup(0xb40318, 0x6, 0xb402b8, 0x7, 0xb39710, 0x7, 0xc66f00, 0x5, 0xbd3900, 0x21, ...) /opt/dims/src/trident/ext/_gopath/src/trident.li/pitchfork/cmd/setup/setup.go:171 +0xa8c main.main() /opt/dims/src/trident/src/cmd/tsetup/tsetup.go:22 +0xf5
failed: [purple.devops.local] (item=system set adminname 'LOCAL Trident Administrator') => { "changed": true, "cmd": "/usr/sbin/tsetup sudo trident system set adminname 'LOCAL Trident Administrator'", "delta": "0:00:00.030007", "end": "2017-01-28 21:57:36.865512", "failed": true, "item": "system set adminname 'LOCAL Trident Administrator'", "rc": 2, "start": "2017-01-28 21:57:36.835505", "warnings": [] }
STDERR:
panic: no supported languages found []string{"en-US"}
goroutine 1 [running]: panic(0x982da0, 0xc8201d2400) /opt/go-1.6.1/src/runtime/panic.go:464 +0x3e6 trident.li/pitchfork/lib.NewPfCtx(0xc68da8, 0xc68da0, 0xc68db0, 0x0, 0x0, 0x0, 0x0) /opt/dims/src/trident/ext/_gopath/src/trident.li/pitchfork/lib/ctx.go:222 +0x10b trident.li/trident/src/lib.NewTriCtx(0x0, 0x0) /opt/dims/src/trident/ext/_gopath/src/trident.li/trident/src/lib/ctx.go:13 +0x5d trident.li/pitchfork/cmd/setup.Setup(0xb40318, 0x6, 0xb402b8, 0x7, 0xb39710, 0x7, 0xc66f00, 0x5, 0xbd3900, 0x21, ...) /opt/dims/src/trident/ext/_gopath/src/trident.li/pitchfork/cmd/setup/setup.go:171 +0xa8c main.main() /opt/dims/src/trident/src/cmd/tsetup/tsetup.go:22 +0xf5
failed: [purple.devops.local] (item=system set adminemail 'admin@prisem.washington.edu') => { "changed": true, "cmd": "/usr/sbin/tsetup sudo trident system set adminemail 'admin@prisem.washington.edu'", "delta": "0:00:00.029460", "end": "2017-01-28 21:57:37.008745", "failed": true, "item": "system set adminemail 'admin@prisem.washington.edu'", "rc": 2, "start": "2017-01-28 21:57:36.979285", "warnings": [] }
STDERR:
panic: no supported languages found []string{"en-US"}
goroutine 1 [running]: panic(0x982da0, 0xc82028c470) /opt/go-1.6.1/src/runtime/panic.go:464 +0x3e6 trident.li/pitchfork/lib.NewPfCtx(0xc68da8, 0xc68da0, 0xc68db0, 0x0, 0x0, 0x0, 0x0) /opt/dims/src/trident/ext/_gopath/src/trident.li/pitchfork/lib/ctx.go:222 +0x10b trident.li/trident/src/lib.NewTriCtx(0x0, 0x0) /opt/dims/src/trident/ext/_gopath/src/trident.li/trident/src/lib/ctx.go:13 +0x5d trident.li/pitchfork/cmd/setup.Setup(0xb40318, 0x6, 0xb402b8, 0x7, 0xb39710, 0x7, 0xc66f00, 0x5, 0xbd3900, 0x21, ...) /opt/dims/src/trident/ext/_gopath/src/trident.li/pitchfork/cmd/setup/setup.go:171 +0xa8c main.main() /opt/dims/src/trident/src/cmd/tsetup/tsetup.go:22 +0xf5
failed: [purple.devops.local] (item=system set email_domain 'prisem.washington.edu') => { "changed": true, "cmd": "/usr/sbin/tsetup sudo trident system set email_domain 'prisem.washington.edu'", "delta": "0:00:00.038179", "end": "2017-01-28 21:57:37.161935", "failed": true, "item": "system set email_domain 'prisem.washington.edu'", "rc": 2, "start": "2017-01-28 21:57:37.123756", "warnings": [] }
STDERR:
panic: no supported languages found []string{"en-US"}
goroutine 1 [running]: panic(0x982da0, 0xc8201ca590) /opt/go-1.6.1/src/runtime/panic.go:464 +0x3e6 trident.li/pitchfork/lib.NewPfCtx(0xc68da8, 0xc68da0, 0xc68db0, 0x0, 0x0, 0x0, 0x0) /opt/dims/src/trident/ext/_gopath/src/trident.li/pitchfork/lib/ctx.go:222 +0x10b trident.li/trident/src/lib.NewTriCtx(0x0, 0x0) /opt/dims/src/trident/ext/_gopath/src/trident.li/trident/src/lib/ctx.go:13 +0x5d trident.li/pitchfork/cmd/setup.Setup(0xb40318, 0x6, 0xb402b8, 0x7, 0xb39710, 0x7, 0xc66f00, 0x5, 0xbd3900, 0x21, ...) /opt/dims/src/trident/ext/_gopath/src/trident.li/pitchfork/cmd/setup/setup.go:171 +0xa8c main.main() /opt/dims/src/trident/src/cmd/tsetup/tsetup.go:22 +0xf5
failed: [purple.devops.local] (item=system set people_domain 'people.prisem.washington.edu') => { "changed": true, "cmd": "/usr/sbin/tsetup sudo trident system set people_domain 'people.prisem.washington.edu'", "delta": "0:00:00.029905", "end": "2017-01-28 21:57:37.303304", "failed": true, "item": "system set people_domain 'people.prisem.washington.edu'", "rc": 2, "start": "2017-01-28 21:57:37.273399", "warnings": [] }
STDERR:
panic: no supported languages found []string{"en-US"}
goroutine 1 [running]: panic(0x982da0, 0xc8201e8590) /opt/go-1.6.1/src/runtime/panic.go:464 +0x3e6 trident.li/pitchfork/lib.NewPfCtx(0xc68da8, 0xc68da0, 0xc68db0, 0x0, 0x0, 0x0, 0x0) /opt/dims/src/trident/ext/_gopath/src/trident.li/pitchfork/lib/ctx.go:222 +0x10b trident.li/trident/src/lib.NewTriCtx(0x0, 0x0) /opt/dims/src/trident/ext/_gopath/src/trident.li/trident/src/lib/ctx.go:13 +0x5d trident.li/pitchfork/cmd/setup.Setup(0xb40318, 0x6, 0xb402b8, 0x7, 0xb39710, 0x7, 0xc66f00, 0x5, 0xbd3900, 0x21, ...) /opt/dims/src/trident/ext/_gopath/src/trident.li/pitchfork/cmd/setup/setup.go:171 +0xa8c main.main() /opt/dims/src/trident/src/cmd/tsetup/tsetup.go:22 +0xf5
failed: [purple.devops.local] (item=system set logo_image /gfx/logo.png) => { "changed": true, "cmd": "/usr/sbin/tsetup sudo trident system set logo_image /gfx/logo.png", "delta": "0:00:00.031172", "end": "2017-01-28 21:57:37.452251", "failed": true, "item": "system set logo_image /gfx/logo.png", "rc": 2, "start": "2017-01-28 21:57:37.421079", "warnings": [] }
STDERR:
panic: no supported languages found []string{"en-US"}
goroutine 1 [running]: panic(0x982da0, 0xc8201da590) /opt/go-1.6.1/src/runtime/panic.go:464 +0x3e6 trident.li/pitchfork/lib.NewPfCtx(0xc68da8, 0xc68da0, 0xc68db0, 0x0, 0x0, 0x0, 0x0) /opt/dims/src/trident/ext/_gopath/src/trident.li/pitchfork/lib/ctx.go:222 +0x10b trident.li/trident/src/lib.NewTriCtx(0x0, 0x0) /opt/dims/src/trident/ext/_gopath/src/trident.li/trident/src/lib/ctx.go:13 +0x5d trident.li/pitchfork/cmd/setup.Setup(0xb40318, 0x6, 0xb402b8, 0x7, 0xb39710, 0x7, 0xc66f00, 0x5, 0xbd3900, 0x21, ...) /opt/dims/src/trident/ext/_gopath/src/trident.li/pitchfork/cmd/setup/setup.go:171 +0xa8c main.main() /opt/dims/src/trident/src/cmd/tsetup/tsetup.go:22 +0xf5
failed: [purple.devops.local] (item=system set header_image /gfx/header_image.jpg) => { "changed": true, "cmd": "/usr/sbin/tsetup sudo trident system set header_image /gfx/header_image.jpg", "delta": "0:00:00.033868", "end": "2017-01-28 21:57:37.602567", "failed": true, "item": "system set header_image /gfx/header_image.jpg", "rc": 2, "start": "2017-01-28 21:57:37.568699", "warnings": [] }
STDERR:
panic: no supported languages found []string{"en-US"}
goroutine 1 [running]: panic(0x982da0, 0xc820280470) /opt/go-1.6.1/src/runtime/panic.go:464 +0x3e6 trident.li/pitchfork/lib.NewPfCtx(0xc68da8, 0xc68da0, 0xc68db0, 0x0, 0x0, 0x0, 0x0) /opt/dims/src/trident/ext/_gopath/src/trident.li/pitchfork/lib/ctx.go:222 +0x10b trident.li/trident/src/lib.NewTriCtx(0x0, 0x0) /opt/dims/src/trident/ext/_gopath/src/trident.li/trident/src/lib/ctx.go:13 +0x5d trident.li/pitchfork/cmd/setup.Setup(0xb40318, 0x6, 0xb402b8, 0x7, 0xb39710, 0x7, 0xc66f00, 0x5, 0xbd3900, 0x21, ...) /opt/dims/src/trident/ext/_gopath/src/trident.li/pitchfork/cmd/setup/setup.go:171 +0xa8c main.main() /opt/dims/src/trident/src/cmd/tsetup/tsetup.go:22 +0xf5
msg: One or more items failed
I have reproduced, This is related to how the "tsetup sudo" environment is established. Nothing that you did wrong. I'm spinning an issue.
63 cleanup translate related log messages by enabling translation.