summary refs log tree commit diff stats
path: root/results/classifier/118/socket/1585432
blob: 6d3a6de7fd85c83327b1e67b3de0c552da4e8bbd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
socket: 0.883
graphic: 0.663
performance: 0.657
mistranslation: 0.567
device: 0.550
network: 0.545
debug: 0.523
ppc: 0.480
kernel: 0.447
user-level: 0.431
semantic: 0.430
vnc: 0.410
architecture: 0.405
PID: 0.366
VMM: 0.359
x86: 0.350
permissions: 0.316
arm: 0.297
i386: 0.294
peripherals: 0.289
risc-v: 0.289
hypervisor: 0.256
files: 0.255
boot: 0.234
TCG: 0.199
register: 0.198
assembly: 0.136
KVM: 0.117
virtual: 0.106

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),
     }