Open lgy1027 opened 10 months ago
When I deploy with the latest image, explorer fails to start
Normal start
explorer-config.yaml ` apiVersion: v1 kind: ConfigMap metadata: name: explorer-config namespace: hyperledger labels: app: explorer data: org1ProdNetworkConnection.json: | { "name": "prod-network", "version": "1.0.0", "client": { "tlsEnable": true, "adminCredential": { "id": "admin", "password": "admin" }, "enableAuthentication": true, "organization": "Org1MSP", "connection": { "timeout": { "peer": { "endorser": "300" }, "orderer": "300" } } }, "channels": { "heroschannel": { "peers": { "peer0.hyperledger.svc.cluster.local": { "endorsingPeer": true, "chaincodeQuery": true, "ledgerQuery": true, "eventSource": true } } } }, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "peers": [ "peer0.hyperledger.svc.cluster.local" ], "adminPrivateKey": { "path": "/var/hyperledger/crypto-config/peerOrganizations/hyperledger.svc.cluster.local/users/User1@hyperledger.svc.cluster.local/msp/keystore/priv_sk" }, "signedCert": { "path": "/var/hyperledger/crypto-config/peerOrganizations/hyperledger.svc.cluster.local/users/User1@hyperledger.svc.cluster.local/msp/signcerts/User1@hyperledger.svc.cluster.local-cert.pem" } } }, "peers": { "peer0.hyperledger.svc.cluster.local": { "url": "grpcs://peer0.hyperledger.svc.cluster.local:7051", "grpcOptions": { "ssl-target-name-override": "peer0.hyperledger.svc.cluster.local", "hostnameOverride": "peer0.hyperledger.svc.cluster.local", "request-timeout": 120001 }, "tlsCACerts": { "path": "/var/hyperledger/crypto-config/peerOrganizations/hyperledger.svc.cluster.local/peers/peer0.hyperledger.svc.cluster.local/tls/ca.crt" } } } }
config.json: | { "network-configs": { "prod-network": { "name": "Prod Network", "profile": "./connection-profile/org1ProdNetworkConnection.json" } }, "license": "Apache-2.0" } ` explorer-db.yaml
` apiVersion: apps/v1 kind: Deployment metadata: namespace: hyperledger name: explorer-db spec: selector: matchLabels: app: explorer-db template: metadata: labels: app: explorer-db spec: containers:
apiVersion: v1 kind: Service metadata: namespace: hyperledger name: explorer-db spec: selector: app: explorer-db ports:
explorer.yaml
` apiVersion: apps/v1 kind: Deployment metadata: name: explorer spec: selector: matchLabels: app: explorer template: metadata: labels: app: explorer spec: containers:
apiVersion: v1 kind: Service metadata: name: explorer-service spec: selector: app: explorer ports:
Linux: Linux ecs-zhisuan-0001 4.14.0-115.el7a.0.1.aarch64 #1 SMP Sun Nov 25 20:54:21 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
What happened?
When I deploy with the latest image, explorer fails to start
What did you expect to happen?
Normal start
How can we reproduce it (as minimally and precisely as possible)?
explorer-config.yaml ` apiVersion: v1 kind: ConfigMap metadata: name: explorer-config namespace: hyperledger labels: app: explorer data: org1ProdNetworkConnection.json: | { "name": "prod-network", "version": "1.0.0", "client": { "tlsEnable": true, "adminCredential": { "id": "admin", "password": "admin" }, "enableAuthentication": true, "organization": "Org1MSP", "connection": { "timeout": { "peer": { "endorser": "300" }, "orderer": "300" } } }, "channels": { "heroschannel": { "peers": { "peer0.hyperledger.svc.cluster.local": { "endorsingPeer": true, "chaincodeQuery": true, "ledgerQuery": true, "eventSource": true } } }
}, "organizations": { "Org1MSP": { "mspid": "Org1MSP", "peers": [ "peer0.hyperledger.svc.cluster.local" ], "adminPrivateKey": { "path": "/var/hyperledger/crypto-config/peerOrganizations/hyperledger.svc.cluster.local/users/User1@hyperledger.svc.cluster.local/msp/keystore/priv_sk" }, "signedCert": { "path": "/var/hyperledger/crypto-config/peerOrganizations/hyperledger.svc.cluster.local/users/User1@hyperledger.svc.cluster.local/msp/signcerts/User1@hyperledger.svc.cluster.local-cert.pem" } } }, "peers": { "peer0.hyperledger.svc.cluster.local": { "url": "grpcs://peer0.hyperledger.svc.cluster.local:7051", "grpcOptions": { "ssl-target-name-override": "peer0.hyperledger.svc.cluster.local", "hostnameOverride": "peer0.hyperledger.svc.cluster.local", "request-timeout": 120001 }, "tlsCACerts": { "path": "/var/hyperledger/crypto-config/peerOrganizations/hyperledger.svc.cluster.local/peers/peer0.hyperledger.svc.cluster.local/tls/ca.crt" } } } }
config.json: | { "network-configs": { "prod-network": { "name": "Prod Network", "profile": "./connection-profile/org1ProdNetworkConnection.json" } }, "license": "Apache-2.0" } ` explorer-db.yaml
` apiVersion: apps/v1 kind: Deployment metadata: namespace: hyperledger name: explorer-db spec: selector: matchLabels: app: explorer-db template: metadata: labels: app: explorer-db spec: containers:
name: fabric-volume persistentVolumeClaim: claimName: fabric
apiVersion: v1 kind: Service metadata: namespace: hyperledger name: explorer-db spec: selector: app: explorer-db ports:
explorer.yaml
` apiVersion: apps/v1 kind: Deployment metadata: name: explorer spec: selector: matchLabels: app: explorer template: metadata: labels: app: explorer spec: containers:
name: explorer persistentVolumeClaim: claimName: fabric
apiVersion: v1 kind: Service metadata: name: explorer-service spec: selector: app: explorer ports:
Anything else we need to know?
OS version
Linux: Linux ecs-zhisuan-0001 4.14.0-115.el7a.0.1.aarch64 #1 SMP Sun Nov 25 20:54:21 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux