- Installed ASDF
- Activated and installed ASDF Kubectl plugin
Install Kubernetes IDE
asdf plugin add minikube
asdf install minikube latest
asdf global minikube latest
This will create a default and local kubernetes cluster
sudo apt-get install nfs-kernel-server
sudo dnf install nfs-utils
sudo systemctl enable --now nfs-server
sudo mkdir -p /mnt/hf_nfs_share
sudo chown -R $USER:$USER /mnt/hf_nfs_share
sudo chmod 777 /mnt/hf_nfs_share
sudo nano /etc/hf_nfs_share
Paste below
/mnt/hf_nfs_share *(rw,sync,no_subtree_check,insecure)
sudo exportfs -arv
sudo systemctl restart nfs-kernel-server
sudo systemctl restart nfs-server
mkdir hf_nfs_client
- Ubuntu:
sudo mount -o nolocks -t nfs 192.168.0.17:/mnt/nfs-server ./hf_nfs_client
- Fedora:
sudo mount -o nolock -t nfs 192.168.0.17:/mnt/hf_nfs_share ./hf_nfs_client
Change the IP to your own
kubectl get nodes
A PersistentVolume (PV) is a piece of storage in the cluster that has been provisioned by an administrator or dynamically provisioned using Storage Classes. It is a resource in the cluster just like a node is a cluster resource. PVs are volume plugins like Volumes, but have a lifecycle independent of any individual Pod that uses the PV. This API object captures the details of the implementation of the storage, be that NFS, iSCSI, or a cloud-provider-specific storage system.
> kubectl apply -f hf-on-k8s-course/1.nfs-config/pv.yaml
persistentvolume/hf-on-k8s-course created
> kubectl describe pv hf-on-k8s-course
Name: hf-on-k8s-course
Labels: <none>
Annotations: pv.kubernetes.io/bound-by-controller: yes
Finalizers: [kubernetes.io/pv-protection]
StorageClass: standard
Status: Bound
Claim: default/hf-on-k8s-course
Reclaim Policy: Retain
Access Modes: RWO
VolumeMode: Filesystem
Capacity: 5Gi
Node Affinity: <none>
Message:
Source:
Type: NFS (an NFS mount that lasts the lifetime of a pod)
Server: 192.168.0.17
Path: /mnt/hf_nfs_share/
ReadOnly: false
Events: <none>
A PersistentVolumeClaim (PVC) is a request for storage by a user. It is similar to a Pod. Pods consume node resources and PVCs consume PV resources. Pods can request specific levels of resources (CPU and Memory). Claims can request specific size and access modes (e.g., they can be mounted ReadWriteOnce, ReadOnlyMany or ReadWriteMany, see AccessModes).
While PersistentVolumeClaims allow a user to consume abstract storage resources, it is common that users need PersistentVolumes with varying properties, such as performance, for different problems. Cluster administrators need to be able to offer a variety of PersistentVolumes that differ in more ways than size and access modes, without exposing users to the details of how those volumes are implemented. For these needs, there is the StorageClass resource.
>kubectl apply -f hf-on-k8s-course/1.nfs-config/pvc.yaml
persistentvolumeclaim/hf-on-k8s-course created
> kubectl describe pvc hf-on-k8s-courseName: hf-on-k8s-course
Namespace: default
StorageClass: standard
Status: Bound
Volume: hf-on-k8s-course
Labels: <none>
Annotations: pv.kubernetes.io/bind-completed: yes
pv.kubernetes.io/bound-by-controller: yes
Finalizers: [kubernetes.io/pvc-protection]
Capacity: 5Gi
Access Modes: RWO
VolumeMode: Filesystem
Used By: <none>
Events: <none>
> kubectl apply -f hf-on-k8s-course/1.nfs-config/pod.yaml
pod/hf-on-k8s-course-pv-pod created
> kubectl describe pod hf-on-k8s-course-pv-podName: hf-on-k8s-course-pv-pod
Namespace: default
Priority: 0
Node: minikube/192.168.49.2
Start Time: Tue, 23 Nov 2021 20:53:09 -0300
Labels: app=hf-on-k8s-course-pv
Annotations: <none>
Status: Running
IP: 172.17.0.3
IPs:
IP: 172.17.0.3
Containers:
hf-on-k8s-course-pv-container:
Container ID: docker://18ab92515123d036a5c525ff2b7fb444d2fe7df39677a459b95f459b2fad46d0
Image: nginx
Image ID: docker-pullable://nginx@sha256:097c3a0913d7e3a5b01b6c685a60c03632fc7a2b50bc8e35bcaa3691d788226e
Port: 80/TCP
Host Port: 0/TCP
State: Running
Started: Tue, 23 Nov 2021 20:53:17 -0300
Ready: True
Restart Count: 0
Limits:
cpu: 500m
memory: 128Mi
Requests:
cpu: 250m
memory: 64Mi
Environment: <none>
Mounts:
/usr/share/nginx/html/ from hf-on-k8s-course-volume (rw)
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-w7k8f (ro)
Conditions:
Type Status
Initialized True
Ready True
ContainersReady True
PodScheduled True
Volumes:
hf-on-k8s-course-volume:
Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
ClaimName: hf-on-k8s-course
ReadOnly: false
kube-api-access-w7k8f:
Type: Projected (a volume that contains injected data from multiple sources)
TokenExpirationSeconds: 3607
ConfigMapName: kube-root-ca.crt
ConfigMapOptional: <nil>
DownwardAPI: true
QoS Class: Burstable
Node-Selectors: <none>
Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 96s default-scheduler Successfully assigned default/hf-on-k8s-course-pv-pod to minikube
Normal Pulling 96s kubelet Pulling image "nginx"
Normal Pulled 88s kubelet Successfully pulled image "nginx" in 7.376034475s
Normal Created 88s kubelet Created container hf-on-k8s-course-pv-container
Normal Started 88s kubelet Started container hf-on-k8s-course-pv-container
It's possible to verify if the configuration worked using the LENS Ide by entering on cluster (eg: minikube) > workloads > pods Select the shell option and execute
cd /usr/share/nginx/html
Paste some file on your local mountedhf_nfs_client
and on the pod's shell verifiy if the file exists usingls
command
kubectl apply -f https://k8s.io/examples/application/deployment.yaml
This will run a nginx server similar to below based on official run a stateless application using a deployment sample
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
spec:
selector:
matchLabels:
app: nginx
replicas: 2 # tells deployment to run 2 pods matching the template
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
> kubectl describe deployment nginx-deployment
Name: nginx-deployment
Namespace: default
CreationTimestamp: Fri, 03 Dec 2021 16:43:47 -0300
Labels: <none>
Annotations: deployment.kubernetes.io/revision: 1
Selector: app=nginx
Replicas: 2 desired | 2 updated | 2 total | 2 available | 0 unavailable
StrategyType: RollingUpdate
MinReadySeconds: 0
RollingUpdateStrategy: 25% max unavailable, 25% max surge
Pod Template:
Labels: app=nginx
Containers:
nginx:
Image: nginx:1.14.2
Port: 80/TCP
Host Port: 0/TCP
Environment: <none>
Mounts: <none>
Volumes: <none>
Conditions:
Type Status Reason
---- ------ ------
Available True MinimumReplicasAvailable
Progressing True NewReplicaSetAvailable
OldReplicaSets: <none>
NewReplicaSet: nginx-deployment-66b6c48dd5 (2/2 replicas created)
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal ScalingReplicaSet 11m deployment-controller Scaled up replica set nginx-deployment-66b6c48dd5 to 2
> kubectl delete deployment nginx-deployment
deployment.apps "nginx-deployment" deleted
cp -R hlf-kubernetes/prerequsite/* hf_nfs_client
sudo chmod +x /mnt/hf_nfs_share/scripts -R
mkdir -p ./hf_nfs_client/organizations
cp -r ./hf_nfs_client/fabric-ca ./hf_nfs_client/organizations
This will prepare the base configuration for each organization. Note that the volumeMounts should match the
subPath
on deployment yaml, also, thepersistentVolumeClaim.claimName
Change the content with with the desired value
apiVersion: apps/v1
kind: Deployment
metadata:
name: <ca-org#>
spec:
selector:
matchLabels:
app: <ca-org#>
replicas: 1
template:
metadata:
labels:
app: <ca-org#>
spec:
volumes:
- name: data
persistentVolumeClaim:
claimName: <persistent volume claim name>
containers:
- name: <ca-org#>
image: hyperledger/fabric-ca:1.5.2
imagePullPolicy: 'Always'
command:
[
'fabric-ca-server',
'start',
'-b',
'<fabric_ca_registrar_id>:<fabric_ca_registrar_password>',
'--port',
'<fabric_ca_port>',
'-d',
]
resources:
requests:
memory: '300Mi'
cpu: '250m'
limits:
memory: '400Mi'
cpu: '350m'
env:
- name: FABRIC_CA_SERVER_CA_NAME
value: <ca-org#>
- name: FABRIC_CA_SERVER_TLS_ENABLED
value: 'true'
- name: FABRIC_CA_SERVER_CSR_CN
value: '<ca-org#>'
- name: FABRIC_CA_SERVER_CSR_HOSTS
value: '<ca-org#>'
volumeMounts:
- name: data
mountPath: /etc/hyperledger/fabric-ca-server
subPath: organizations/fabric-ca/<ca-org#>
apiVersion: v1
kind: Service
metadata:
name: <ca-org#>
labels:
app: <ca-org#>
spec:
type: ClusterIP
selector:
app: <ca-org#>
ports:
- protocol: TCP
targetPort: <fabric_ca_port>
port: <fabric_ca_port>
sudo chmod 777 /mnt/hf_nfs_share/organizations -R
Without this, the deployment and the server will not run properly
> kubectl apply -f ./hf-on-k8s-course/2.ca-config/org1/ca-org1.yaml
deployment.apps/ca-org1 created
> kubectl apply -f ./hf-on-k8s-course/2.ca-config/org1/ca-org1-service.yaml
service/ca-org1 created
> kubectl apply -f ./hf-on-k8s-course/2.ca-config/org2/ca-org2.yaml
deployment.apps/ca-org2 created
> kubectl apply -f ./hf-on-k8s-course/2.ca-config/org2/ca-org2-service.yaml
service/ca-org2 created
> kubectl apply -f ./hf-on-k8s-course/2.ca-config/org3/ca-org3.yaml
deployment.apps/ca-org3 created
> kubectl apply -f ./hf-on-k8s-course/2.ca-config/org3/ca-org3-service.yaml
service/ca-org3 created
> kubectl apply -f ./hf-on-k8s-course/2.ca-config/ordererOrg/ca-orderer.yaml
deployment.apps/ca-org3 created
> kubectl apply -f ./hf-on-k8s-course/2.ca-config/ordererOrg/ca-orderer-service.yaml
service/ca-org3 created
bash deploy.all.ca.sh
kubectl apply -f ./hf-on-k8s-course/3.node-certificates-generation/create-certs-job.yaml
> kubectl apply -f ./hf-on-k8s-course/4.channel-configuration-artifacts/channel-configuration-job.yaml
job.batch/artifacts created
> kubectl apply -f ./hf-on-k8s-course/5.orderer/orderer1
service/orderer created
deployment.apps/orderer created
> kubectl apply -f ./hf-on-k8s-course/5.orderer/orderer2
service/orderer created
deployment.apps/orderer created
> kubectl apply -f ./hf-on-k8s-course/5.orderer/orderer3
service/orderer created
deployment.apps/orderer created
> kubectl apply -f ./hf-on-k8s-course/5.orderer/orderer4
service/orderer created
deployment.apps/orderer created
> kubectl apply -f ./hf-on-k8s-course/5.orderer/orderer5
service/orderer created
deployment.apps/orderer created
> kubectl apply -f ./hf-on-k8s-course/6.configmap
configmap/builders-config created
kubectl apply -f ./hf-on-k8s-course/7.peers/org1
kubectl apply -f ./hf-on-k8s-course/7.peers/org2
kubectl apply -f ./hf-on-k8s-course/7.peers/org3
> kubectl exec -it -f ./hf-on-k8s-course/7.peers/org1/peer0Org1-cli.yaml -- bash /scripts/createAppChannel.sh
2021-12-03 23:46:20.964 UTC 0001 DEBU [bccsp] GetDefault -> Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2021-12-03 23:46:20.965 UTC 0002 DEBU [bccsp] GetDefault -> Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2021-12-03 23:46:21.056 UTC 0003 DEBU [bccsp] GetDefault -> Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2021-12-03 23:46:21.058 UTC 0004 DEBU [bccsp_sw] openKeyStore -> KeyStore opened at [/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/keystore]...done
2021-12-03 23:46:21.059 UTC 0005 DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/signcerts
2021-12-03 23:46:21.059 UTC 0006 DEBU [msp] getPemMaterialFromDir -> Inspecting file /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/signcerts/cert.pem
2021-12-03 23:46:21.059 UTC 0007 DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/cacerts
2021-12-03 23:46:21.060 UTC 0008 DEBU [msp] getPemMaterialFromDir -> Inspecting file /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/cacerts/ca-org1-7054-ca-org1.pem
2021-12-03 23:46:21.060 UTC 0009 DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/admincerts
2021-12-03 23:46:21.060 UTC 000a DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/intermediatecerts
2021-12-03 23:46:21.060 UTC 000b DEBU [msp] getMspConfig -> Intermediate certs folder not found at [/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/intermediatecerts]. Skipping. [stat /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/intermediatecerts: no such file or directory]
2021-12-03 23:46:21.060 UTC 000c DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/tlscacerts
2021-12-03 23:46:21.061 UTC 000d DEBU [msp] getMspConfig -> TLS CA certs folder not found at [/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/tlsintermediatecerts]. Skipping and ignoring TLS intermediate CA folder. [stat /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/tlscacerts: no such file or directory]
2021-12-03 23:46:21.061 UTC 000e DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/crls
2021-12-03 23:46:21.061 UTC 000f DEBU [msp] getMspConfig -> crls folder not found at [/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/crls]. Skipping. [stat /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/crls: no such file or directory]
2021-12-03 23:46:21.061 UTC 0010 DEBU [msp] getMspConfig -> Loading NodeOUs
2021-12-03 23:46:21.061 UTC 0011 DEBU [msp] newBccspMsp -> Creating BCCSP-based MSP instance
2021-12-03 23:46:21.061 UTC 0012 DEBU [msp] New -> Creating Cache-MSP instance
2021-12-03 23:46:21.062 UTC 0013 DEBU [msp] loadLocalMSP -> Created new local MSP
2021-12-03 23:46:21.062 UTC 0014 DEBU [msp] Setup -> Setting up MSP instance Org1MSP
2021-12-03 23:46:21.062 UTC 0015 DEBU [msp.identity] newIdentity -> Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICGTCCAb+gAwIBAgIUH0qSJ2aM7yPVLuXYwFtxqYxzu/0wCgYIKoZIzj0EAwIw
aTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcg
WW9yazEQMA4GA1UEChMHY2Etb3JnMTEQMA4GA1UECxMHY2Etb3JnMTEQMA4GA1UE
AxMHY2Etb3JnMTAeFw0yMTEyMDMyMTAwMDBaFw0zNjExMjkyMTAwMDBaMGkxCzAJ
BgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsx
EDAOBgNVBAoTB2NhLW9yZzExEDAOBgNVBAsTB2NhLW9yZzExEDAOBgNVBAMTB2Nh
LW9yZzEwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASX7N8zRuMq41Y5qQ/Vhlv+
b7HstF0eMGjb81UXOVVaerhpXAWvXJ0T/VLRKiMyJJELmmA8zQToH3GeNM+XX1w2
o0UwQzAOBgNVHQ8BAf8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBATAdBgNVHQ4E
FgQUqdxhc8mskIJ6z/gq0z48RV/PgyQwCgYIKoZIzj0EAwIDSAAwRQIhALvE5B8D
t84thZYtWF0I6aPlUiBnPmk2l7s5vO9I3BcWAiBVQVnvrDTb4J4ApQ4sJWhOKqhx
6PpT24exkTXHzRcM3w==
-----END CERTIFICATE-----
2021-12-03 23:46:21.062 UTC 0016 DEBU [msp.identity] newIdentity -> Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICrDCCAlKgAwIBAgIUZYLJda2tjiSS1v+/5Eub8GJGjiowCgYIKoZIzj0EAwIw
aTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcg
WW9yazEQMA4GA1UEChMHY2Etb3JnMTEQMA4GA1UECxMHY2Etb3JnMTEQMA4GA1UE
AxMHY2Etb3JnMTAeFw0yMTEyMDMyMTAwMDBaFw0yMjEyMDMyMTU2MDBaMGAxCzAJ
BgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChMLSHlw
ZXJsZWRnZXIxDjAMBgNVBAsTBWFkbWluMRIwEAYDVQQDEwlvcmcxYWRtaW4wWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAARmIymL9IYFPne70hCIE+Rg7ON0o57IQtFM
y8Dy4wlcE5upPI17rBHbtD5e+2AquPee1oa0T+ZfuUmxlb166zYao4HgMIHdMA4G
A1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBT74XWffKT9H4VX
QNGOL/GEZ8cebjAfBgNVHSMEGDAWgBSp3GFzyayQgnrP+CrTPjxFX8+DJDAgBgNV
HREEGTAXghVjcmVhdGUtY2VydHMtLTEtY2s4YnIwWwYIKgMEBQYHCAEET3siYXR0
cnMiOnsiaGYuQWZmaWxpYXRpb24iOiIiLCJoZi5FbnJvbGxtZW50SUQiOiJvcmcx
YWRtaW4iLCJoZi5UeXBlIjoiYWRtaW4ifX0wCgYIKoZIzj0EAwIDSAAwRQIhANY+
jhmfSXoVgaV49ZtJvMz3UME1WxxF3UsG4aq4pO9kAiA6EJqKsrIZpjNiFKIBpnlr
m69fAKnaK7j6eBSecSNV5Q==
-----END CERTIFICATE-----
2021-12-03 23:46:21.062 UTC 0017 DEBU [bccsp_sw] loadPrivateKey -> Loading private key [8fa3d970df0b3ecd5560e1d0f4fbf2246a234e02beec93cb7a1694ad560f7a38] at [/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/keystore/8fa3d970df0b3ecd5560e1d0f4fbf2246a234e02beec93cb7a1694ad560f7a38_sk]...
2021-12-03 23:46:21.063 UTC 0018 DEBU [msp.identity] newIdentity -> Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICrDCCAlKgAwIBAgIUZYLJda2tjiSS1v+/5Eub8GJGjiowCgYIKoZIzj0EAwIw
aTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcg
WW9yazEQMA4GA1UEChMHY2Etb3JnMTEQMA4GA1UECxMHY2Etb3JnMTEQMA4GA1UE
AxMHY2Etb3JnMTAeFw0yMTEyMDMyMTAwMDBaFw0yMjEyMDMyMTU2MDBaMGAxCzAJ
BgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChMLSHlw
ZXJsZWRnZXIxDjAMBgNVBAsTBWFkbWluMRIwEAYDVQQDEwlvcmcxYWRtaW4wWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAARmIymL9IYFPne70hCIE+Rg7ON0o57IQtFM
y8Dy4wlcE5upPI17rBHbtD5e+2AquPee1oa0T+ZfuUmxlb166zYao4HgMIHdMA4G
A1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBT74XWffKT9H4VX
QNGOL/GEZ8cebjAfBgNVHSMEGDAWgBSp3GFzyayQgnrP+CrTPjxFX8+DJDAgBgNV
HREEGTAXghVjcmVhdGUtY2VydHMtLTEtY2s4YnIwWwYIKgMEBQYHCAEET3siYXR0
cnMiOnsiaGYuQWZmaWxpYXRpb24iOiIiLCJoZi5FbnJvbGxtZW50SUQiOiJvcmcx
YWRtaW4iLCJoZi5UeXBlIjoiYWRtaW4ifX0wCgYIKoZIzj0EAwIDSAAwRQIhANY+
jhmfSXoVgaV49ZtJvMz3UME1WxxF3UsG4aq4pO9kAiA6EJqKsrIZpjNiFKIBpnlr
m69fAKnaK7j6eBSecSNV5Q==
-----END CERTIFICATE-----
2021-12-03 23:46:21.063 UTC 0019 DEBU [msp] setupSigningIdentity -> Signing identity expires at 2022-12-03 21:56:00 +0000 UTC
2021-12-03 23:46:21.063 UTC 001a DEBU [msp] GetDefaultSigningIdentity -> Obtaining default signing identity
2021-12-03 23:46:21.064 UTC [grpc] WarningDepth -> DEBU 001 [core]Adjusting keepalive ping interval to minimum period of 10s
2021-12-03 23:46:21.064 UTC [grpc] InfoDepth -> DEBU 002 [core]parsed scheme: ""
2021-12-03 23:46:21.064 UTC [grpc] InfoDepth -> DEBU 003 [core]scheme "" not registered, fallback to default scheme
2021-12-03 23:46:21.064 UTC [grpc] InfoDepth -> DEBU 004 [core]ccResolverWrapper: sending update to cc: {[{orderer:7050 <nil> 0 <nil>}] <nil> <nil>}
2021-12-03 23:46:21.064 UTC [grpc] InfoDepth -> DEBU 005 [core]ClientConn switching balancer to "pick_first"
2021-12-03 23:46:21.064 UTC [grpc] InfoDepth -> DEBU 006 [core]Channel switches to new LB policy "pick_first"
2021-12-03 23:46:21.064 UTC [grpc] InfoDepth -> DEBU 007 [core]Subchannel Connectivity change to CONNECTING
2021-12-03 23:46:21.064 UTC [grpc] InfoDepth -> DEBU 008 [core]Subchannel picks a new address "orderer:7050" to connect
2021-12-03 23:46:21.064 UTC [grpc] InfoDepth -> DEBU 009 [core]pickfirstBalancer: UpdateSubConnState: 0xc00033b660, {CONNECTING <nil>}
2021-12-03 23:46:21.064 UTC [grpc] InfoDepth -> DEBU 00a [core]Channel Connectivity change to CONNECTING
2021-12-03 23:46:21.066 UTC 001b DEBU [comm.tls] ClientHandshake -> Client TLS handshake completed in 779.232µs remoteaddress=10.97.71.223:7050
2021-12-03 23:46:21.066 UTC [grpc] InfoDepth -> DEBU 00b [core]Subchannel Connectivity change to READY
2021-12-03 23:46:21.066 UTC [grpc] InfoDepth -> DEBU 00c [core]pickfirstBalancer: UpdateSubConnState: 0xc00033b660, {READY <nil>}
2021-12-03 23:46:21.066 UTC [grpc] InfoDepth -> DEBU 00d [core]Channel Connectivity change to READY
2021-12-03 23:46:21.066 UTC 001c INFO [channelCmd] InitCmdFactory -> Endorser and orderer connections initialized
2021-12-03 23:46:21.067 UTC 001d DEBU [msp.identity] Sign -> Sign: plaintext: 0AE9070A074F7267314D535012DD072D...53616D706C65436F6E736F727469756D
2021-12-03 23:46:21.067 UTC 001e DEBU [msp.identity] Sign -> Sign: digest: 9B2637D4CB7C3D732603BDB0DEA68F65854673085A0111B2830446C0410431AF
2021-12-03 23:46:21.067 UTC 001f DEBU [msp.identity] Sign -> Sign: plaintext: 0AA0080A1508021A0608CDD8AA8D0622...6E78D15CC5E00B211CFEE621C6EE6F77
2021-12-03 23:46:21.067 UTC 0020 DEBU [msp.identity] Sign -> Sign: digest: E2BBBCBE7085A5732819AA87A6312425AF2EE783D5017E71A34ACDA4DF327796
2021-12-03 23:46:21.150 UTC [grpc] WarningDepth -> DEBU 00e [core]Adjusting keepalive ping interval to minimum period of 10s
2021-12-03 23:46:21.151 UTC [grpc] InfoDepth -> DEBU 00f [core]parsed scheme: ""
2021-12-03 23:46:21.151 UTC [grpc] InfoDepth -> DEBU 010 [core]scheme "" not registered, fallback to default scheme
2021-12-03 23:46:21.151 UTC [grpc] InfoDepth -> DEBU 011 [core]ccResolverWrapper: sending update to cc: {[{orderer:7050 <nil> 0 <nil>}] <nil> <nil>}
2021-12-03 23:46:21.151 UTC [grpc] InfoDepth -> DEBU 012 [core]ClientConn switching balancer to "pick_first"
2021-12-03 23:46:21.151 UTC [grpc] InfoDepth -> DEBU 013 [core]Channel switches to new LB policy "pick_first"
2021-12-03 23:46:21.151 UTC [grpc] InfoDepth -> DEBU 014 [core]Subchannel Connectivity change to CONNECTING
2021-12-03 23:46:21.151 UTC [grpc] InfoDepth -> DEBU 015 [core]Subchannel picks a new address "orderer:7050" to connect
2021-12-03 23:46:21.151 UTC [grpc] InfoDepth -> DEBU 016 [core]pickfirstBalancer: UpdateSubConnState: 0xc0004b7b30, {CONNECTING <nil>}
2021-12-03 23:46:21.151 UTC [grpc] InfoDepth -> DEBU 017 [core]Channel Connectivity change to CONNECTING
2021-12-03 23:46:21.152 UTC 0021 DEBU [comm.tls] ClientHandshake -> Client TLS handshake completed in 1.055248ms remoteaddress=10.97.71.223:7050
2021-12-03 23:46:21.152 UTC [grpc] InfoDepth -> DEBU 018 [core]Subchannel Connectivity change to READY
2021-12-03 23:46:21.152 UTC [grpc] InfoDepth -> DEBU 019 [core]pickfirstBalancer: UpdateSubConnState: 0xc0004b7b30, {READY <nil>}
2021-12-03 23:46:21.152 UTC [grpc] InfoDepth -> DEBU 01a [core]Channel Connectivity change to READY
2021-12-03 23:46:21.161 UTC 0022 DEBU [msp.identity] Sign -> Sign: plaintext: 0AA0080A1508051A0608CDD8AA8D0622...520B539D5A2E12080A021A0012021A00
2021-12-03 23:46:21.161 UTC 0023 DEBU [msp.identity] Sign -> Sign: digest: 22BC88022FDCACFF25D3D1742284A110712C6A42EE18F80B182575A0A48E3FF3
2021-12-03 23:46:21.161 UTC 0024 INFO [cli.common] readBlock -> Expect block, but got status: &{NOT_FOUND}
2021-12-03 23:46:21.161 UTC 0025 DEBU [msp] GetDefaultSigningIdentity -> Obtaining default signing identity
2021-12-03 23:46:21.161 UTC [grpc] WarningDepth -> DEBU 01b [core]Adjusting keepalive ping interval to minimum period of 10s
2021-12-03 23:46:21.161 UTC [grpc] InfoDepth -> DEBU 01c [core]parsed scheme: ""
2021-12-03 23:46:21.162 UTC [grpc] InfoDepth -> DEBU 01d [core]scheme "" not registered, fallback to default scheme
2021-12-03 23:46:21.162 UTC [grpc] InfoDepth -> DEBU 01e [core]ccResolverWrapper: sending update to cc: {[{orderer:7050 <nil> 0 <nil>}] <nil> <nil>}
2021-12-03 23:46:21.162 UTC [grpc] InfoDepth -> DEBU 01f [core]ClientConn switching balancer to "pick_first"
2021-12-03 23:46:21.162 UTC [grpc] InfoDepth -> DEBU 020 [core]Channel switches to new LB policy "pick_first"
2021-12-03 23:46:21.162 UTC [grpc] InfoDepth -> DEBU 021 [core]Subchannel Connectivity change to CONNECTING
2021-12-03 23:46:21.162 UTC [grpc] InfoDepth -> DEBU 022 [core]Subchannel picks a new address "orderer:7050" to connect
2021-12-03 23:46:21.162 UTC [grpc] InfoDepth -> DEBU 023 [core]pickfirstBalancer: UpdateSubConnState: 0xc00063a660, {CONNECTING <nil>}
2021-12-03 23:46:21.162 UTC [grpc] InfoDepth -> DEBU 024 [core]Channel Connectivity change to CONNECTING
2021-12-03 23:46:21.163 UTC 0026 DEBU [comm.tls] ClientHandshake -> Client TLS handshake completed in 913.496µs remoteaddress=10.97.71.223:7050
2021-12-03 23:46:21.163 UTC [grpc] InfoDepth -> DEBU 025 [core]Subchannel Connectivity change to READY
2021-12-03 23:46:21.163 UTC [grpc] InfoDepth -> DEBU 026 [core]pickfirstBalancer: UpdateSubConnState: 0xc00063a660, {READY <nil>}
2021-12-03 23:46:21.163 UTC [grpc] InfoDepth -> DEBU 027 [core]Channel Connectivity change to READY
2021-12-03 23:46:21.163 UTC 0027 INFO [channelCmd] InitCmdFactory -> Endorser and orderer connections initialized
2021-12-03 23:46:21.364 UTC 0028 DEBU [msp.identity] Sign -> Sign: plaintext: 0AA0080A1508051A0608CDD8AA8D0622...C8D6C501D03412080A021A0012021A00
2021-12-03 23:46:21.364 UTC 0029 DEBU [msp.identity] Sign -> Sign: digest: 3ED588ABD08B6CA5F69C23B9A8AC44F18F57189F5F03B899BC2BFC40FE806C11
2021-12-03 23:46:21.365 UTC 002a INFO [cli.common] readBlock -> Expect block, but got status: &{SERVICE_UNAVAILABLE}
2021-12-03 23:46:21.365 UTC 002b DEBU [msp] GetDefaultSigningIdentity -> Obtaining default signing identity
2021-12-03 23:46:21.365 UTC [grpc] WarningDepth -> DEBU 028 [core]Adjusting keepalive ping interval to minimum period of 10s
2021-12-03 23:46:21.365 UTC [grpc] InfoDepth -> DEBU 029 [core]parsed scheme: ""
2021-12-03 23:46:21.365 UTC [grpc] InfoDepth -> DEBU 02a [core]scheme "" not registered, fallback to default scheme
2021-12-03 23:46:21.365 UTC [grpc] InfoDepth -> DEBU 02b [core]ccResolverWrapper: sending update to cc: {[{orderer:7050 <nil> 0 <nil>}] <nil> <nil>}
2021-12-03 23:46:21.365 UTC [grpc] InfoDepth -> DEBU 02c [core]ClientConn switching balancer to "pick_first"
2021-12-03 23:46:21.365 UTC [grpc] InfoDepth -> DEBU 02d [core]Channel switches to new LB policy "pick_first"
2021-12-03 23:46:21.365 UTC [grpc] InfoDepth -> DEBU 02e [core]Subchannel Connectivity change to CONNECTING
2021-12-03 23:46:21.365 UTC [grpc] InfoDepth -> DEBU 02f [core]Subchannel picks a new address "orderer:7050" to connect
2021-12-03 23:46:21.365 UTC [grpc] InfoDepth -> DEBU 030 [core]pickfirstBalancer: UpdateSubConnState: 0xc000469260, {CONNECTING <nil>}
2021-12-03 23:46:21.365 UTC [grpc] InfoDepth -> DEBU 031 [core]Channel Connectivity change to CONNECTING
2021-12-03 23:46:21.367 UTC 002c DEBU [comm.tls] ClientHandshake -> Client TLS handshake completed in 902.642µs remoteaddress=10.97.71.223:7050
2021-12-03 23:46:21.367 UTC [grpc] InfoDepth -> DEBU 032 [core]Subchannel Connectivity change to READY
2021-12-03 23:46:21.367 UTC [grpc] InfoDepth -> DEBU 033 [core]pickfirstBalancer: UpdateSubConnState: 0xc000469260, {READY <nil>}
2021-12-03 23:46:21.367 UTC [grpc] InfoDepth -> DEBU 034 [core]Channel Connectivity change to READY
2021-12-03 23:46:21.367 UTC 002d INFO [channelCmd] InitCmdFactory -> Endorser and orderer connections initialized
2021-12-03 23:46:21.567 UTC 002e DEBU [msp.identity] Sign -> Sign: plaintext: 0AA0080A1508051A0608CDD8AA8D0622...2DB92BFA507C12080A021A0012021A00
2021-12-03 23:46:21.567 UTC 002f DEBU [msp.identity] Sign -> Sign: digest: F8E6DD93E25729AA834D088EDBB7C798CB19E4ACE05B53BC4765B1676E9F903E
2021-12-03 23:46:21.568 UTC 0030 INFO [cli.common] readBlock -> Expect block, but got status: &{SERVICE_UNAVAILABLE}
2021-12-03 23:46:21.568 UTC 0031 DEBU [msp] GetDefaultSigningIdentity -> Obtaining default signing identity
2021-12-03 23:46:21.568 UTC [grpc] WarningDepth -> DEBU 035 [core]Adjusting keepalive ping interval to minimum period of 10s
2021-12-03 23:46:21.568 UTC [grpc] InfoDepth -> DEBU 036 [core]parsed scheme: ""
2021-12-03 23:46:21.568 UTC [grpc] InfoDepth -> DEBU 037 [core]scheme "" not registered, fallback to default scheme
2021-12-03 23:46:21.568 UTC [grpc] InfoDepth -> DEBU 038 [core]ccResolverWrapper: sending update to cc: {[{orderer:7050 <nil> 0 <nil>}] <nil> <nil>}
2021-12-03 23:46:21.568 UTC [grpc] InfoDepth -> DEBU 039 [core]ClientConn switching balancer to "pick_first"
2021-12-03 23:46:21.568 UTC [grpc] InfoDepth -> DEBU 03a [core]Channel switches to new LB policy "pick_first"
2021-12-03 23:46:21.568 UTC [grpc] InfoDepth -> DEBU 03b [core]Subchannel Connectivity change to CONNECTING
2021-12-03 23:46:21.568 UTC [grpc] InfoDepth -> DEBU 03c [core]Subchannel picks a new address "orderer:7050" to connect
2021-12-03 23:46:21.568 UTC [grpc] InfoDepth -> DEBU 03d [core]pickfirstBalancer: UpdateSubConnState: 0xc000469ff0, {CONNECTING <nil>}
2021-12-03 23:46:21.568 UTC [grpc] InfoDepth -> DEBU 03e [core]Channel Connectivity change to CONNECTING
2021-12-03 23:46:21.569 UTC 0032 DEBU [comm.tls] ClientHandshake -> Client TLS handshake completed in 858.544µs remoteaddress=10.97.71.223:7050
2021-12-03 23:46:21.570 UTC [grpc] InfoDepth -> DEBU 03f [core]Subchannel Connectivity change to READY
2021-12-03 23:46:21.570 UTC [grpc] InfoDepth -> DEBU 040 [core]pickfirstBalancer: UpdateSubConnState: 0xc000469ff0, {READY <nil>}
2021-12-03 23:46:21.570 UTC [grpc] InfoDepth -> DEBU 041 [core]Channel Connectivity change to READY
2021-12-03 23:46:21.570 UTC 0033 INFO [channelCmd] InitCmdFactory -> Endorser and orderer connections initialized
2021-12-03 23:46:21.770 UTC 0034 DEBU [msp.identity] Sign -> Sign: plaintext: 0AA0080A1508051A0608CDD8AA8D0622...8D28C947B95C12080A021A0012021A00
2021-12-03 23:46:21.770 UTC 0035 DEBU [msp.identity] Sign -> Sign: digest: 21A95656053A41CCA6C8D3A70790D0BC83EA88756E26995F3AA0945D092BE5EF
2021-12-03 23:46:21.771 UTC 0036 INFO [cli.common] readBlock -> Expect block, but got status: &{SERVICE_UNAVAILABLE}
2021-12-03 23:46:21.771 UTC 0037 DEBU [msp] GetDefaultSigningIdentity -> Obtaining default signing identity
2021-12-03 23:46:21.771 UTC [grpc] WarningDepth -> DEBU 042 [core]Adjusting keepalive ping interval to minimum period of 10s
2021-12-03 23:46:21.771 UTC [grpc] InfoDepth -> DEBU 043 [core]parsed scheme: ""
2021-12-03 23:46:21.771 UTC [grpc] InfoDepth -> DEBU 044 [core]scheme "" not registered, fallback to default scheme
2021-12-03 23:46:21.771 UTC [grpc] InfoDepth -> DEBU 045 [core]ccResolverWrapper: sending update to cc: {[{orderer:7050 <nil> 0 <nil>}] <nil> <nil>}
2021-12-03 23:46:21.771 UTC [grpc] InfoDepth -> DEBU 046 [core]ClientConn switching balancer to "pick_first"
2021-12-03 23:46:21.771 UTC [grpc] InfoDepth -> DEBU 047 [core]Channel switches to new LB policy "pick_first"
2021-12-03 23:46:21.772 UTC [grpc] InfoDepth -> DEBU 048 [core]Subchannel Connectivity change to CONNECTING
2021-12-03 23:46:21.772 UTC [grpc] InfoDepth -> DEBU 049 [core]Subchannel picks a new address "orderer:7050" to connect
2021-12-03 23:46:21.772 UTC [grpc] InfoDepth -> DEBU 04a [core]pickfirstBalancer: UpdateSubConnState: 0xc0004b7710, {CONNECTING <nil>}
2021-12-03 23:46:21.772 UTC [grpc] InfoDepth -> DEBU 04b [core]Channel Connectivity change to CONNECTING
2021-12-03 23:46:21.773 UTC 0038 DEBU [comm.tls] ClientHandshake -> Client TLS handshake completed in 709.702µs remoteaddress=10.97.71.223:7050
2021-12-03 23:46:21.773 UTC [grpc] InfoDepth -> DEBU 04c [core]Subchannel Connectivity change to READY
2021-12-03 23:46:21.773 UTC [grpc] InfoDepth -> DEBU 04d [core]pickfirstBalancer: UpdateSubConnState: 0xc0004b7710, {READY <nil>}
2021-12-03 23:46:21.773 UTC [grpc] InfoDepth -> DEBU 04e [core]Channel Connectivity change to READY
2021-12-03 23:46:21.773 UTC 0039 INFO [channelCmd] InitCmdFactory -> Endorser and orderer connections initialized
2021-12-03 23:46:21.974 UTC 003a DEBU [msp.identity] Sign -> Sign: plaintext: 0AA0080A1508051A0608CDD8AA8D0622...78F9249FCA3112080A021A0012021A00
2021-12-03 23:46:21.974 UTC 003b DEBU [msp.identity] Sign -> Sign: digest: 0F74B3E30DD9CD561A87005D226798330A8D4A6C0044F9F2391D0A2A437AC99B
2021-12-03 23:46:21.974 UTC 003c INFO [cli.common] readBlock -> Expect block, but got status: &{SERVICE_UNAVAILABLE}
2021-12-03 23:46:21.974 UTC 003d DEBU [msp] GetDefaultSigningIdentity -> Obtaining default signing identity
2021-12-03 23:46:21.975 UTC [grpc] WarningDepth -> DEBU 04f [core]Adjusting keepalive ping interval to minimum period of 10s
2021-12-03 23:46:21.975 UTC [grpc] InfoDepth -> DEBU 050 [core]parsed scheme: ""
2021-12-03 23:46:21.975 UTC [grpc] InfoDepth -> DEBU 051 [core]scheme "" not registered, fallback to default scheme
2021-12-03 23:46:21.975 UTC [grpc] InfoDepth -> DEBU 052 [core]ccResolverWrapper: sending update to cc: {[{orderer:7050 <nil> 0 <nil>}] <nil> <nil>}
2021-12-03 23:46:21.975 UTC [grpc] InfoDepth -> DEBU 053 [core]ClientConn switching balancer to "pick_first"
2021-12-03 23:46:21.975 UTC [grpc] InfoDepth -> DEBU 054 [core]Channel switches to new LB policy "pick_first"
2021-12-03 23:46:21.975 UTC [grpc] InfoDepth -> DEBU 055 [core]Subchannel Connectivity change to CONNECTING
2021-12-03 23:46:21.975 UTC [grpc] InfoDepth -> DEBU 056 [core]Subchannel picks a new address "orderer:7050" to connect
2021-12-03 23:46:21.975 UTC [grpc] InfoDepth -> DEBU 057 [core]pickfirstBalancer: UpdateSubConnState: 0xc0005c7180, {CONNECTING <nil>}
2021-12-03 23:46:21.975 UTC [grpc] InfoDepth -> DEBU 058 [core]Channel Connectivity change to CONNECTING
2021-12-03 23:46:21.976 UTC 003e DEBU [comm.tls] ClientHandshake -> Client TLS handshake completed in 755.66µs remoteaddress=10.97.71.223:7050
2021-12-03 23:46:21.976 UTC [grpc] InfoDepth -> DEBU 059 [core]Subchannel Connectivity change to READY
2021-12-03 23:46:21.976 UTC [grpc] InfoDepth -> DEBU 05a [core]pickfirstBalancer: UpdateSubConnState: 0xc0005c7180, {READY <nil>}
2021-12-03 23:46:21.976 UTC [grpc] InfoDepth -> DEBU 05b [core]Channel Connectivity change to READY
2021-12-03 23:46:21.976 UTC 003f INFO [channelCmd] InitCmdFactory -> Endorser and orderer connections initialized
2021-12-03 23:46:22.176 UTC 0040 DEBU [msp.identity] Sign -> Sign: plaintext: 0AA0080A1508051A0608CED8AA8D0622...9F4CC912A25612080A021A0012021A00
2021-12-03 23:46:22.176 UTC 0041 DEBU [msp.identity] Sign -> Sign: digest: A3FDC7CE0B3D3B1A428DB4F83D556D9373E3825295D46806182CF2D9786A7BCB
2021-12-03 23:46:22.177 UTC 0042 INFO [cli.common] readBlock -> Expect block, but got status: &{SERVICE_UNAVAILABLE}
2021-12-03 23:46:22.177 UTC 0043 DEBU [msp] GetDefaultSigningIdentity -> Obtaining default signing identity
2021-12-03 23:46:22.177 UTC [grpc] WarningDepth -> DEBU 05c [core]Adjusting keepalive ping interval to minimum period of 10s
2021-12-03 23:46:22.177 UTC [grpc] InfoDepth -> DEBU 05d [core]parsed scheme: ""
2021-12-03 23:46:22.177 UTC [grpc] InfoDepth -> DEBU 05e [core]scheme "" not registered, fallback to default scheme
2021-12-03 23:46:22.178 UTC [grpc] InfoDepth -> DEBU 05f [core]ccResolverWrapper: sending update to cc: {[{orderer:7050 <nil> 0 <nil>}] <nil> <nil>}
2021-12-03 23:46:22.178 UTC [grpc] InfoDepth -> DEBU 060 [core]ClientConn switching balancer to "pick_first"
2021-12-03 23:46:22.178 UTC [grpc] InfoDepth -> DEBU 061 [core]Channel switches to new LB policy "pick_first"
2021-12-03 23:46:22.178 UTC [grpc] InfoDepth -> DEBU 062 [core]Subchannel Connectivity change to CONNECTING
2021-12-03 23:46:22.178 UTC [grpc] InfoDepth -> DEBU 063 [core]Subchannel picks a new address "orderer:7050" to connect
2021-12-03 23:46:22.178 UTC [grpc] InfoDepth -> DEBU 064 [core]pickfirstBalancer: UpdateSubConnState: 0xc00063bad0, {CONNECTING <nil>}
2021-12-03 23:46:22.178 UTC [grpc] InfoDepth -> DEBU 065 [core]Channel Connectivity change to CONNECTING
2021-12-03 23:46:22.179 UTC 0044 DEBU [comm.tls] ClientHandshake -> Client TLS handshake completed in 730.897µs remoteaddress=10.97.71.223:7050
2021-12-03 23:46:22.179 UTC [grpc] InfoDepth -> DEBU 066 [core]Subchannel Connectivity change to READY
2021-12-03 23:46:22.179 UTC [grpc] InfoDepth -> DEBU 067 [core]pickfirstBalancer: UpdateSubConnState: 0xc00063bad0, {READY <nil>}
2021-12-03 23:46:22.179 UTC [grpc] InfoDepth -> DEBU 068 [core]Channel Connectivity change to READY
2021-12-03 23:46:22.179 UTC 0045 INFO [channelCmd] InitCmdFactory -> Endorser and orderer connections initialized
2021-12-03 23:46:22.379 UTC 0046 DEBU [msp.identity] Sign -> Sign: plaintext: 0AA0080A1508051A0608CED8AA8D0622...C5F1E0AA3C1312080A021A0012021A00
2021-12-03 23:46:22.380 UTC 0047 DEBU [msp.identity] Sign -> Sign: digest: 6E96E992223981945E4DD8B07D3BFF82F00C95B50DD3DAAB22FCD3E102EAFE4D
2021-12-03 23:46:22.382 UTC 0048 INFO [cli.common] readBlock -> Received block: 0
> kubectl exec -it -f ./hf-on-k8s-course/7.peers/org1/peer0Org1-cli.yaml -- peer channel join -b ./channel-artifacts/mychannel.block
2021-12-03 23:52:07.755 UTC 0001 DEBU [bccsp] GetDefault -> Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2021-12-03 23:52:07.756 UTC 0002 DEBU [bccsp] GetDefault -> Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2021-12-03 23:52:07.763 UTC 0003 DEBU [bccsp] GetDefault -> Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2021-12-03 23:52:07.765 UTC 0004 DEBU [bccsp_sw] openKeyStore -> KeyStore opened at [/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/keystore]...done
2021-12-03 23:52:07.765 UTC 0005 DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/signcerts
2021-12-03 23:52:07.765 UTC 0006 DEBU [msp] getPemMaterialFromDir -> Inspecting file /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/signcerts/cert.pem
2021-12-03 23:52:07.766 UTC 0007 DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/cacerts
2021-12-03 23:52:07.766 UTC 0008 DEBU [msp] getPemMaterialFromDir -> Inspecting file /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/cacerts/ca-org1-7054-ca-org1.pem
2021-12-03 23:52:07.766 UTC 0009 DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/admincerts
2021-12-03 23:52:07.766 UTC 000a DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/intermediatecerts
2021-12-03 23:52:07.766 UTC 000b DEBU [msp] getMspConfig -> Intermediate certs folder not found at [/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/intermediatecerts]. Skipping. [stat /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/intermediatecerts: no such file or directory]
2021-12-03 23:52:07.766 UTC 000c DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/tlscacerts
2021-12-03 23:52:07.766 UTC 000d DEBU [msp] getMspConfig -> TLS CA certs folder not found at [/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/tlsintermediatecerts]. Skipping and ignoring TLS intermediate CA folder. [stat /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/tlscacerts: no such file or directory]
2021-12-03 23:52:07.766 UTC 000e DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/crls
2021-12-03 23:52:07.766 UTC 000f DEBU [msp] getMspConfig -> crls folder not found at [/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/crls]. Skipping. [stat /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/crls: no such file or directory]
2021-12-03 23:52:07.766 UTC 0010 DEBU [msp] getMspConfig -> Loading NodeOUs
2021-12-03 23:52:07.766 UTC 0011 DEBU [msp] newBccspMsp -> Creating BCCSP-based MSP instance
2021-12-03 23:52:07.766 UTC 0012 DEBU [msp] New -> Creating Cache-MSP instance
2021-12-03 23:52:07.766 UTC 0013 DEBU [msp] loadLocalMSP -> Created new local MSP
2021-12-03 23:52:07.767 UTC 0014 DEBU [msp] Setup -> Setting up MSP instance Org1MSP
2021-12-03 23:52:07.767 UTC 0015 DEBU [msp.identity] newIdentity -> Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICGTCCAb+gAwIBAgIUH0qSJ2aM7yPVLuXYwFtxqYxzu/0wCgYIKoZIzj0EAwIw
aTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcg
WW9yazEQMA4GA1UEChMHY2Etb3JnMTEQMA4GA1UECxMHY2Etb3JnMTEQMA4GA1UE
AxMHY2Etb3JnMTAeFw0yMTEyMDMyMTAwMDBaFw0zNjExMjkyMTAwMDBaMGkxCzAJ
BgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsx
EDAOBgNVBAoTB2NhLW9yZzExEDAOBgNVBAsTB2NhLW9yZzExEDAOBgNVBAMTB2Nh
LW9yZzEwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASX7N8zRuMq41Y5qQ/Vhlv+
b7HstF0eMGjb81UXOVVaerhpXAWvXJ0T/VLRKiMyJJELmmA8zQToH3GeNM+XX1w2
o0UwQzAOBgNVHQ8BAf8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBATAdBgNVHQ4E
FgQUqdxhc8mskIJ6z/gq0z48RV/PgyQwCgYIKoZIzj0EAwIDSAAwRQIhALvE5B8D
t84thZYtWF0I6aPlUiBnPmk2l7s5vO9I3BcWAiBVQVnvrDTb4J4ApQ4sJWhOKqhx
6PpT24exkTXHzRcM3w==
-----END CERTIFICATE-----
2021-12-03 23:52:07.767 UTC 0016 DEBU [msp.identity] newIdentity -> Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICrDCCAlKgAwIBAgIUZYLJda2tjiSS1v+/5Eub8GJGjiowCgYIKoZIzj0EAwIw
aTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcg
WW9yazEQMA4GA1UEChMHY2Etb3JnMTEQMA4GA1UECxMHY2Etb3JnMTEQMA4GA1UE
AxMHY2Etb3JnMTAeFw0yMTEyMDMyMTAwMDBaFw0yMjEyMDMyMTU2MDBaMGAxCzAJ
BgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChMLSHlw
ZXJsZWRnZXIxDjAMBgNVBAsTBWFkbWluMRIwEAYDVQQDEwlvcmcxYWRtaW4wWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAARmIymL9IYFPne70hCIE+Rg7ON0o57IQtFM
y8Dy4wlcE5upPI17rBHbtD5e+2AquPee1oa0T+ZfuUmxlb166zYao4HgMIHdMA4G
A1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBT74XWffKT9H4VX
QNGOL/GEZ8cebjAfBgNVHSMEGDAWgBSp3GFzyayQgnrP+CrTPjxFX8+DJDAgBgNV
HREEGTAXghVjcmVhdGUtY2VydHMtLTEtY2s4YnIwWwYIKgMEBQYHCAEET3siYXR0
cnMiOnsiaGYuQWZmaWxpYXRpb24iOiIiLCJoZi5FbnJvbGxtZW50SUQiOiJvcmcx
YWRtaW4iLCJoZi5UeXBlIjoiYWRtaW4ifX0wCgYIKoZIzj0EAwIDSAAwRQIhANY+
jhmfSXoVgaV49ZtJvMz3UME1WxxF3UsG4aq4pO9kAiA6EJqKsrIZpjNiFKIBpnlr
m69fAKnaK7j6eBSecSNV5Q==
-----END CERTIFICATE-----
2021-12-03 23:52:07.767 UTC 0017 DEBU [bccsp_sw] loadPrivateKey -> Loading private key [8fa3d970df0b3ecd5560e1d0f4fbf2246a234e02beec93cb7a1694ad560f7a38] at [/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/keystore/8fa3d970df0b3ecd5560e1d0f4fbf2246a234e02beec93cb7a1694ad560f7a38_sk]...
2021-12-03 23:52:07.767 UTC 0018 DEBU [msp.identity] newIdentity -> Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICrDCCAlKgAwIBAgIUZYLJda2tjiSS1v+/5Eub8GJGjiowCgYIKoZIzj0EAwIw
aTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcg
WW9yazEQMA4GA1UEChMHY2Etb3JnMTEQMA4GA1UECxMHY2Etb3JnMTEQMA4GA1UE
AxMHY2Etb3JnMTAeFw0yMTEyMDMyMTAwMDBaFw0yMjEyMDMyMTU2MDBaMGAxCzAJ
BgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChMLSHlw
ZXJsZWRnZXIxDjAMBgNVBAsTBWFkbWluMRIwEAYDVQQDEwlvcmcxYWRtaW4wWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAARmIymL9IYFPne70hCIE+Rg7ON0o57IQtFM
y8Dy4wlcE5upPI17rBHbtD5e+2AquPee1oa0T+ZfuUmxlb166zYao4HgMIHdMA4G
A1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBT74XWffKT9H4VX
QNGOL/GEZ8cebjAfBgNVHSMEGDAWgBSp3GFzyayQgnrP+CrTPjxFX8+DJDAgBgNV
HREEGTAXghVjcmVhdGUtY2VydHMtLTEtY2s4YnIwWwYIKgMEBQYHCAEET3siYXR0
cnMiOnsiaGYuQWZmaWxpYXRpb24iOiIiLCJoZi5FbnJvbGxtZW50SUQiOiJvcmcx
YWRtaW4iLCJoZi5UeXBlIjoiYWRtaW4ifX0wCgYIKoZIzj0EAwIDSAAwRQIhANY+
jhmfSXoVgaV49ZtJvMz3UME1WxxF3UsG4aq4pO9kAiA6EJqKsrIZpjNiFKIBpnlr
m69fAKnaK7j6eBSecSNV5Q==
-----END CERTIFICATE-----
2021-12-03 23:52:07.767 UTC 0019 DEBU [msp] setupSigningIdentity -> Signing identity expires at 2022-12-03 21:56:00 +0000 UTC
2021-12-03 23:52:07.768 UTC 001a DEBU [msp] GetDefaultSigningIdentity -> Obtaining default signing identity
2021-12-03 23:52:07.769 UTC [grpc] InfoDepth -> DEBU 001 [core]parsed scheme: ""
2021-12-03 23:52:07.769 UTC [grpc] InfoDepth -> DEBU 002 [core]scheme "" not registered, fallback to default scheme
2021-12-03 23:52:07.769 UTC [grpc] InfoDepth -> DEBU 003 [core]ccResolverWrapper: sending update to cc: {[{peer0-org1:7051 <nil> 0 <nil>}] <nil> <nil>}
2021-12-03 23:52:07.769 UTC [grpc] InfoDepth -> DEBU 004 [core]ClientConn switching balancer to "pick_first"
2021-12-03 23:52:07.769 UTC [grpc] InfoDepth -> DEBU 005 [core]Channel switches to new LB policy "pick_first"
2021-12-03 23:52:07.769 UTC [grpc] InfoDepth -> DEBU 006 [core]Subchannel Connectivity change to CONNECTING
2021-12-03 23:52:07.769 UTC [grpc] InfoDepth -> DEBU 007 [core]Subchannel picks a new address "peer0-org1:7051" to connect
2021-12-03 23:52:07.769 UTC [grpc] InfoDepth -> DEBU 008 [core]pickfirstBalancer: UpdateSubConnState: 0xc00033cf90, {CONNECTING <nil>}
2021-12-03 23:52:07.769 UTC [grpc] InfoDepth -> DEBU 009 [core]Channel Connectivity change to CONNECTING
2021-12-03 23:52:07.770 UTC 001b DEBU [comm.tls] ClientHandshake -> Client TLS handshake completed in 939.635µs remoteaddress=10.101.100.170:7051
2021-12-03 23:52:07.770 UTC [grpc] InfoDepth -> DEBU 00a [core]Subchannel Connectivity change to READY
2021-12-03 23:52:07.770 UTC [grpc] InfoDepth -> DEBU 00b [core]pickfirstBalancer: UpdateSubConnState: 0xc00033cf90, {READY <nil>}
2021-12-03 23:52:07.770 UTC [grpc] InfoDepth -> DEBU 00c [core]Channel Connectivity change to READY
2021-12-03 23:52:07.770 UTC 001c INFO [channelCmd] InitCmdFactory -> Endorser and orderer connections initialized
2021-12-03 23:52:07.771 UTC 001d DEBU [msp.identity] Sign -> Sign: plaintext: 0AE7080A5C08011A0C08A7DBAA8D0610...FE18A3E41A0A0A000A000A000A000A00
2021-12-03 23:52:07.771 UTC 001e DEBU [msp.identity] Sign -> Sign: digest: A6BCFCE9F0A2E15786719F2BF3E4AAB1FAF6171A33CA07A1B8F1FF8F4BB17D52
2021-12-03 23:52:08.076 UTC 001f INFO [channelCmd] executeJoin -> Successfully submitted proposal to join channel
kubectl exec -it -f ./hf-on-k8s-course/7.peers/org2/peer0Org2-cli.yaml -- peer channel join -b ./channel-artifacts/mychannel.block
2021-12-03 23:54:11.457 UTC 0001 DEBU [bccsp] GetDefault -> Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2021-12-03 23:54:11.458 UTC 0002 DEBU [bccsp] GetDefault -> Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2021-12-03 23:54:11.467 UTC 0003 DEBU [bccsp] GetDefault -> Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2021-12-03 23:54:11.469 UTC 0004 DEBU [bccsp_sw] openKeyStore -> KeyStore opened at [/organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/keystore]...done
2021-12-03 23:54:11.469 UTC 0005 DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/signcerts
2021-12-03 23:54:11.551 UTC 0006 DEBU [msp] getPemMaterialFromDir -> Inspecting file /organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/signcerts/cert.pem
2021-12-03 23:54:11.551 UTC 0007 DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/cacerts
2021-12-03 23:54:11.552 UTC 0008 DEBU [msp] getPemMaterialFromDir -> Inspecting file /organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/cacerts/ca-org2-8054-ca-org2.pem
2021-12-03 23:54:11.552 UTC 0009 DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/admincerts
2021-12-03 23:54:11.552 UTC 000a DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/intermediatecerts
2021-12-03 23:54:11.552 UTC 000b DEBU [msp] getMspConfig -> Intermediate certs folder not found at [/organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/intermediatecerts]. Skipping. [stat /organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/intermediatecerts: no such file or directory]
2021-12-03 23:54:11.552 UTC 000c DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/tlscacerts
2021-12-03 23:54:11.552 UTC 000d DEBU [msp] getMspConfig -> TLS CA certs folder not found at [/organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/tlsintermediatecerts]. Skipping and ignoring TLS intermediate CA folder. [stat /organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/tlscacerts: no such file or directory]
2021-12-03 23:54:11.552 UTC 000e DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/crls
2021-12-03 23:54:11.552 UTC 000f DEBU [msp] getMspConfig -> crls folder not found at [/organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/crls]. Skipping. [stat /organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/crls: no such file or directory]
2021-12-03 23:54:11.553 UTC 0010 DEBU [msp] getMspConfig -> Loading NodeOUs
2021-12-03 23:54:11.553 UTC 0011 DEBU [msp] newBccspMsp -> Creating BCCSP-based MSP instance
2021-12-03 23:54:11.553 UTC 0012 DEBU [msp] New -> Creating Cache-MSP instance
2021-12-03 23:54:11.553 UTC 0013 DEBU [msp] loadLocalMSP -> Created new local MSP
2021-12-03 23:54:11.553 UTC 0014 DEBU [msp] Setup -> Setting up MSP instance Org2MSP
2021-12-03 23:54:11.553 UTC 0015 DEBU [msp.identity] newIdentity -> Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICGTCCAb+gAwIBAgIUUW45DhvJ5wxI8GcsiIidLhHuEp8wCgYIKoZIzj0EAwIw
aTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcg
WW9yazEQMA4GA1UEChMHY2Etb3JnMjEQMA4GA1UECxMHY2Etb3JnMjEQMA4GA1UE
AxMHY2Etb3JnMjAeFw0yMTEyMDMyMTA3MDBaFw0zNjExMjkyMTA3MDBaMGkxCzAJ
BgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsx
EDAOBgNVBAoTB2NhLW9yZzIxEDAOBgNVBAsTB2NhLW9yZzIxEDAOBgNVBAMTB2Nh
LW9yZzIwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASu2gqFDnSsUcj3irzibkYH
GVI87cp2ktWX5BvJVvG1zJnvOlcf5vUS23jXLIjido5T32ma2YBEuVNnzq8lUUW/
o0UwQzAOBgNVHQ8BAf8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBATAdBgNVHQ4E
FgQUHi4rzHrrCYb3FayHyR7Tgi4uYwUwCgYIKoZIzj0EAwIDSAAwRQIhAKVKwryi
qvMmZ+i/6fmMNzIqUxDct5+YV3oFAac+hV+aAiBqy39SKvdZDMnMPrgw+qWL4Rkj
y8RtlgqEazqtjtywFg==
-----END CERTIFICATE-----
2021-12-03 23:54:11.553 UTC 0016 DEBU [msp.identity] newIdentity -> Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICrDCCAlKgAwIBAgIUakRe+QogE5cxot6JYt2NVJEC5m0wCgYIKoZIzj0EAwIw
aTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcg
WW9yazEQMA4GA1UEChMHY2Etb3JnMjEQMA4GA1UECxMHY2Etb3JnMjEQMA4GA1UE
AxMHY2Etb3JnMjAeFw0yMTEyMDMyMTA3MDBaFw0yMjEyMDMyMTU2MDBaMGAxCzAJ
BgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChMLSHlw
ZXJsZWRnZXIxDjAMBgNVBAsTBWFkbWluMRIwEAYDVQQDEwlvcmcyYWRtaW4wWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAASPvHhcRgXOdbfY4hiGGTfIG91L0NqiHViS
3pBHX3VV/ESaYFle6Iq3Zd2S+wtcFaehn5Yj77mKU1rGwu3C886Lo4HgMIHdMA4G
A1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBS3NOkmihIIhUjr
Om1e9WdSpC5DyzAfBgNVHSMEGDAWgBQeLivMeusJhvcVrIfJHtOCLi5jBTAgBgNV
HREEGTAXghVjcmVhdGUtY2VydHMtLTEtY2s4YnIwWwYIKgMEBQYHCAEET3siYXR0
cnMiOnsiaGYuQWZmaWxpYXRpb24iOiIiLCJoZi5FbnJvbGxtZW50SUQiOiJvcmcy
YWRtaW4iLCJoZi5UeXBlIjoiYWRtaW4ifX0wCgYIKoZIzj0EAwIDSAAwRQIhALF7
QXdJJanmLaRjtVjNfQtTaJB5WL1T9Jh/lGLXzn8SAiA7kw0C0RDSR26FnvN2amhs
SOW/Fzt6qzIi3jr4S7WsVQ==
-----END CERTIFICATE-----
2021-12-03 23:54:11.554 UTC 0017 DEBU [bccsp_sw] loadPrivateKey -> Loading private key [11796c18d80a02cd0d0e9bb9bc3e83751654ab3f3165681e7465fbd6f3b3e1b4] at [/organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/keystore/11796c18d80a02cd0d0e9bb9bc3e83751654ab3f3165681e7465fbd6f3b3e1b4_sk]...
2021-12-03 23:54:11.554 UTC 0018 DEBU [msp.identity] newIdentity -> Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICrDCCAlKgAwIBAgIUakRe+QogE5cxot6JYt2NVJEC5m0wCgYIKoZIzj0EAwIw
aTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcg
WW9yazEQMA4GA1UEChMHY2Etb3JnMjEQMA4GA1UECxMHY2Etb3JnMjEQMA4GA1UE
AxMHY2Etb3JnMjAeFw0yMTEyMDMyMTA3MDBaFw0yMjEyMDMyMTU2MDBaMGAxCzAJ
BgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChMLSHlw
ZXJsZWRnZXIxDjAMBgNVBAsTBWFkbWluMRIwEAYDVQQDEwlvcmcyYWRtaW4wWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAASPvHhcRgXOdbfY4hiGGTfIG91L0NqiHViS
3pBHX3VV/ESaYFle6Iq3Zd2S+wtcFaehn5Yj77mKU1rGwu3C886Lo4HgMIHdMA4G
A1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBS3NOkmihIIhUjr
Om1e9WdSpC5DyzAfBgNVHSMEGDAWgBQeLivMeusJhvcVrIfJHtOCLi5jBTAgBgNV
HREEGTAXghVjcmVhdGUtY2VydHMtLTEtY2s4YnIwWwYIKgMEBQYHCAEET3siYXR0
cnMiOnsiaGYuQWZmaWxpYXRpb24iOiIiLCJoZi5FbnJvbGxtZW50SUQiOiJvcmcy
YWRtaW4iLCJoZi5UeXBlIjoiYWRtaW4ifX0wCgYIKoZIzj0EAwIDSAAwRQIhALF7
QXdJJanmLaRjtVjNfQtTaJB5WL1T9Jh/lGLXzn8SAiA7kw0C0RDSR26FnvN2amhs
SOW/Fzt6qzIi3jr4S7WsVQ==
-----END CERTIFICATE-----
2021-12-03 23:54:11.554 UTC 0019 DEBU [msp] setupSigningIdentity -> Signing identity expires at 2022-12-03 21:56:00 +0000 UTC
2021-12-03 23:54:11.554 UTC 001a DEBU [msp] GetDefaultSigningIdentity -> Obtaining default signing identity
2021-12-03 23:54:11.555 UTC [grpc] InfoDepth -> DEBU 001 [core]parsed scheme: ""
2021-12-03 23:54:11.555 UTC [grpc] InfoDepth -> DEBU 002 [core]scheme "" not registered, fallback to default scheme
2021-12-03 23:54:11.555 UTC [grpc] InfoDepth -> DEBU 003 [core]ccResolverWrapper: sending update to cc: {[{peer0-org2:7051 <nil> 0 <nil>}] <nil> <nil>}
2021-12-03 23:54:11.555 UTC [grpc] InfoDepth -> DEBU 004 [core]ClientConn switching balancer to "pick_first"
2021-12-03 23:54:11.555 UTC [grpc] InfoDepth -> DEBU 005 [core]Channel switches to new LB policy "pick_first"
2021-12-03 23:54:11.555 UTC [grpc] InfoDepth -> DEBU 006 [core]Subchannel Connectivity change to CONNECTING
2021-12-03 23:54:11.555 UTC [grpc] InfoDepth -> DEBU 007 [core]Subchannel picks a new address "peer0-org2:7051" to connect
2021-12-03 23:54:11.555 UTC [grpc] InfoDepth -> DEBU 008 [core]pickfirstBalancer: UpdateSubConnState: 0xc00028f910, {CONNECTING <nil>}
2021-12-03 23:54:11.555 UTC [grpc] InfoDepth -> DEBU 009 [core]Channel Connectivity change to CONNECTING
2021-12-03 23:54:11.557 UTC 001b DEBU [comm.tls] ClientHandshake -> Client TLS handshake completed in 829.171µs remoteaddress=10.96.155.127:7051
2021-12-03 23:54:11.557 UTC [grpc] InfoDepth -> DEBU 00a [core]Subchannel Connectivity change to READY
2021-12-03 23:54:11.557 UTC [grpc] InfoDepth -> DEBU 00b [core]pickfirstBalancer: UpdateSubConnState: 0xc00028f910, {READY <nil>}
2021-12-03 23:54:11.557 UTC [grpc] InfoDepth -> DEBU 00c [core]Channel Connectivity change to READY
2021-12-03 23:54:11.557 UTC 001c INFO [channelCmd] InitCmdFactory -> Endorser and orderer connections initialized
2021-12-03 23:54:11.558 UTC 001d DEBU [msp.identity] Sign -> Sign: plaintext: 0AE7080A5C08011A0C08A3DCAA8D0610...FE18A3E41A0A0A000A000A000A000A00
2021-12-03 23:54:11.558 UTC 001e DEBU [msp.identity] Sign -> Sign: digest: 42162BB6BDC35932B6930ABDED77F680B0A1E902444BF807CD8B3CFA7085DA7A
2021-12-03 23:54:11.866 UTC 001f INFO [channelCmd] executeJoin -> Successfully submitted proposal to join channel
> kubectl exec -it -f ./hf-on-k8s-course/7.peers/org3/peer0Org3-cli.yaml -- peer channel join -b ./channel-artifacts/mychannel.block
2021-12-03 23:55:55.156 UTC 0001 DEBU [bccsp] GetDefault -> Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2021-12-03 23:55:55.157 UTC 0002 DEBU [bccsp] GetDefault -> Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2021-12-03 23:55:55.165 UTC 0003 DEBU [bccsp] GetDefault -> Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2021-12-03 23:55:55.167 UTC 0004 DEBU [bccsp_sw] openKeyStore -> KeyStore opened at [/organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/keystore]...done
2021-12-03 23:55:55.167 UTC 0005 DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/signcerts
2021-12-03 23:55:55.167 UTC 0006 DEBU [msp] getPemMaterialFromDir -> Inspecting file /organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/signcerts/cert.pem
2021-12-03 23:55:55.168 UTC 0007 DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/cacerts
2021-12-03 23:55:55.168 UTC 0008 DEBU [msp] getPemMaterialFromDir -> Inspecting file /organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/cacerts/ca-org3-9054-ca-org3.pem
2021-12-03 23:55:55.168 UTC 0009 DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/admincerts
2021-12-03 23:55:55.168 UTC 000a DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/intermediatecerts
2021-12-03 23:55:55.168 UTC 000b DEBU [msp] getMspConfig -> Intermediate certs folder not found at [/organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/intermediatecerts]. Skipping. [stat /organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/intermediatecerts: no such file or directory]
2021-12-03 23:55:55.168 UTC 000c DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/tlscacerts
2021-12-03 23:55:55.168 UTC 000d DEBU [msp] getMspConfig -> TLS CA certs folder not found at [/organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/tlsintermediatecerts]. Skipping and ignoring TLS intermediate CA folder. [stat /organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/tlscacerts: no such file or directory]
2021-12-03 23:55:55.168 UTC 000e DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/crls
2021-12-03 23:55:55.169 UTC 000f DEBU [msp] getMspConfig -> crls folder not found at [/organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/crls]. Skipping. [stat /organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/crls: no such file or directory]
2021-12-03 23:55:55.169 UTC 0010 DEBU [msp] getMspConfig -> Loading NodeOUs
2021-12-03 23:55:55.169 UTC 0011 DEBU [msp] newBccspMsp -> Creating BCCSP-based MSP instance
2021-12-03 23:55:55.169 UTC 0012 DEBU [msp] New -> Creating Cache-MSP instance
2021-12-03 23:55:55.169 UTC 0013 DEBU [msp] loadLocalMSP -> Created new local MSP
2021-12-03 23:55:55.169 UTC 0014 DEBU [msp] Setup -> Setting up MSP instance Org3MSP
2021-12-03 23:55:55.170 UTC 0015 DEBU [msp.identity] newIdentity -> Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICGTCCAb+gAwIBAgIUFGUrTL7oZoSsD8e8Xa3QziFN2U0wCgYIKoZIzj0EAwIw
aTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcg
WW9yazEQMA4GA1UEChMHY2Etb3JnMzEQMA4GA1UECxMHY2Etb3JnMzEQMA4GA1UE
AxMHY2Etb3JnMzAeFw0yMTEyMDMyMTEwMDBaFw0zNjExMjkyMTEwMDBaMGkxCzAJ
BgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsx
EDAOBgNVBAoTB2NhLW9yZzMxEDAOBgNVBAsTB2NhLW9yZzMxEDAOBgNVBAMTB2Nh
LW9yZzMwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATtveHQ7OL7tXoiR8uEaITs
jp0ap72KFrcqlNE830Nn7wo2k6PlWxnSY0QTh2oU8HO60bPsBW3MA4UPU5IB977F
o0UwQzAOBgNVHQ8BAf8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBATAdBgNVHQ4E
FgQUCTApGh89Cfo02X9CanFuBOj71SAwCgYIKoZIzj0EAwIDSAAwRQIhAL8j7BUl
sGxQPI9emxhk2r1JquDMgyA45P8W/RiTRrpVAiBNs/LUGwt26BDD+9yDNJd06C0L
NiZSaATzow0MWfP5aw==
-----END CERTIFICATE-----
2021-12-03 23:55:55.170 UTC 0016 DEBU [msp.identity] newIdentity -> Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICqzCCAlKgAwIBAgIUXk92U5q2q7S5GSTWmeu7+IXfbrMwCgYIKoZIzj0EAwIw
aTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcg
WW9yazEQMA4GA1UEChMHY2Etb3JnMzEQMA4GA1UECxMHY2Etb3JnMzEQMA4GA1UE
AxMHY2Etb3JnMzAeFw0yMTEyMDMyMTEwMDBaFw0yMjEyMDMyMTU2MDBaMGAxCzAJ
BgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChMLSHlw
ZXJsZWRnZXIxDjAMBgNVBAsTBWFkbWluMRIwEAYDVQQDEwlvcmczYWRtaW4wWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAAT1WdsXtXi3QS6OPqO95HtGblAz5GZnpTjj
VbrsiErHactYOYdQENce3dpOeLcVKfs2J6dF8UMy1dugg56J2yrxo4HgMIHdMA4G
A1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBTx4xzDo+FUb9OR
CM4CZXzlF5f3IzAfBgNVHSMEGDAWgBQJMCkaHz0J+jTZf0JqcW4E6PvVIDAgBgNV
HREEGTAXghVjcmVhdGUtY2VydHMtLTEtY2s4YnIwWwYIKgMEBQYHCAEET3siYXR0
cnMiOnsiaGYuQWZmaWxpYXRpb24iOiIiLCJoZi5FbnJvbGxtZW50SUQiOiJvcmcz
YWRtaW4iLCJoZi5UeXBlIjoiYWRtaW4ifX0wCgYIKoZIzj0EAwIDRwAwRAIgWiQ0
amrHRbh7/p51CuitRMJ8H2GMusiJUCfkXmzCCFgCIBEs4/urtAJZd28vLhRGOybo
lgKP+nfoBre1r5JFT7fp
-----END CERTIFICATE-----
2021-12-03 23:55:55.170 UTC 0017 DEBU [bccsp_sw] loadPrivateKey -> Loading private key [3333fad846fec1bf67fc4f5bb6c4da142de0095d67ee43102b54e3a8e41f09a0] at [/organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/keystore/3333fad846fec1bf67fc4f5bb6c4da142de0095d67ee43102b54e3a8e41f09a0_sk]...
2021-12-03 23:55:55.170 UTC 0018 DEBU [msp.identity] newIdentity -> Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICqzCCAlKgAwIBAgIUXk92U5q2q7S5GSTWmeu7+IXfbrMwCgYIKoZIzj0EAwIw
aTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcg
WW9yazEQMA4GA1UEChMHY2Etb3JnMzEQMA4GA1UECxMHY2Etb3JnMzEQMA4GA1UE
AxMHY2Etb3JnMzAeFw0yMTEyMDMyMTEwMDBaFw0yMjEyMDMyMTU2MDBaMGAxCzAJ
BgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChMLSHlw
ZXJsZWRnZXIxDjAMBgNVBAsTBWFkbWluMRIwEAYDVQQDEwlvcmczYWRtaW4wWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAAT1WdsXtXi3QS6OPqO95HtGblAz5GZnpTjj
VbrsiErHactYOYdQENce3dpOeLcVKfs2J6dF8UMy1dugg56J2yrxo4HgMIHdMA4G
A1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBTx4xzDo+FUb9OR
CM4CZXzlF5f3IzAfBgNVHSMEGDAWgBQJMCkaHz0J+jTZf0JqcW4E6PvVIDAgBgNV
HREEGTAXghVjcmVhdGUtY2VydHMtLTEtY2s4YnIwWwYIKgMEBQYHCAEET3siYXR0
cnMiOnsiaGYuQWZmaWxpYXRpb24iOiIiLCJoZi5FbnJvbGxtZW50SUQiOiJvcmcz
YWRtaW4iLCJoZi5UeXBlIjoiYWRtaW4ifX0wCgYIKoZIzj0EAwIDRwAwRAIgWiQ0
amrHRbh7/p51CuitRMJ8H2GMusiJUCfkXmzCCFgCIBEs4/urtAJZd28vLhRGOybo
lgKP+nfoBre1r5JFT7fp
-----END CERTIFICATE-----
2021-12-03 23:55:55.171 UTC 0019 DEBU [msp] setupSigningIdentity -> Signing identity expires at 2022-12-03 21:56:00 +0000 UTC
2021-12-03 23:55:55.171 UTC 001a DEBU [msp] GetDefaultSigningIdentity -> Obtaining default signing identity
2021-12-03 23:55:55.251 UTC [grpc] InfoDepth -> DEBU 001 [core]parsed scheme: ""
2021-12-03 23:55:55.251 UTC [grpc] InfoDepth -> DEBU 002 [core]scheme "" not registered, fallback to default scheme
2021-12-03 23:55:55.251 UTC [grpc] InfoDepth -> DEBU 003 [core]ccResolverWrapper: sending update to cc: {[{peer0-org3:7051 <nil> 0 <nil>}] <nil> <nil>}
2021-12-03 23:55:55.251 UTC [grpc] InfoDepth -> DEBU 004 [core]ClientConn switching balancer to "pick_first"
2021-12-03 23:55:55.251 UTC [grpc] InfoDepth -> DEBU 005 [core]Channel switches to new LB policy "pick_first"
2021-12-03 23:55:55.251 UTC [grpc] InfoDepth -> DEBU 006 [core]Subchannel Connectivity change to CONNECTING
2021-12-03 23:55:55.251 UTC [grpc] InfoDepth -> DEBU 007 [core]Subchannel picks a new address "peer0-org3:7051" to connect
2021-12-03 23:55:55.251 UTC [grpc] InfoDepth -> DEBU 008 [core]pickfirstBalancer: UpdateSubConnState: 0xc00051e890, {CONNECTING <nil>}
2021-12-03 23:55:55.251 UTC [grpc] InfoDepth -> DEBU 009 [core]Channel Connectivity change to CONNECTING
2021-12-03 23:55:55.253 UTC 001b DEBU [comm.tls] ClientHandshake -> Client TLS handshake completed in 974.215µs remoteaddress=10.105.90.106:7051
2021-12-03 23:55:55.253 UTC [grpc] InfoDepth -> DEBU 00a [core]Subchannel Connectivity change to READY
2021-12-03 23:55:55.253 UTC [grpc] InfoDepth -> DEBU 00b [core]pickfirstBalancer: UpdateSubConnState: 0xc00051e890, {READY <nil>}
2021-12-03 23:55:55.254 UTC [grpc] InfoDepth -> DEBU 00c [core]Channel Connectivity change to READY
2021-12-03 23:55:55.254 UTC 001c INFO [channelCmd] InitCmdFactory -> Endorser and orderer connections initialized
2021-12-03 23:55:55.254 UTC 001d DEBU [msp.identity] Sign -> Sign: plaintext: 0AE2080A5B08011A0B088BDDAA8D0610...FE18A3E41A0A0A000A000A000A000A00
2021-12-03 23:55:55.254 UTC 001e DEBU [msp.identity] Sign -> Sign: digest: B13F44728A87B14561657233AA30A3328DAC62B3E7C79151B8E499C96326E6E0
2021-12-03 23:55:55.567 UTC 001f INFO [channelCmd] executeJoin -> Successfully submitted proposal to join channel
> kubectl exec -it -f ./hf-on-k8s-course/7.peers/org1/peer0Org1-cli.yaml -- bash /scripts/updateAnchorPeer.sh Org1MSP
2021-12-04 00:00:24.457 UTC 0001 DEBU [bccsp] GetDefault -> Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2021-12-04 00:00:24.458 UTC 0002 DEBU [bccsp] GetDefault -> Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2021-12-04 00:00:24.465 UTC 0003 DEBU [bccsp] GetDefault -> Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2021-12-04 00:00:24.467 UTC 0004 DEBU [bccsp_sw] openKeyStore -> KeyStore opened at [/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/keystore]...done
2021-12-04 00:00:24.467 UTC 0005 DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/signcerts
2021-12-04 00:00:24.467 UTC 0006 DEBU [msp] getPemMaterialFromDir -> Inspecting file /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/signcerts/cert.pem
2021-12-04 00:00:24.467 UTC 0007 DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/cacerts
2021-12-04 00:00:24.467 UTC 0008 DEBU [msp] getPemMaterialFromDir -> Inspecting file /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/cacerts/ca-org1-7054-ca-org1.pem
2021-12-04 00:00:24.468 UTC 0009 DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/admincerts
2021-12-04 00:00:24.468 UTC 000a DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/intermediatecerts
2021-12-04 00:00:24.468 UTC 000b DEBU [msp] getMspConfig -> Intermediate certs folder not found at [/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/intermediatecerts]. Skipping. [stat /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/intermediatecerts: no such file or directory]
2021-12-04 00:00:24.468 UTC 000c DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/tlscacerts
2021-12-04 00:00:24.468 UTC 000d DEBU [msp] getMspConfig -> TLS CA certs folder not found at [/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/tlsintermediatecerts]. Skipping and ignoring TLS intermediate CA folder. [stat /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/tlscacerts: no such file or directory]
2021-12-04 00:00:24.468 UTC 000e DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/crls
2021-12-04 00:00:24.468 UTC 000f DEBU [msp] getMspConfig -> crls folder not found at [/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/crls]. Skipping. [stat /organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/crls: no such file or directory]
2021-12-04 00:00:24.468 UTC 0010 DEBU [msp] getMspConfig -> Loading NodeOUs
2021-12-04 00:00:24.468 UTC 0011 DEBU [msp] newBccspMsp -> Creating BCCSP-based MSP instance
2021-12-04 00:00:24.468 UTC 0012 DEBU [msp] New -> Creating Cache-MSP instance
2021-12-04 00:00:24.468 UTC 0013 DEBU [msp] loadLocalMSP -> Created new local MSP
2021-12-04 00:00:24.468 UTC 0014 DEBU [msp] Setup -> Setting up MSP instance Org1MSP
2021-12-04 00:00:24.468 UTC 0015 DEBU [msp.identity] newIdentity -> Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICGTCCAb+gAwIBAgIUH0qSJ2aM7yPVLuXYwFtxqYxzu/0wCgYIKoZIzj0EAwIw
aTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcg
WW9yazEQMA4GA1UEChMHY2Etb3JnMTEQMA4GA1UECxMHY2Etb3JnMTEQMA4GA1UE
AxMHY2Etb3JnMTAeFw0yMTEyMDMyMTAwMDBaFw0zNjExMjkyMTAwMDBaMGkxCzAJ
BgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsx
EDAOBgNVBAoTB2NhLW9yZzExEDAOBgNVBAsTB2NhLW9yZzExEDAOBgNVBAMTB2Nh
LW9yZzEwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASX7N8zRuMq41Y5qQ/Vhlv+
b7HstF0eMGjb81UXOVVaerhpXAWvXJ0T/VLRKiMyJJELmmA8zQToH3GeNM+XX1w2
o0UwQzAOBgNVHQ8BAf8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBATAdBgNVHQ4E
FgQUqdxhc8mskIJ6z/gq0z48RV/PgyQwCgYIKoZIzj0EAwIDSAAwRQIhALvE5B8D
t84thZYtWF0I6aPlUiBnPmk2l7s5vO9I3BcWAiBVQVnvrDTb4J4ApQ4sJWhOKqhx
6PpT24exkTXHzRcM3w==
-----END CERTIFICATE-----
2021-12-04 00:00:24.469 UTC 0016 DEBU [msp.identity] newIdentity -> Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICrDCCAlKgAwIBAgIUZYLJda2tjiSS1v+/5Eub8GJGjiowCgYIKoZIzj0EAwIw
aTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcg
WW9yazEQMA4GA1UEChMHY2Etb3JnMTEQMA4GA1UECxMHY2Etb3JnMTEQMA4GA1UE
AxMHY2Etb3JnMTAeFw0yMTEyMDMyMTAwMDBaFw0yMjEyMDMyMTU2MDBaMGAxCzAJ
BgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChMLSHlw
ZXJsZWRnZXIxDjAMBgNVBAsTBWFkbWluMRIwEAYDVQQDEwlvcmcxYWRtaW4wWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAARmIymL9IYFPne70hCIE+Rg7ON0o57IQtFM
y8Dy4wlcE5upPI17rBHbtD5e+2AquPee1oa0T+ZfuUmxlb166zYao4HgMIHdMA4G
A1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBT74XWffKT9H4VX
QNGOL/GEZ8cebjAfBgNVHSMEGDAWgBSp3GFzyayQgnrP+CrTPjxFX8+DJDAgBgNV
HREEGTAXghVjcmVhdGUtY2VydHMtLTEtY2s4YnIwWwYIKgMEBQYHCAEET3siYXR0
cnMiOnsiaGYuQWZmaWxpYXRpb24iOiIiLCJoZi5FbnJvbGxtZW50SUQiOiJvcmcx
YWRtaW4iLCJoZi5UeXBlIjoiYWRtaW4ifX0wCgYIKoZIzj0EAwIDSAAwRQIhANY+
jhmfSXoVgaV49ZtJvMz3UME1WxxF3UsG4aq4pO9kAiA6EJqKsrIZpjNiFKIBpnlr
m69fAKnaK7j6eBSecSNV5Q==
-----END CERTIFICATE-----
2021-12-04 00:00:24.469 UTC 0017 DEBU [bccsp_sw] loadPrivateKey -> Loading private key [8fa3d970df0b3ecd5560e1d0f4fbf2246a234e02beec93cb7a1694ad560f7a38] at [/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/keystore/8fa3d970df0b3ecd5560e1d0f4fbf2246a234e02beec93cb7a1694ad560f7a38_sk]...
2021-12-04 00:00:24.469 UTC 0018 DEBU [msp.identity] newIdentity -> Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICrDCCAlKgAwIBAgIUZYLJda2tjiSS1v+/5Eub8GJGjiowCgYIKoZIzj0EAwIw
aTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcg
WW9yazEQMA4GA1UEChMHY2Etb3JnMTEQMA4GA1UECxMHY2Etb3JnMTEQMA4GA1UE
AxMHY2Etb3JnMTAeFw0yMTEyMDMyMTAwMDBaFw0yMjEyMDMyMTU2MDBaMGAxCzAJ
BgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChMLSHlw
ZXJsZWRnZXIxDjAMBgNVBAsTBWFkbWluMRIwEAYDVQQDEwlvcmcxYWRtaW4wWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAARmIymL9IYFPne70hCIE+Rg7ON0o57IQtFM
y8Dy4wlcE5upPI17rBHbtD5e+2AquPee1oa0T+ZfuUmxlb166zYao4HgMIHdMA4G
A1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBT74XWffKT9H4VX
QNGOL/GEZ8cebjAfBgNVHSMEGDAWgBSp3GFzyayQgnrP+CrTPjxFX8+DJDAgBgNV
HREEGTAXghVjcmVhdGUtY2VydHMtLTEtY2s4YnIwWwYIKgMEBQYHCAEET3siYXR0
cnMiOnsiaGYuQWZmaWxpYXRpb24iOiIiLCJoZi5FbnJvbGxtZW50SUQiOiJvcmcx
YWRtaW4iLCJoZi5UeXBlIjoiYWRtaW4ifX0wCgYIKoZIzj0EAwIDSAAwRQIhANY+
jhmfSXoVgaV49ZtJvMz3UME1WxxF3UsG4aq4pO9kAiA6EJqKsrIZpjNiFKIBpnlr
m69fAKnaK7j6eBSecSNV5Q==
-----END CERTIFICATE-----
2021-12-04 00:00:24.469 UTC 0019 DEBU [msp] setupSigningIdentity -> Signing identity expires at 2022-12-03 21:56:00 +0000 UTC
2021-12-04 00:00:24.550 UTC 001a DEBU [msp] GetDefaultSigningIdentity -> Obtaining default signing identity
2021-12-04 00:00:24.551 UTC 001b INFO [channelCmd] InitCmdFactory -> Endorser and orderer connections initialized
2021-12-04 00:00:24.551 UTC 001c DEBU [msp.identity] Sign -> Sign: plaintext: 0AE9070A074F7267314D535012DD072D...41646D696E7312002A0641646D696E73
2021-12-04 00:00:24.551 UTC 001d DEBU [msp.identity] Sign -> Sign: digest: C2C95B6531CB9E1CD80829F10D19BA956289AC1FEB65432E8342362118394A66
2021-12-04 00:00:24.551 UTC 001e DEBU [msp.identity] Sign -> Sign: plaintext: 0AA0080A1508021A060898DFAA8D0622...22477381DA5FAD20ED8B5A6511D7C3E7
2021-12-04 00:00:24.551 UTC 001f DEBU [msp.identity] Sign -> Sign: digest: A7ECF87D55A44BE4AE8B877A020856B9CBD6FD4BE82E183CF2072DD5F30C289B
2021-12-04 00:00:24.551 UTC [grpc] WarningDepth -> DEBU 001 [core]Adjusting keepalive ping interval to minimum period of 10s
2021-12-04 00:00:24.551 UTC [grpc] InfoDepth -> DEBU 002 [core]parsed scheme: ""
2021-12-04 00:00:24.551 UTC [grpc] InfoDepth -> DEBU 003 [core]scheme "" not registered, fallback to default scheme
2021-12-04 00:00:24.551 UTC [grpc] InfoDepth -> DEBU 004 [core]ccResolverWrapper: sending update to cc: {[{orderer:7050 <nil> 0 <nil>}] <nil> <nil>}
2021-12-04 00:00:24.551 UTC [grpc] InfoDepth -> DEBU 005 [core]ClientConn switching balancer to "pick_first"
2021-12-04 00:00:24.551 UTC [grpc] InfoDepth -> DEBU 006 [core]Channel switches to new LB policy "pick_first"
2021-12-04 00:00:24.551 UTC [grpc] InfoDepth -> DEBU 007 [core]Subchannel Connectivity change to CONNECTING
2021-12-04 00:00:24.551 UTC [grpc] InfoDepth -> DEBU 008 [core]Subchannel picks a new address "orderer:7050" to connect
2021-12-04 00:00:24.551 UTC [grpc] InfoDepth -> DEBU 009 [core]pickfirstBalancer: UpdateSubConnState: 0xc0003033b0, {CONNECTING <nil>}
2021-12-04 00:00:24.551 UTC [grpc] InfoDepth -> DEBU 00a [core]Channel Connectivity change to CONNECTING
2021-12-04 00:00:24.553 UTC 0020 DEBU [comm.tls] ClientHandshake -> Client TLS handshake completed in 902.214µs remoteaddress=10.97.71.223:7050
2021-12-04 00:00:24.553 UTC [grpc] InfoDepth -> DEBU 00b [core]Subchannel Connectivity change to READY
2021-12-04 00:00:24.553 UTC [grpc] InfoDepth -> DEBU 00c [core]pickfirstBalancer: UpdateSubConnState: 0xc0003033b0, {READY <nil>}
2021-12-04 00:00:24.553 UTC [grpc] InfoDepth -> DEBU 00d [core]Channel Connectivity change to READY
2021-12-04 00:00:24.560 UTC 0021 INFO [channelCmd] update -> Successfully submitted channel update
➜ hyperledger-fabric-on-kubernetes-complete-guide git:(main)
AxMHY2Etb3JnMTAeFw0yMTEyMDMyMTAwMDBaFw0zNjExMjkyMTAwMDBaMGkxCzAJ
BgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsx
EDAOBgNVBAoTB2NhLW9yZzExEDAOBgNVBAsTB2NhLW9yZzExEDAOBgNVBAMTB2Nh
LW9yZzEwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASX7N8zRuMq41Y5qQ/Vhlv+
b7HstF0eMGjb81UXOVVaerhpXAWvXJ0T/VLRKiMyJJELmmA8zQToH3GeNM+XX1w2
o0UwQzAOBgNVHQ8BAf8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBATAdBgNVHQ4E
FgQUqdxhc8mskIJ6z/gq0z48RV/PgyQwCgYIKoZIzj0EAwIDSAAwRQIhALvE5B8D
t84thZYtWF0I6aPlUiBnPmk2l7s5vO9I3BcWAiBVQVnvrDTb4J4ApQ4sJWhOKqhx
6PpT24exkTXHzRcM3w==
-----END CERTIFICATE-----
2021-12-04 00:00:24.469 UTC 0016 DEBU [msp.identity] newIdentity -> Creating identity instance for cert -----BEGIN CERTIFICATE------
MIICrDCCAlKgAwIBAgIUZYLJda2tjiSS1v+/5Eub8GJGjiowCgYIKoZIzj0EAwIw
aTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcg
WW9yazEQMA4GA1UEChMHY2Etb3JnMTEQMA4GA1UECxMHY2Etb3JnMTEQMA4GA1UE
AxMHY2Etb3JnMTAeFw0yMTEyMDMyMTAwMDBaFw0yMjEyMDMyMTU2MDBaMGAxCzAJ
BgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChMLSHlw
ZXJsZWRnZXIxDjAMBgNVBAsTBWFkbWluMRIwEAYDVQQDEwlvcmcxYWRtaW4wWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAARmIymL9IYFPne70hCIE+Rg7ON0o57IQtFM
y8Dy4wlcE5upPI17rBHbtD5e+2AquPee1oa0T+ZfuUmxlb166zYao4HgMIHdMA4G
A1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBT74XWffKT9H4VX
QNGOL/GEZ8cebjAfBgNVHSMEGDAWgBSp3GFzyayQgnrP+CrTPjxFX8+DJDAgBgNV
HREEGTAXghVjcmVhdGUtY2VydHMtLTEtY2s4YnIwWwYIKgMEBQYHCAEET3siYXR0
cnMiOnsiaGYuQWZmaWxpYXRpb24iOiIiLCJoZi5FbnJvbGxtZW50SUQiOiJvcmcx
YWRtaW4iLCJoZi5UeXBlIjoiYWRtaW4ifX0wCgYIKoZIzj0EAwIDSAAwRQIhANY+
jhmfSXoVgaV49ZtJvMz3UME1WxxF3UsG4aq4pO9kAiA6EJqKsrIZpjNiFKIBpnlr
m69fAKnaK7j6eBSecSNV5Q==
-----END CERTIFICATE-----
2021-12-04 00:00:24.469 UTC 0017 DEBU [bccsp_sw] loadPrivateKey -> Loading private key [8fa3d970df0b3ecd5560e1d0f4fbf2246a234e02beec93cb7a1694ad560f7a38] at [/organizations/peerOrganizations/org1.example.com/users/[email protected]/msp/keystore/8fa3d970df0b3ecd5560e1d0f4fbf2246a234e02beec93cb7a1694ad560f7a38_sk]...0b3ecd5560e1d0f4fbf2246a234e02beec93cb7a1694ad560f7a38_sk]...
2021-12-04 00:00:24.469 UTC 0018 DEBU [msp.identity] newIdentity -> Creating identity instance for cert -----BEGIN CERTIFICATE------
MIICrDCCAlKgAwIBAgIUZYLJda2tjiSS1v+/5Eub8GJGjiowCgYIKoZIzj0EAwIw
aTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcg
WW9yazEQMA4GA1UEChMHY2Etb3JnMTEQMA4GA1UECxMHY2Etb3JnMTEQMA4GA1UE
AxMHY2Etb3JnMTAeFw0yMTEyMDMyMTAwMDBaFw0yMjEyMDMyMTU2MDBaMGAxCzAJ
BgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChMLSHlw
ZXJsZWRnZXIxDjAMBgNVBAsTBWFkbWluMRIwEAYDVQQDEwlvcmcxYWRtaW4wWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAARmIymL9IYFPne70hCIE+Rg7ON0o57IQtFM
y8Dy4wlcE5upPI17rBHbtD5e+2AquPee1oa0T+ZfuUmxlb166zYao4HgMIHdMA4G
A1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBT74XWffKT9H4VX
QNGOL/GEZ8cebjAfBgNVHSMEGDAWgBSp3GFzyayQgnrP+CrTPjxFX8+DJDAgBgNV
HREEGTAXghVjcmVhdGUtY2VydHMtLTEtY2s4YnIwWwYIKgMEBQYHCAEET3siYXR0
cnMiOnsiaGYuQWZmaWxpYXRpb24iOiIiLCJoZi5FbnJvbGxtZW50SUQiOiJvcmcx
YWRtaW4iLCJoZi5UeXBlIjoiYWRtaW4ifX0wCgYIKoZIzj0EAwIDSAAwRQIhANY+
jhmfSXoVgaV49ZtJvMz3UME1WxxF3UsG4aq4pO9kAiA6EJqKsrIZpjNiFKIBpnlr
m69fAKnaK7j6eBSecSNV5Q==
-----END CERTIFICATE-----
2021-12-04 00:00:24.469 UTC 0019 DEBU [msp] setupSigningIdentity -> Signing identity expires at 2022-12-03 21:56:00 +0000 UTC
2021-12-04 00:00:24.550 UTC 001a DEBU [msp] GetDefaultSigningIdentity -> Obtaining default signing identity
2021-12-04 00:00:24.551 UTC 001b INFO [channelCmd] InitCmdFactory -> Endorser and orderer connections initialized
2021-12-04 00:00:24.551 UTC 001c DEBU [msp.identity] Sign -> Sign: plaintext: 0AE9070A074F7267314D535012DD072D...41646D696E7312002A0641646D696E73 A0641646D696E73
2021-12-04 00:00:24.551 UTC 001d DEBU [msp.identity] Sign -> Sign: digest: C2C95B6531CB9E1CD80829F10D19BA956289AC1FEB65432E8342362118394A66 118394A66
2021-12-04 00:00:24.551 UTC 001e DEBU [msp.identity] Sign -> Sign: plaintext: 0AA0080A1508021A060898DFAA8D0622...22477381DA5FAD20ED8B5A6511D7C3E7 D8B5A6511D7C3E7
2021-12-04 00:00:24.551 UTC 001f DEBU [msp.identity] Sign -> Sign: digest: A7ECF87D55A44BE4AE8B877A020856B9CBD6FD4BE82E183CF2072DD5F30C289B 5F30C289B
2021-12-04 00:00:24.551 UTC [grpc] WarningDepth -> DEBU 001 [core]Adjusting keepalive ping interval to minimum period of 10s
2021-12-04 00:00:24.551 UTC [grpc] InfoDepth -> DEBU 002 [core]parsed scheme: ""rsed scheme: ""
2021-12-04 00:00:24.551 UTC [grpc] InfoDepth -> DEBU 003 [core]scheme "" not registered, fallback to default scheme
2021-12-04 00:00:24.551 UTC [grpc] InfoDepth -> DEBU 004 [core]ccResolverWrapper: sending update to cc: {[{orderer:7050 <nil> 0 <nil>}] <nil> <nil>}nil>}] <nil> <nil>}
2021-12-04 00:00:24.551 UTC [grpc] InfoDepth -> DEBU 005 [core]ClientConn switching balancer to "pick_first"
2021-12-04 00:00:24.551 UTC [grpc] InfoDepth -> DEBU 006 [core]Channel switches to new LB policy "pick_first"
2021-12-04 00:00:24.551 UTC [grpc] InfoDepth -> DEBU 007 [core]Subchannel Connectivity change to CONNECTING
2021-12-04 00:00:24.551 UTC [grpc] InfoDepth -> DEBU 008 [core]Subchannel picks a new address "orderer:7050" to connect
2021-12-04 00:00:24.551 UTC [grpc] InfoDepth -> DEBU 009 [core]pickfirstBalancer: UpdateSubConnState: 0xc0003033b0, {CONNECTING <nil>}il>}
2021-12-04 00:00:24.551 UTC [grpc] InfoDepth -> DEBU 00a [core]Channel Connectivity change to CONNECTING
2021-12-04 00:00:24.553 UTC 0020 DEBU [comm.tls] ClientHandshake -> Client TLS handshake completed in 902.214µs remoteaddress=10.97.71.223:70507.71.223:7050
2021-12-04 00:00:24.553 UTC [grpc] InfoDepth -> DEBU 00b [core]Subchannel Connectivity change to READY
2021-12-04 00:00:24.553 UTC [grpc] InfoDepth -> DEBU 00c [core]pickfirstBalancer: UpdateSubConnState: 0xc0003033b0, {READY <nil>}
2021-12-04 00:00:24.553 UTC [grpc] InfoDepth -> DEBU 00d [core]Channel Connectivity change to READY
2021-12-04 00:00:24.560 UTC 0021 INFO [channelCmd] update -> Successfully submitted channel update
kubectl exec -it -f ./hf-on-k8s-course/7.peers/org2/peer0Org2-cli.yaml -- bash /scripts/updateAnchorPeer.sh Org2MSP
2021-12-04 00:02:29.055 UTC 0001 DEBU [bccsp] GetDefault -> Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2021-12-04 00:02:29.056 UTC 0002 DEBU [bccsp] GetDefault -> Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2021-12-04 00:02:29.064 UTC 0003 DEBU [bccsp] GetDefault -> Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2021-12-04 00:02:29.151 UTC 0004 DEBU [bccsp_sw] openKeyStore -> KeyStore opened at [/organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/keystore]...done
2021-12-04 00:02:29.151 UTC 0005 DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/signcerts
2021-12-04 00:02:29.151 UTC 0006 DEBU [msp] getPemMaterialFromDir -> Inspecting file /organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/signcerts/cert.pem
2021-12-04 00:02:29.151 UTC 0007 DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/cacerts
2021-12-04 00:02:29.152 UTC 0008 DEBU [msp] getPemMaterialFromDir -> Inspecting file /organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/cacerts/ca-org2-8054-ca-org2.pem
2021-12-04 00:02:29.152 UTC 0009 DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/admincerts
2021-12-04 00:02:29.152 UTC 000a DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/intermediatecerts
2021-12-04 00:02:29.152 UTC 000b DEBU [msp] getMspConfig -> Intermediate certs folder not found at [/organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/intermediatecerts]. Skipping. [stat /organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/intermediatecerts: no such file or directory]
2021-12-04 00:02:29.152 UTC 000c DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/tlscacerts
2021-12-04 00:02:29.152 UTC 000d DEBU [msp] getMspConfig -> TLS CA certs folder not found at [/organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/tlsintermediatecerts]. Skipping and ignoring TLS intermediate CA folder. [stat /organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/tlscacerts: no such file or directory]
2021-12-04 00:02:29.152 UTC 000e DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/crls
2021-12-04 00:02:29.152 UTC 000f DEBU [msp] getMspConfig -> crls folder not found at [/organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/crls]. Skipping. [stat /organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/crls: no such file or directory]
2021-12-04 00:02:29.152 UTC 0010 DEBU [msp] getMspConfig -> Loading NodeOUs
2021-12-04 00:02:29.152 UTC 0011 DEBU [msp] newBccspMsp -> Creating BCCSP-based MSP instance
2021-12-04 00:02:29.152 UTC 0012 DEBU [msp] New -> Creating Cache-MSP instance
2021-12-04 00:02:29.152 UTC 0013 DEBU [msp] loadLocalMSP -> Created new local MSP
2021-12-04 00:02:29.152 UTC 0014 DEBU [msp] Setup -> Setting up MSP instance Org2MSP
2021-12-04 00:02:29.152 UTC 0015 DEBU [msp.identity] newIdentity -> Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICGTCCAb+gAwIBAgIUUW45DhvJ5wxI8GcsiIidLhHuEp8wCgYIKoZIzj0EAwIw
aTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcg
WW9yazEQMA4GA1UEChMHY2Etb3JnMjEQMA4GA1UECxMHY2Etb3JnMjEQMA4GA1UE
AxMHY2Etb3JnMjAeFw0yMTEyMDMyMTA3MDBaFw0zNjExMjkyMTA3MDBaMGkxCzAJ
BgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsx
EDAOBgNVBAoTB2NhLW9yZzIxEDAOBgNVBAsTB2NhLW9yZzIxEDAOBgNVBAMTB2Nh
LW9yZzIwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASu2gqFDnSsUcj3irzibkYH
GVI87cp2ktWX5BvJVvG1zJnvOlcf5vUS23jXLIjido5T32ma2YBEuVNnzq8lUUW/
o0UwQzAOBgNVHQ8BAf8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBATAdBgNVHQ4E
FgQUHi4rzHrrCYb3FayHyR7Tgi4uYwUwCgYIKoZIzj0EAwIDSAAwRQIhAKVKwryi
qvMmZ+i/6fmMNzIqUxDct5+YV3oFAac+hV+aAiBqy39SKvdZDMnMPrgw+qWL4Rkj
y8RtlgqEazqtjtywFg==
-----END CERTIFICATE-----
2021-12-04 00:02:29.153 UTC 0016 DEBU [msp.identity] newIdentity -> Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICrDCCAlKgAwIBAgIUakRe+QogE5cxot6JYt2NVJEC5m0wCgYIKoZIzj0EAwIw
aTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcg
WW9yazEQMA4GA1UEChMHY2Etb3JnMjEQMA4GA1UECxMHY2Etb3JnMjEQMA4GA1UE
AxMHY2Etb3JnMjAeFw0yMTEyMDMyMTA3MDBaFw0yMjEyMDMyMTU2MDBaMGAxCzAJ
BgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChMLSHlw
ZXJsZWRnZXIxDjAMBgNVBAsTBWFkbWluMRIwEAYDVQQDEwlvcmcyYWRtaW4wWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAASPvHhcRgXOdbfY4hiGGTfIG91L0NqiHViS
3pBHX3VV/ESaYFle6Iq3Zd2S+wtcFaehn5Yj77mKU1rGwu3C886Lo4HgMIHdMA4G
A1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBS3NOkmihIIhUjr
Om1e9WdSpC5DyzAfBgNVHSMEGDAWgBQeLivMeusJhvcVrIfJHtOCLi5jBTAgBgNV
HREEGTAXghVjcmVhdGUtY2VydHMtLTEtY2s4YnIwWwYIKgMEBQYHCAEET3siYXR0
cnMiOnsiaGYuQWZmaWxpYXRpb24iOiIiLCJoZi5FbnJvbGxtZW50SUQiOiJvcmcy
YWRtaW4iLCJoZi5UeXBlIjoiYWRtaW4ifX0wCgYIKoZIzj0EAwIDSAAwRQIhALF7
QXdJJanmLaRjtVjNfQtTaJB5WL1T9Jh/lGLXzn8SAiA7kw0C0RDSR26FnvN2amhs
SOW/Fzt6qzIi3jr4S7WsVQ==
-----END CERTIFICATE-----
2021-12-04 00:02:29.153 UTC 0017 DEBU [bccsp_sw] loadPrivateKey -> Loading private key [11796c18d80a02cd0d0e9bb9bc3e83751654ab3f3165681e7465fbd6f3b3e1b4] at [/organizations/peerOrganizations/org2.example.com/users/[email protected]/msp/keystore/11796c18d80a02cd0d0e9bb9bc3e83751654ab3f3165681e7465fbd6f3b3e1b4_sk]...
2021-12-04 00:02:29.153 UTC 0018 DEBU [msp.identity] newIdentity -> Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICrDCCAlKgAwIBAgIUakRe+QogE5cxot6JYt2NVJEC5m0wCgYIKoZIzj0EAwIw
aTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcg
WW9yazEQMA4GA1UEChMHY2Etb3JnMjEQMA4GA1UECxMHY2Etb3JnMjEQMA4GA1UE
AxMHY2Etb3JnMjAeFw0yMTEyMDMyMTA3MDBaFw0yMjEyMDMyMTU2MDBaMGAxCzAJ
BgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChMLSHlw
ZXJsZWRnZXIxDjAMBgNVBAsTBWFkbWluMRIwEAYDVQQDEwlvcmcyYWRtaW4wWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAASPvHhcRgXOdbfY4hiGGTfIG91L0NqiHViS
3pBHX3VV/ESaYFle6Iq3Zd2S+wtcFaehn5Yj77mKU1rGwu3C886Lo4HgMIHdMA4G
A1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBS3NOkmihIIhUjr
Om1e9WdSpC5DyzAfBgNVHSMEGDAWgBQeLivMeusJhvcVrIfJHtOCLi5jBTAgBgNV
HREEGTAXghVjcmVhdGUtY2VydHMtLTEtY2s4YnIwWwYIKgMEBQYHCAEET3siYXR0
cnMiOnsiaGYuQWZmaWxpYXRpb24iOiIiLCJoZi5FbnJvbGxtZW50SUQiOiJvcmcy
YWRtaW4iLCJoZi5UeXBlIjoiYWRtaW4ifX0wCgYIKoZIzj0EAwIDSAAwRQIhALF7
QXdJJanmLaRjtVjNfQtTaJB5WL1T9Jh/lGLXzn8SAiA7kw0C0RDSR26FnvN2amhs
SOW/Fzt6qzIi3jr4S7WsVQ==
-----END CERTIFICATE-----
2021-12-04 00:02:29.153 UTC 0019 DEBU [msp] setupSigningIdentity -> Signing identity expires at 2022-12-03 21:56:00 +0000 UTC
2021-12-04 00:02:29.153 UTC 001a DEBU [msp] GetDefaultSigningIdentity -> Obtaining default signing identity
2021-12-04 00:02:29.153 UTC 001b INFO [channelCmd] InitCmdFactory -> Endorser and orderer connections initialized
2021-12-04 00:02:29.154 UTC 001c DEBU [msp.identity] Sign -> Sign: plaintext: 0AE9070A074F7267324D535012DD072D...72697465727312002A0641646D696E73
2021-12-04 00:02:29.154 UTC 001d DEBU [msp.identity] Sign -> Sign: digest: 01F42D8A29C7FAD3862E86289E9EAD8BF19ADC6BDF24F2015438B676F71994A5
2021-12-04 00:02:29.154 UTC 001e DEBU [msp.identity] Sign -> Sign: plaintext: 0AA0080A1508021A060895E0AA8D0622...D364EA1FB90594CB4CCF24C9F53964FF
2021-12-04 00:02:29.154 UTC 001f DEBU [msp.identity] Sign -> Sign: digest: CF82EDFD6AE3F91B0D992E0C61A7DE909410A979707DC5A7A10AD49A1FBFBADD
2021-12-04 00:02:29.155 UTC [grpc] WarningDepth -> DEBU 001 [core]Adjusting keepalive ping interval to minimum period of 10s
2021-12-04 00:02:29.155 UTC [grpc] InfoDepth -> DEBU 002 [core]parsed scheme: ""
2021-12-04 00:02:29.155 UTC [grpc] InfoDepth -> DEBU 003 [core]scheme "" not registered, fallback to default scheme
2021-12-04 00:02:29.155 UTC [grpc] InfoDepth -> DEBU 004 [core]ccResolverWrapper: sending update to cc: {[{orderer:7050 <nil> 0 <nil>}] <nil> <nil>}
2021-12-04 00:02:29.155 UTC [grpc] InfoDepth -> DEBU 005 [core]ClientConn switching balancer to "pick_first"
2021-12-04 00:02:29.155 UTC [grpc] InfoDepth -> DEBU 006 [core]Channel switches to new LB policy "pick_first"
2021-12-04 00:02:29.155 UTC [grpc] InfoDepth -> DEBU 007 [core]Subchannel Connectivity change to CONNECTING
2021-12-04 00:02:29.155 UTC [grpc] InfoDepth -> DEBU 008 [core]Subchannel picks a new address "orderer:7050" to connect
2021-12-04 00:02:29.155 UTC [grpc] InfoDepth -> DEBU 009 [core]pickfirstBalancer: UpdateSubConnState: 0xc000313bb0, {CONNECTING <nil>}
2021-12-04 00:02:29.155 UTC [grpc] InfoDepth -> DEBU 00a [core]Channel Connectivity change to CONNECTING
2021-12-04 00:02:29.156 UTC 0020 DEBU [comm.tls] ClientHandshake -> Client TLS handshake completed in 753.127µs remoteaddress=10.97.71.223:7050
2021-12-04 00:02:29.156 UTC [grpc] InfoDepth -> DEBU 00b [core]Subchannel Connectivity change to READY
2021-12-04 00:02:29.156 UTC [grpc] InfoDepth -> DEBU 00c [core]pickfirstBalancer: UpdateSubConnState: 0xc000313bb0, {READY <nil>}
2021-12-04 00:02:29.157 UTC [grpc] InfoDepth -> DEBU 00d [core]Channel Connectivity change to READY
2021-12-04 00:02:29.167 UTC 0021 INFO [channelCmd] update -> Successfully submitted channel **update**
> kubectl exec -it -f ./hf-on-k8s-course/7.peers/org3/peer0Org3-cli.yaml -- bash /scripts/updateAnchorPeer.sh Org3MSP
2021-12-04 00:03:58.556 UTC 0001 DEBU [bccsp] GetDefault -> Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2021-12-04 00:03:58.557 UTC 0002 DEBU [bccsp] GetDefault -> Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2021-12-04 00:03:58.564 UTC 0003 DEBU [bccsp] GetDefault -> Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2021-12-04 00:03:58.566 UTC 0004 DEBU [bccsp_sw] openKeyStore -> KeyStore opened at [/organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/keystore]...done
2021-12-04 00:03:58.566 UTC 0005 DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/signcerts
2021-12-04 00:03:58.566 UTC 0006 DEBU [msp] getPemMaterialFromDir -> Inspecting file /organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/signcerts/cert.pem
2021-12-04 00:03:58.566 UTC 0007 DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/cacerts
2021-12-04 00:03:58.566 UTC 0008 DEBU [msp] getPemMaterialFromDir -> Inspecting file /organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/cacerts/ca-org3-9054-ca-org3.pem
2021-12-04 00:03:58.567 UTC 0009 DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/admincerts
2021-12-04 00:03:58.567 UTC 000a DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/intermediatecerts
2021-12-04 00:03:58.567 UTC 000b DEBU [msp] getMspConfig -> Intermediate certs folder not found at [/organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/intermediatecerts]. Skipping. [stat /organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/intermediatecerts: no such file or directory]
2021-12-04 00:03:58.567 UTC 000c DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/tlscacerts
2021-12-04 00:03:58.567 UTC 000d DEBU [msp] getMspConfig -> TLS CA certs folder not found at [/organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/tlsintermediatecerts]. Skipping and ignoring TLS intermediate CA folder. [stat /organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/tlscacerts: no such file or directory]
2021-12-04 00:03:58.567 UTC 000e DEBU [msp] getPemMaterialFromDir -> Reading directory /organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/crls
2021-12-04 00:03:58.567 UTC 000f DEBU [msp] getMspConfig -> crls folder not found at [/organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/crls]. Skipping. [stat /organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/crls: no such file or directory]
2021-12-04 00:03:58.567 UTC 0010 DEBU [msp] getMspConfig -> Loading NodeOUs
2021-12-04 00:03:58.567 UTC 0011 DEBU [msp] newBccspMsp -> Creating BCCSP-based MSP instance
2021-12-04 00:03:58.567 UTC 0012 DEBU [msp] New -> Creating Cache-MSP instance
2021-12-04 00:03:58.567 UTC 0013 DEBU [msp] loadLocalMSP -> Created new local MSP
2021-12-04 00:03:58.567 UTC 0014 DEBU [msp] Setup -> Setting up MSP instance Org3MSP
2021-12-04 00:03:58.650 UTC 0015 DEBU [msp.identity] newIdentity -> Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICGTCCAb+gAwIBAgIUFGUrTL7oZoSsD8e8Xa3QziFN2U0wCgYIKoZIzj0EAwIw
aTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcg
WW9yazEQMA4GA1UEChMHY2Etb3JnMzEQMA4GA1UECxMHY2Etb3JnMzEQMA4GA1UE
AxMHY2Etb3JnMzAeFw0yMTEyMDMyMTEwMDBaFw0zNjExMjkyMTEwMDBaMGkxCzAJ
BgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsx
EDAOBgNVBAoTB2NhLW9yZzMxEDAOBgNVBAsTB2NhLW9yZzMxEDAOBgNVBAMTB2Nh
LW9yZzMwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATtveHQ7OL7tXoiR8uEaITs
jp0ap72KFrcqlNE830Nn7wo2k6PlWxnSY0QTh2oU8HO60bPsBW3MA4UPU5IB977F
o0UwQzAOBgNVHQ8BAf8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBATAdBgNVHQ4E
FgQUCTApGh89Cfo02X9CanFuBOj71SAwCgYIKoZIzj0EAwIDSAAwRQIhAL8j7BUl
sGxQPI9emxhk2r1JquDMgyA45P8W/RiTRrpVAiBNs/LUGwt26BDD+9yDNJd06C0L
NiZSaATzow0MWfP5aw==
-----END CERTIFICATE-----
2021-12-04 00:03:58.650 UTC 0016 DEBU [msp.identity] newIdentity -> Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICqzCCAlKgAwIBAgIUXk92U5q2q7S5GSTWmeu7+IXfbrMwCgYIKoZIzj0EAwIw
aTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcg
WW9yazEQMA4GA1UEChMHY2Etb3JnMzEQMA4GA1UECxMHY2Etb3JnMzEQMA4GA1UE
AxMHY2Etb3JnMzAeFw0yMTEyMDMyMTEwMDBaFw0yMjEyMDMyMTU2MDBaMGAxCzAJ
BgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChMLSHlw
ZXJsZWRnZXIxDjAMBgNVBAsTBWFkbWluMRIwEAYDVQQDEwlvcmczYWRtaW4wWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAAT1WdsXtXi3QS6OPqO95HtGblAz5GZnpTjj
VbrsiErHactYOYdQENce3dpOeLcVKfs2J6dF8UMy1dugg56J2yrxo4HgMIHdMA4G
A1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBTx4xzDo+FUb9OR
CM4CZXzlF5f3IzAfBgNVHSMEGDAWgBQJMCkaHz0J+jTZf0JqcW4E6PvVIDAgBgNV
HREEGTAXghVjcmVhdGUtY2VydHMtLTEtY2s4YnIwWwYIKgMEBQYHCAEET3siYXR0
cnMiOnsiaGYuQWZmaWxpYXRpb24iOiIiLCJoZi5FbnJvbGxtZW50SUQiOiJvcmcz
YWRtaW4iLCJoZi5UeXBlIjoiYWRtaW4ifX0wCgYIKoZIzj0EAwIDRwAwRAIgWiQ0
amrHRbh7/p51CuitRMJ8H2GMusiJUCfkXmzCCFgCIBEs4/urtAJZd28vLhRGOybo
lgKP+nfoBre1r5JFT7fp
-----END CERTIFICATE-----
2021-12-04 00:03:58.651 UTC 0017 DEBU [bccsp_sw] loadPrivateKey -> Loading private key [3333fad846fec1bf67fc4f5bb6c4da142de0095d67ee43102b54e3a8e41f09a0] at [/organizations/peerOrganizations/org3.example.com/users/[email protected]/msp/keystore/3333fad846fec1bf67fc4f5bb6c4da142de0095d67ee43102b54e3a8e41f09a0_sk]...
2021-12-04 00:03:58.651 UTC 0018 DEBU [msp.identity] newIdentity -> Creating identity instance for cert -----BEGIN CERTIFICATE-----
MIICqzCCAlKgAwIBAgIUXk92U5q2q7S5GSTWmeu7+IXfbrMwCgYIKoZIzj0EAwIw
aTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcg
WW9yazEQMA4GA1UEChMHY2Etb3JnMzEQMA4GA1UECxMHY2Etb3JnMzEQMA4GA1UE
AxMHY2Etb3JnMzAeFw0yMTEyMDMyMTEwMDBaFw0yMjEyMDMyMTU2MDBaMGAxCzAJ
BgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChMLSHlw
ZXJsZWRnZXIxDjAMBgNVBAsTBWFkbWluMRIwEAYDVQQDEwlvcmczYWRtaW4wWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAAT1WdsXtXi3QS6OPqO95HtGblAz5GZnpTjj
VbrsiErHactYOYdQENce3dpOeLcVKfs2J6dF8UMy1dugg56J2yrxo4HgMIHdMA4G
A1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBTx4xzDo+FUb9OR
CM4CZXzlF5f3IzAfBgNVHSMEGDAWgBQJMCkaHz0J+jTZf0JqcW4E6PvVIDAgBgNV
HREEGTAXghVjcmVhdGUtY2VydHMtLTEtY2s4YnIwWwYIKgMEBQYHCAEET3siYXR0
cnMiOnsiaGYuQWZmaWxpYXRpb24iOiIiLCJoZi5FbnJvbGxtZW50SUQiOiJvcmcz
YWRtaW4iLCJoZi5UeXBlIjoiYWRtaW4ifX0wCgYIKoZIzj0EAwIDRwAwRAIgWiQ0
amrHRbh7/p51CuitRMJ8H2GMusiJUCfkXmzCCFgCIBEs4/urtAJZd28vLhRGOybo
lgKP+nfoBre1r5JFT7fp
-----END CERTIFICATE-----
2021-12-04 00:03:58.651 UTC 0019 DEBU [msp] setupSigningIdentity -> Signing identity expires at 2022-12-03 21:56:00 +0000 UTC
2021-12-04 00:03:58.652 UTC 001a DEBU [msp] GetDefaultSigningIdentity -> Obtaining default signing identity
2021-12-04 00:03:58.652 UTC 001b INFO [channelCmd] InitCmdFactory -> Endorser and orderer connections initialized
2021-12-04 00:03:58.653 UTC 001c DEBU [msp.identity] Sign -> Sign: plaintext: 0AE5070A074F7267334D535012D9072D...73656D656E7412002A0641646D696E73
2021-12-04 00:03:58.653 UTC 001d DEBU [msp.identity] Sign -> Sign: digest: 1FC6306EDE21709A4E21A24D4BEE4F9B7BCE0F8C780DACF7D0C57852AC34376B
2021-12-04 00:03:58.653 UTC 001e DEBU [msp.identity] Sign -> Sign: plaintext: 0A9C080A1508021A0608EEE0AA8D0622...559A0B19D5CA7382060F0C71FE914EEF
2021-12-04 00:03:58.653 UTC 001f DEBU [msp.identity] Sign -> Sign: digest: C859D3B477DD2CE59E98109EE9BEF042FBC59E9EFEAA14151D4732575E6D2302
2021-12-04 00:03:58.653 UTC [grpc] WarningDepth -> DEBU 001 [core]Adjusting keepalive ping interval to minimum period of 10s
2021-12-04 00:03:58.653 UTC [grpc] InfoDepth -> DEBU 002 [core]parsed scheme: ""
2021-12-04 00:03:58.653 UTC [grpc] InfoDepth -> DEBU 003 [core]scheme "" not registered, fallback to default scheme
2021-12-04 00:03:58.653 UTC [grpc] InfoDepth -> DEBU 004 [core]ccResolverWrapper: sending update to cc: {[{orderer:7050 <nil> 0 <nil>}] <nil> <nil>}
2021-12-04 00:03:58.653 UTC [grpc] InfoDepth -> DEBU 005 [core]ClientConn switching balancer to "pick_first"
2021-12-04 00:03:58.653 UTC [grpc] InfoDepth -> DEBU 006 [core]Channel switches to new LB policy "pick_first"
2021-12-04 00:03:58.653 UTC [grpc] InfoDepth -> DEBU 007 [core]Subchannel Connectivity change to CONNECTING
2021-12-04 00:03:58.653 UTC [grpc] InfoDepth -> DEBU 008 [core]Subchannel picks a new address "orderer:7050" to connect
2021-12-04 00:03:58.653 UTC [grpc] InfoDepth -> DEBU 009 [core]pickfirstBalancer: UpdateSubConnState: 0xc00030d3a0, {CONNECTING <nil>}
2021-12-04 00:03:58.653 UTC [grpc] InfoDepth -> DEBU 00a [core]Channel Connectivity change to CONNECTING
2021-12-04 00:03:58.655 UTC 0020 DEBU [comm.tls] ClientHandshake -> Client TLS handshake completed in 929.752µs remoteaddress=10.97.71.223:7050
2021-12-04 00:03:58.655 UTC [grpc] InfoDepth -> DEBU 00b [core]Subchannel Connectivity change to READY
2021-12-04 00:03:58.655 UTC [grpc] InfoDepth -> DEBU 00c [core]pickfirstBalancer: UpdateSubConnState: 0xc00030d3a0, {READY <nil>}
2021-12-04 00:03:58.655 UTC [grpc] InfoDepth -> DEBU 00d [core]Channel Connectivity change to READY
2021-12-04 00:03:58.663 UTC 0021 INFO [channelCmd] update -> Successfully submitted channel update
cp -R hlf-kubernetes/8.chaincode/* hf_nfs_client/chaincode
at hf_nfs_client/chaincode/basic/packaging, execute
bash gen-external-package.sh
script changing the arguments
> bash gen-external-package.sh basic org1 7052
> bash gen-external-package.sh basic org2 7052
> bash gen-external-package.sh basic org3 7052
#!/bin/bash
CHAINCODE_NAME=${1:-"basic"}
ORG=${2:-"org1"}
CHAINCODE_SERVER_PORT=${3:-"7052"}
CHAINCODE_ROOT_DIR=${4:-"./hf_nfs_client/chaincode/${CHAINCODE_NAME}/packaging"}
ADDRESS="${CHAINCODE_NAME}-${ORG}:${CHAINCODE_SERVER_PORT}"
echo "{
\"address\": \"${ADDRESS}\",
\"dial_timeout\": \"10s\",
\"tls_required\": false,
\"client_auth_required\": false,
\"client_key\": \"-----BEGIN EC PRIVATE KEY----- ... -----END EC PRIVATE KEY-----\",
\"client_cert\": \"-----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----\",
\"root_cert\": \"-----BEGIN CERTIFICATE---- ... -----END CERTIFICATE-----\"
}" > ${CHAINCODE_ROOT_DIR}/connection.json
tar cfz code.tar.gz connection.json
echo "{\"path\":\"\",\"type\":\"external\",\"label\":\"${CHAINCODE_NAME}\"}" > ${CHAINCODE_ROOT_DIR}/metadata.json
tar cfz ${CHAINCODE_ROOT_DIR}/${CHAINCODE_NAME}-${ORG}.tgz code.tar.gz metadata.json
kubectl -f hf-on-k8s-course/7.peers/org1/peer0Org1-cli.yaml exec -it -- bash
cd /opt/gopath/src/github.com/chaincode/basic/packaging/
peer lifecycle chaincode install basic-org1.tgz
kubectl -f hf-on-k8s-course/7.peers/org1/peer0Org1-cli.yaml exec -- peer lifecycle chaincode install /opt/gopath/src/github.com/chaincode/fabric-es-chaincode/packaging/fabric-es-chaincode-org1.tgz
fabric-es-chaincode:f1684b419bab0d122b62f452ed1a9f756de8f58150599f6a3c783d65eee964ee
kubectl -f hf-on-k8s-course/7.peers/org2/peer0Org2-cli.yaml exec -- peer lifecycle chaincode install /opt/gopath/src/github.com/chaincode/fabric-es-chaincode/packaging/fabric-es-chaincode-org2.tgz
fabric-es-chaincode:f3362fb9f0b5434e545f1dd36a78f05d05dc323645e5e3e48bae35d77d9762e3
kubectl -f hf-on-k8s-course/7.peers/org3/peer0Org3-cli.yaml exec -- peer lifecycle chaincode install /opt/gopath/src/github.com/chaincode/fabric-es-chaincode/packaging/fabric-es-chaincode-org3.tgz
fabric-es-chaincode:3a427a3537fc57ffd899c34f5eb8889f2726bf0b69fee2c6d04459edd10b1a41
kubectl -f hf-on-k8s-course/7.peers/org1/peer0Org1-cli.yaml exec -- peer lifecycle chaincode install /opt/gopath/src/github.com/chaincode/basic/packaging/basic-org1.tgz
basic:4cfa3aefef49390e5783a4947f9668b2f6f0374cfd6436e52caedf6351b01879
kubectl -f hf-on-k8s-course/7.peers/org2/peer0Org2-cli.yaml exec -- peer lifecycle chaincode install /opt/gopath/src/github.com/chaincode/basic/packaging/basic-org2.tgz
basic:1694501aa998bdc5781575c2bcb3606e29a43f7ebfdacdcfcef966fb1b5a45f1
kubectl -f hf-on-k8s-course/7.peers/org3/peer0Org3-cli.yaml exec -- peer lifecycle chaincode install /opt/gopath/src/github.com/chaincode/basic/packaging/basic-org3.tgz
basic:c5525fee4ca14a3fee7d8b35a7cdfb29955bcbc28bbc97e9f4505ff151a01873
For example:
basic:f44db99fa698325882c4392a3dd5f8bd68149f8aaee5eeabff84be5f6cf5b145
kubectl -f hf-on-k8s-course/7.peers/org2/peer0Org2-cli.yaml exec -it -- peer lifecycle chaincode install /opt/gopath/src/github.com/chaincode/basic/packaging/basic-org2.tgz
basic:b7967d6e60ec7d6cc3e7b615944fbc521f21c6e9b3673f3378fcc0354a46cb0f
kubectl -f hf-on-k8s-course/7.peers/org3/peer0Org3-cli.yaml exec -it -- peer lifecycle chaincode install /opt/gopath/src/github.com/chaincode/basic/packaging/basic-org3.tgz
basic:3ae51a8c8130c679d475ffaf7487edd328c59ad2d54c263b0ebcdde99f55861f
at
hf_nfs_client/chaincode/basic
execute
docker build -t yangricardo/basic-cc-hlf:1.0 .
in case of
minikube
and the docker image not pushed on remote container repository, it's possible to load executeminikube image load yangricardo/basic-cc-hlf:1.0 --daemon
in order to "pull", that is, update the image definition on local minikube
> kubectl apply -f hf-on-k8s-course/9.cc-deploy/basic/org1
deployment.apps/chaincode-basic-org1 created
service/basic-org1 created
> kubectl apply -f hf-on-k8s-course/9.cc-deploy/basic/org2
deployment.apps/chaincode-basic-org2 created
service/basic-org2 created
> kubectl apply -f hf-on-k8s-course/9.cc-deploy/basic/org3
deployment.apps/chaincode-basic-org3 created
service/basic-org3 created
> kubectl -f hf-on-k8s-course/7.peers/org1/peer0Org1-cli.yaml exec -it -- bash
> peer lifecycle chaincode approveformyorg --channelID mychannel --name basic --version 1.0 --init-required --package-id basic:4cfa3aefef49390e5783a4947f9668b2f6f0374cfd6436e52caedf6351b01879 --sequence 1 -o orderer:7050 --tls --cafile $ORDERER_CA
> peer lifecycle chaincode approveformyorg --channelID mychannel --name fabric-es-chaincode --version 1.0 --init-required --package-id fabric-es-chaincode:f1684b419bab0d122b62f452ed1a9f756de8f58150599f6a3c783d65eee964ee --sequence 1 -o orderer:7050 --tls --cafile $ORDERER_CA
> kubectl -f hf-on-k8s-course/7.peers/org2/peer0Org2-cli.yaml exec -it -- bash
> peer lifecycle chaincode approveformyorg --channelID mychannel --name basic --version 1.0 --init-required --package-id basic:1694501aa998bdc5781575c2bcb3606e29a43f7ebfdacdcfcef966fb1b5a45f1 --sequence 1 -o orderer:7050 --tls --cafile $ORDERER_CA
> peer lifecycle chaincode approveformyorg --channelID mychannel --name fabric-es-chaincode --version 1.0 --init-required --package-id fabric-es-chaincode:f3362fb9f0b5434e545f1dd36a78f05d05dc323645e5e3e48bae35d77d9762e3 --sequence 1 -o orderer:7050 --tls --cafile $ORDERER_CA
> kubectl -f hf-on-k8s-course/7.peers/org3/peer0Org3-cli.yaml exec -it -- bash
> peer lifecycle chaincode approveformyorg --channelID mychannel --name basic --version 1.0 --init-required --package-id basic:c5525fee4ca14a3fee7d8b35a7cdfb29955bcbc28bbc97e9f4505ff151a01873 --sequence 1 -o orderer:7050 --tls --cafile $ORDERER_CA
> peer lifecycle chaincode approveformyorg --channelID mychannel --name fabric-es-chaincode --version 1.0 --init-required --package-id fabric-es-chaincode:3a427a3537fc57ffd899c34f5eb8889f2726bf0b69fee2c6d04459edd10b1a41 --sequence 1 -o orderer:7050 --tls --cafile $ORDERER_CA
> kubectl -f hf-on-k8s-course/7.peers/org3/peer0Org3-cli.yaml exec -it -- bash
> peer lifecycle chaincode checkcommitreadiness --channelID mychannel --name basic --version 1.0 --init-required --sequence 1 -o -orderer:7050 --tls --cafile $ORDERER_CA --output json
{
"approvals": {
"Org1MSP": true,
"Org2MSP": true,
"Org3MSP": true
}
}
> peer lifecycle chaincode checkcommitreadiness --channelID mychannel --name fabric-es-chaincode --version 1.0 --init-required --sequence 1 -o -orderer:7050 --tls --cafile $ORDERER_CA --output json
> kubectl -f hf-on-k8s-course/7.peers/org3/peer0Org3-cli.yaml exec -it -- bash
> peer lifecycle chaincode commit -o orderer:7050 --channelID mychannel --name basic --version 1.0 --sequence 1 --init-required --tls true --cafile $ORDERER_CA --peerAddresses peer0-org1:7051 --tlsRootCertFiles /organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt --peerAddresses peer0-org2:7051 --tlsRootCertFiles /organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt --peerAddresses peer0-org3:7051 --tlsRootCertFiles /organizations/peerOrganizations/org3.example.com/peers/peer0.org3.example.com/tls/ca.crt
> peer lifecycle chaincode commit -o orderer:7050 --channelID mychannel --name fabric-es-chaincode --version 1.0 --sequence 1 --init-required --tls true --cafile $ORDERER_CA --peerAddresses peer0-org1:7051 --tlsRootCertFiles /organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt --peerAddresses peer0-org2:7051 --tlsRootCertFiles /organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt --peerAddresses peer0-org3:7051 --tlsRootCertFiles /organizations/peerOrganizations/org3.example.com/peers/peer0.org3.example.com/tls/ca.crt
> kubectl -f hf-on-k8s-course/7.peers/org3/peer0Org3-cli.yaml exec -it -- bash
> peer chaincode invoke -o orderer:7050 --isInit --tls true --cafile $ORDERER_CA -C mychannel -n basic --peerAddresses peer0-org1:7051 --tlsRootCertFiles /organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt --peerAddresses peer0-org2:7051 --tlsRootCertFiles /organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt --peerAddresses peer0-org3:7051 --tlsRootCertFiles /organizations/peerOrganizations/org3.example.com/peers/peer0.org3.example.com/tls/ca.crt -c '{"Args":["InitLedger"]}' --waitForEvent
> peer chaincode invoke -o orderer:7050 --isInit --tls true --cafile $ORDERER_CA -C mychannel -n fabric-es-chaincode --peerAddresses peer0-org1:7051 --tlsRootCertFiles /organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt --peerAddresses peer0-org2:7051 --tlsRootCertFiles /organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt --peerAddresses peer0-org3:7051 --tlsRootCertFiles /organizations/peerOrganizations/org3.example.com/peers/peer0.org3.example.com/tls/ca.crt -c '{"Args":["Init"]}' --waitForEvent
> cd hf_nfs_client
> bash scripts/ccp.sh
> kubectl -f hf-on-k8s-course/10.api/k8/configmap.yaml apply
configmap/ca-client-config created
> kubectl -f hf-on-k8s-course/10.api/k8/api.yaml apply
# port forward
> kubectl port-forward services/api 4000
pushd
> docker build -t yangricardo/hf-k8s-web:latest .
> minikube image load yangricardo/hf-k8s-web:latest --daemon
> kubectl -f hf-on-k8s-course/11.ui/frontend.yaml apply
> kubectl -f hf-on-k8s-course/12.explorer/explorer.yaml apply
> kubectl -f hf-on-k8s-course/12.explorer/explorerdb.yaml apply
> kubectl -f hf-on-k8s-course/12.explorer/explorer.yaml apply
> kubectl port-forward services/explorer 8080
Check on configmap if the private key path is correct
# Grafana config map
> kubectl apply -f hf-on-k8s-course/13.monitoring/grafana-config.yaml
# Prometheus config map
> kubectl apply -f hf-on-k8s-course/13.monitoring/prometheus-config.yaml
# Prometheus deployment
> kubectl apply -f hf-on-k8s-course/13.monitoring/prometheus.yaml
# Grafana deployment
> kubectl apply -f hf-on-k8s-course/13.monitoring/grafana.yaml