diff options
Diffstat (limited to 'results/classifier/108/other/1585432')
| -rw-r--r-- | results/classifier/108/other/1585432 | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/results/classifier/108/other/1585432 b/results/classifier/108/other/1585432 new file mode 100644 index 000000000..895c745c8 --- /dev/null +++ b/results/classifier/108/other/1585432 @@ -0,0 +1,47 @@ +socket: 0.883 +graphic: 0.663 +performance: 0.657 +device: 0.550 +network: 0.545 +debug: 0.523 +semantic: 0.430 +vnc: 0.410 +PID: 0.366 +permissions: 0.316 +other: 0.280 +files: 0.255 +boot: 0.234 +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), + } + + |