diff options
Diffstat (limited to 'results/classifier/105/socket/1585432')
| -rw-r--r-- | results/classifier/105/socket/1585432 | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/results/classifier/105/socket/1585432 b/results/classifier/105/socket/1585432 new file mode 100644 index 00000000..f50e0dba --- /dev/null +++ b/results/classifier/105/socket/1585432 @@ -0,0 +1,45 @@ +socket: 0.883 +graphic: 0.663 +mistranslation: 0.567 +device: 0.550 +network: 0.545 +instruction: 0.459 +semantic: 0.430 +vnc: 0.410 +other: 0.280 +boot: 0.234 +assembly: 0.136 +KVM: 0.117 + +magnum coe-service-list returns error + +magnum running on centos7, + +I didn't create any services on k8s cluster, + +but I got the result as follows: + +[root@localhost ~(keystone_admin)]# magnum coe-service-list --bay k8sbay3 +ERROR: Field `ports[0][node_port]' cannot be None (HTTP 500) (Request-ID: req-c66b68dd-5437-47fa-a389-7cb56a262fa5) + +I assume you want this to be in the Magnum project, not qemu...? + +The coe-service-list command will be removed: https://review.openstack.org/#/c/258454/ , so I am going to close this bug. + +Following is my local fix, hope it helps + +diff --git a/magnum/objects/service.py b/magnum/objects/service.py +index 12088a7..04040ff 100644 +--- a/magnum/objects/service.py ++++ b/magnum/objects/service.py +@@ -39,7 +39,7 @@ class Service(base.MagnumPersistentObject, base.MagnumObject, + 'labels': fields.DictOfStringsField(nullable=True), + 'selector': fields.DictOfStringsField(nullable=True), + 'ip': fields.StringField(nullable=True), +- 'ports': magnum_fields.ListOfDictsField(nullable=True), ++ 'ports': fields.ListOfDictOfNullableStringsField(nullable=True), + 'manifest_url': fields.StringField(nullable=True), + 'manifest': fields.StringField(nullable=True), + } + + |
