Hi,
I installed ONAP with Kubernetes and Rancher ( Version Casablanca ). In the
aaf-sms pod I get the following log.




ERROR: 2019/06/18 16:46:40 auth.go:226: Read from file: open auth/role: no
such file or directory
ERROR: 2019/06/18 16:46:40 vault.go:405: Creating Policy: Error making API
request.

URL: PUT http://aaf-sms-db:8200/v1/sys/policy/smsvaultpolicy
Code: 503. Errors:

* Vault is sealed
ERROR: 2019/06/18 16:46:40 vault.go:85: InitRole First Attempt: Unable to
create policy for approle creation
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x68b747]

goroutine 1 [running]:
crypto/x509.IsEncryptedPEMBlock(...)
/w/tools/org.jenkinsci.plugins.golang.GolangInstallation/Golang_1.11/src/crypto/x509/pem_decrypt.go:100
sms/auth.readPEMBlock(0xc0001102a0, 0x16, 0x757, 0x957, 0x1, 0x0, 0x0)
/w/workspace/aaf-sms-master-docker-golang-shell-daily/sms-service/src/sms/auth/auth.go:88
+0x107
sms/auth.GetTLSConfig(0xc000110280, 0x1a, 0xc0001102a0, 0x16, 0xc0001102c0,
0x15, 0x94, 0x81d520, 0x7556a0)
/w/workspace/aaf-sms-master-docker-golang-shell-daily/sms-service/src/sms/auth/auth.go:55
+0x1be
main.main()
/w/workspace/aaf-sms-master-docker-golang-shell-daily/sms-service/src/sms/sms.go:72
+0x366
ERROR: 2019/06/18 16:50:05 auth.go:226: Read from file: open auth/role: no
such file or directory
ERROR: 2019/06/18 16:50:05 vault.go:405: Creating Policy: Error making API
request.

URL: PUT http://aaf-sms-db:8200/v1/sys/policy/smsvaultpolicy
Code: 503. Errors:

* Vault is sealed
ERROR: 2019/06/18 16:50:05 vault.go:85: InitRole First Attempt: Unable to
create policy for approle creation
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x68b747]

goroutine 1 [running]:
crypto/x509.IsEncryptedPEMBlock(...)
/w/tools/org.jenkinsci.plugins.golang.GolangInstallation/Golang_1.11/src/crypto/x509/pem_decrypt.go:100
sms/auth.readPEMBlock(0xc0000447a0, 0x16, 0x757, 0x957, 0x1, 0x0, 0x0)
/w/workspace/aaf-sms-master-docker-golang-shell-daily/sms-service/src/sms/auth/auth.go:88
+0x107
sms/auth.GetTLSConfig(0xc000044780, 0x1a, 0xc0000447a0, 0x16, 0xc0000447c0,
0x15, 0x94, 0x81d520, 0x7556a0)
/w/workspace/aaf-sms-master-docker-golang-shell-daily/sms-service/src/sms/auth/auth.go:55
+0x1be
main.main()
/w/workspace/aaf-sms-master-docker-golang-shell-daily/sms-service/src/sms/sms.go:72
+0x366



The status of the aaf containers is as follows:

dev-aaf-aaf-cm-858d9bbd58-vfs4x                               1/1
Running            0          20h
dev-aaf-aaf-cs-db78f4b6-5w5mr                                 1/1
Running            0          20h
dev-aaf-aaf-fs-cc68f85f7-26tsm                                1/1
Running            0          20h
dev-aaf-aaf-gui-8f979c4d9-thx4z                               1/1
Running            0          20h
dev-aaf-aaf-hello-84df87c74b-ppf99                            1/1
Running            0          20h
dev-aaf-aaf-locate-74466c9857-5qzww                           1/1
Running            0          20h
dev-aaf-aaf-oauth-65db47977f-r6797                            1/1
Running            0          20h
dev-aaf-aaf-service-77454cb8c-76whj                           1/1
Running            0          20h
dev-aaf-aaf-sms-66c7df78f5-fmld8                              0/1
CrashLoopBackOff   238        20h
dev-aaf-aaf-sms-preload-wxfbn                                 0/1
Init:0/1           119        20h
dev-aaf-aaf-sms-quorumclient-0                                1/1
Running            0          20h
dev-aaf-aaf-sms-quorumclient-1                                1/1
Running            0          20h
dev-aaf-aaf-sms-quorumclient-2                                1/1
Running            0          20h
dev-aaf-aaf-sms-vault-0                                       2/2
Running            1          20h
dev-aaf-aaf-sshsm-distcenter-db7wf                            0/1
Completed          0          20h
dev-aaf-aaf-sshsm-testca-h5bfv                                0/1
Completed          0          20h



Regards.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#17642): https://lists.onap.org/g/onap-discuss/message/17642
Mute This Topic: https://lists.onap.org/mt/32122724/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to