2015-10-19 37 views
0

IBM Container執行調用cf ic命令的shell腳本時隨機出現此錯誤。重新啓動容器似乎解決了這個問題。CloudFoundry CLI:無法加載en_US語言文件

爲什麼我看到這個?請問有什麼解決方法?

cf version 6.12.2-24abed3-2015-07-15T21:21:01+00:00 
+++ cf ic group list 
+++ grep testgroup1445002343 
+++ grep CREATE_COMPLETE 
panic: Could not load en_US language files. God save the queen. 
mkdir /tmp/cloudfoundry_cli_i18n_res300449142: read-only file system  


goroutine 1 [running]: 
runtime.panic(0x87e200, 0xc210070730) 
     /usr/local/go/src/pkg/runtime/panic.c:266 +0xb6 
github.com/cloudfoundry/cli/cf/i18n.mustLoadDefaultLocale(0x7fc98e5f0990, 0x128aff8) 
     /var/vcap/data/gocd-agent/pipelines/Linux64-Unit-Tests/src/github.com/cloudfoundry/cli/tmp/cli_gopath/src/github.com/cloudfoundry/cli/cf/i18n/init.go:105 +0xe8 
github.com/cloudfoundry/cli/cf/i18n.Init(0x7fc98e5f09c0, 0xc210068d80, 0x7fc98e5f0990, 0x128aff8, 0xc210068d80) 
     /var/vcap/data/gocd-agent/pipelines/Linux64-Unit-Tests/src/github.com/cloudfoundry/cli/tmp/cli_gopath/src/github.com/cloudfoundry/cli/cf/i18n/init.go:56 +0x1e4 
main.setupDependencies(0x7fc98e46efa0) 
     /var/vcap/data/gocd-agent/pipelines/Linux64-Unit-Tests/src/github.com/cloudfoundry/cli/main/main.go:62 +0x3dd 
main.init() 
     /var/vcap/data/gocd-agent/pipelines/Linux64-Unit-Tests/src/github.com/cloudfoundry/cli/main/main.go:31 +0xbd 

goroutine 4 [syscall]: 
os/signal.loop() 
     /usr/local/go/src/pkg/os/signal/signal_unix.go:21 +0x1e 
created by os/signal.init?1 
     /usr/local/go/src/pkg/os/signal/signal_unix.go:27 +0x31 

回答

1

我有同樣的問題。最終發現,由於不明原因,我的系統上沒有/ tmp目錄(消失了?)。我重新創建它....現在它工作得很好。

相關問題