Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
U
uncloud
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • uncloud
  • uncloud
  • Issues
  • #21

Closed
Open
Opened Dec 31, 2019 by Nico Schottelius@nicoOwner
  • Report abuse
  • New issue
Report abuse New issue

Fix grpc errors in uncloud host

'NoneType' object has no attribute 'key'
Traceback (most recent call last):
  File "./bin/../scripts/uncloud", line 66, in <module>
    main(**arguments)
  File "/home/nico/vcs/uncloud/uncloud/host/main.py", line 76, in main
    maintenance(host.key)
AttributeError: 'NoneType' object has no attribute 'key'
Exception in thread etcd3_watch_7febb8c41b20:
Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/home/nico/vcs/uncloud/venv/lib/python3.8/site-packages/etcd3-0.11.1-py3.8.egg/etcd3/watch.py", line 123, in _run
    response_iter = self._watch_stub.Watch(
  File "/home/nico/vcs/uncloud/venv/lib/python3.8/site-packages/grpcio-1.26.0-py3.8-linux-x86_64.egg/grpc/_channel.py", line 1080, in __call__
    call = self._managed_call(
  File "/home/nico/vcs/uncloud/venv/lib/python3.8/site-packages/grpcio-1.26.0-py3.8-linux-x86_64.egg/grpc/_channel.py", line 1169, in create
    call = state.channel.integrated_call(flags, method, host, deadline,
  File "src/python/grpcio/grpc/_cython/_cygrpc/channel.pyx.pxi", line 478, in grpc._cython.cygrpc.Channel.integrated_call
  File "src/python/grpcio/grpc/_cython/_cygrpc/channel.pyx.pxi", line 296, in grpc._cython.cygrpc._integrated_call
  File "src/python/grpcio/grpc/_cython/_cygrpc/channel.pyx.pxi", line 222, in grpc._cython.cygrpc._call
  File "src/python/grpcio/grpc/_cython/_cygrpc/channel.pyx.pxi", line 262, in grpc._cython.cygrpc._call
ValueError: Cannot invoke RPC: Channel closed!

cc @ahmedbilal

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: uncloud/uncloud#21