cordctl: xos-core version 4.0.1 did not match constraint '>= 3, < 4'

29 views
Skip to first unread message

Trinh Minh Tri

unread,
Apr 26, 2020, 11:00:30 PM4/26/20
to CORD Discuss
Hello!

Recently, when I used cordctl in SEBA, I got this error; could you help to instruct me the problem and how to overcome it;

My cordctl and xos version:

root@rd5:~# cordctl version
Client:
 Version         1.1.2
 Go version:     go1.12
 Git commit:     1a86568
 Git dirty:      false
 Built:          2019-07-09T15:12:28Z
 OS/Arch:        linux/amd64

Server:
 Version         4.0.1
 Python version: 2.7.16
 Django version: 1.11.29.final.0
 Git commit:     50e6b6fcfa3aac7e5aa62af9effe026b08a7dfa7
 Built:          2020-04-26T04:49:59Z
 OS/Arch:        linux/x86_64

Best Regards
Tri

Matteo Scandolo

unread,
Apr 27, 2020, 12:32:58 PM4/27/20
to Trinh Minh Tri, CORD Discuss
Hello Trinh,
that means you're trying to run a synchronizer that is not compatible with the xos-core version you are running.
What is the output of:

kubectl get pods -o json | jq -r ".items[].spec.containers[].image"


Do you know which container throws that error?

Teo


--
You received this message because you are subscribed to the Google Groups "CORD Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cord-discuss...@opencord.org.
To view this discussion on the web visit https://groups.google.com/a/opencord.org/d/msgid/cord-discuss/88bf1211-5d66-43ba-995b-673183ef8043%40opencord.org.


--
Matteo Scandolo
Member of Technical Staff
--
ONF

sco...@opennetworking.org

unread,
Apr 27, 2020, 1:39:02 PM4/27/20
to CORD Discuss, tmt...@gmail.com
I think this is a cordctl error message, not a synchronizer error message. I don't see any reason why the current cordctl shouldn't be compatible with both 3.x and 4.x. I'll plan on pushing an update to move the constraint to ">= 3, < 5" .

Scott

Tri Trinh

unread,
Apr 27, 2020, 9:07:01 PM4/27/20
to sco...@opennetworking.org, t...@opennetworking.org, CORD Discuss
Hello Teo and Scott!

Thank you very much for your email.  I see the xos-core version is xosproject/xos-core:4.0.1 
Pls help to push the update so that I can use the cordctl command.
This is the result of your guided command

Best regards;
Tri
root@rd5:~# kubectl get pods -o json | jq -r ".items[].spec.containers[].image"
xosproject/att-workflow-driver-synchronizer:2.0.0
xosproject/tosca-loader:1.3.1
xosproject/kubernetes-synchronizer:2.0.0
xosproject/tosca-loader:1.3.1
confluentinc/cp-kafka:5.0.1
gcr.io/google_samples/k8szk:v3
quay.io/coreos/etcd:v3.2.18
quay.io/coreos/etcd-operator:v0.9.3
quay.io/coreos/etcd-operator:v0.9.3
quay.io/coreos/etcd-operator:v0.9.3
docker.elastic.co/elasticsearch/elasticsearch-oss:6.5.4
docker.elastic.co/elasticsearch/elasticsearch-oss:6.5.4
docker.elastic.co/elasticsearch/elasticsearch-oss:6.5.4
docker.elastic.co/elasticsearch/elasticsearch-oss:6.5.4
docker.elastic.co/kibana/kibana-oss:6.5.4
docker.elastic.co/logstash/logstash-oss:6.5.4
andybavier/mininet:1.0.0
kiwigrid/k8s-sidecar:0.1.20
grafana/grafana:6.4.2
opencord/kafka-topic-exporter:1.2.6
opencord/kafka-topic-exporter:1.2.6
prom/alertmanager:v0.18.0
jimmidyson/configmap-reload:v0.2.2
quay.io/coreos/kube-state-metrics:v1.6.0
prom/node-exporter:v0.18.0
prom/pushgateway:v0.8.0
jimmidyson/configmap-reload:v0.2.2
prom/prometheus:v2.13.1
onosproject/onos:2.2.1
xosproject/tosca-loader:1.3.1
opencord/sadis-server:1.1.0
xosproject/fabric-synchronizer:3.0.0
xosproject/fabric-crossconnect-synchronizer:2.0.0
xosproject/onos-synchronizer:3.0.0
xosproject/rcord-synchronizer:2.0.0
xosproject/tosca-loader:1.3.1
xosproject/volt-synchronizer:3.0.0
xosproject/chameleon:4.0.0
xosproject/xos-core:4.0.1
postgres:10.3-alpine
xosproject/xos-gui:1.0.6
xosproject/xos-tosca:2.0.0
xosproject/xos-rest-gw:2.0.2
root@rd5:~#




Matteo Scandolo

unread,
Apr 27, 2020, 9:23:46 PM4/27/20
to Tri Trinh, Scott Baker, CORD Discuss
Hi Tri,
Scott merged the fix today: https://gerrit.opencord.org/#/c/18730/

version 1.1.5 is now available on github: https://github.com/opencord/cordctl/releases

Teo

Tri Trinh

unread,
Apr 27, 2020, 9:56:31 PM4/27/20
to Matteo Scandolo, Scott Baker, CORD Discuss
Hi Teo and Scott!

Thank you very much; I have upgraded to cordctl v1.1.5 and it work well;
There is only one minor problem of showing unknown as 
root@rd5:~/cord# cordctl version
Client:
 Version         unknown-version
 Go version:     unknown-goversion
 Git commit:     unknown-gitcommit
 Git dirty:      unknown-gitdirty
 Built:          unknown-buildtime
 OS/Arch:        unknown-os/unknown-arch


Server:
 Version         4.0.1
 Python version: 2.7.16
 Django version: 1.11.29.final.0
 Git commit:     50e6b6fcfa3aac7e5aa62af9effe026b08a7dfa7
 Built:          2020-04-26T04:49:59Z
 OS/Arch:        linux/x86_64

Best regards
Tri

Reply all
Reply to author
Forward
0 new messages