[Bug 1720985] Re: Skip pulling data from cluster due to error: malformed string: ValueError: malformed string

2017-11-24 Thread Michal Nasiadka
Hello,
Coming back to this issue - using stable/pike now, kubernetes package is 
installed using pip, but the same happens:

2017-11-24 14:04:44.412 55 WARNING magnum.service.periodic 
[req-01c48818-f332-45e7-b3e4-61e8687961cb - - - - -] Skip pulling data from 
cluster a1a51dd7-c16a-4bfa-a096-b5aba9bc67c0 due to error: 'object' object has 
no attribute '__getitem__': TypeError: 'object' object has no attribute 
'__getitem__'
2017-11-24 14:04:44.412 55 ERROR magnum.service.periodic Traceback (most recent 
call last):
2017-11-24 14:04:44.412 55 ERROR magnum.service.periodic   File 
"/usr/lib/python2.7/dist-packages/magnum/service/periodic.py", line 156, in 
_send_cluster_metrics
2017-11-24 14:04:44.412 55 ERROR magnum.service.periodic monitor.pull_data()
2017-11-24 14:04:44.412 55 ERROR magnum.service.periodic   File 
"/usr/lib/python2.7/dist-packages/magnum/drivers/common/k8s_monitor.py", line 
44, in pull_data
2017-11-24 14:04:44.412 55 ERROR magnum.service.periodic self.data['nodes'] 
= self._parse_node_info(nodes)
2017-11-24 14:04:44.412 55 ERROR magnum.service.periodic   File 
"/usr/lib/python2.7/dist-packages/magnum/drivers/common/k8s_monitor.py", line 
162, in _parse_node_info
2017-11-24 14:04:44.412 55 ERROR magnum.service.periodic memory = 
utils.get_k8s_quantity(capacity['memory'])
2017-11-24 14:04:44.412 55 ERROR magnum.service.periodic TypeError: 'object' 
object has no attribute '__getitem__'
2017-11-24 14:04:44.412 55 ERROR magnum.service.periodic

(magnum-conductor)[magnum@ucsubu3000 magnum]$ pip freeze | grep kubernetes
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
kubernetes==4.0.0

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1720985

Title:
  Skip pulling data from cluster due to error: malformed string:
  ValueError: malformed string

To manage notifications about this bug go to:
https://bugs.launchpad.net/magnum/+bug/1720985/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1720985] Re: Skip pulling data from cluster due to error: malformed string: ValueError: malformed string

2017-10-23 Thread Spyros Trigazis
I'm not sure what comment #2 means. This issue in magnum is fixed since
ocata [1].

[1]
http://git.openstack.org/cgit/openstack/magnum/tree/requirements.txt?h=stable%2Focata#n23

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1720985

Title:
  Skip pulling data from cluster due to error: malformed string:
  ValueError: malformed string

To manage notifications about this bug go to:
https://bugs.launchpad.net/magnum/+bug/1720985/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1720985] Re: Skip pulling data from cluster due to error: malformed string: ValueError: malformed string

2017-10-16 Thread Billy Olsen
The Ubuntu packages patch in the python-k8sclient as the kubernetes
client isn't a debian package in the Ubuntu archives.

** Also affects: magnum (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1720985

Title:
  Skip pulling data from cluster due to error: malformed string:
  ValueError: malformed string

To manage notifications about this bug go to:
https://bugs.launchpad.net/magnum/+bug/1720985/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs