aws-integrator cannot add role to worker node instance profile

Bug #2002637 reported by Yang Kelvin Liu
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AWS Integrator Charm

Bug Description

I deployed CK with AWS overlay, but got following error:

unit-kubernetes-control-plane-1: 19:51:39 WARNING unit.unit-kubernetes-control-plane-1.collect-metrics Error from server (Timeout): the server was unable to return a response in the time allotted, but may still be processing the request (get replicationcontrollers)
unit-aws-integrator-0: 19:51:51 INFO aws:18: An error occurred (NoSuchEntity) when calling the AddRoleToInstanceProfile operation: The role with name cannot be found.
unit-aws-integrator-0: 19:51:51 INFO aws:18: Retrying in 30 seconds
unit-kubernetes-control-plane-0: 19:51:52 WARNING unit.unit-kubernetes-control-plane-0.collect-metrics Unable to connect to the server: stream error: stream ID 7; INTERNAL_ERROR; received from peer
unit-aws-integrator-0: 19:52:21 ERROR aws:18: Traceback (most recent call last):
  File "/var/lib/juju/agents/unit-aws-integrator-0/charm/reactive/", line 91, in handle_requests
  File "/var/lib/juju/agents/unit-aws-integrator-0/charm/lib/charms/layer/", line 243, in enable_instance_inspection
    role_name = _get_role_name(application_name, instance_id, region)
  File "/var/lib/juju/agents/unit-aws-integrator-0/charm/lib/charms/layer/", line 1044, in _get_role_name
    _ensure_role(application_name, role_name)
  File "/var/lib/juju/agents/unit-aws-integrator-0/charm/lib/charms/layer/", line 1089, in _ensure_role
  File "/var/lib/juju/agents/unit-aws-integrator-0/charm/lib/charms/layer/", line 872, in _retry_for_entity_delay
    raise TimeoutAWSError() timed out

juju status:

description: Charmed Kubernetes overlay to add native AWS support.
      gui-x: "600"
      gui-y: "300"
    charm: aws-integrator
    num_units: 1
    trust: true
  - ['aws-integrator', 'kubernetes-control-plane']
  - ['aws-integrator', 'kubernetes-worker']

description: updated
Revision history for this message
Yang Kelvin Liu (kelvin.liu) wrote :

The root cause was the aws user doesn't have sufficient permission to operate with the aws-intergrator charm.

Changed in charm-aws-integrator:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.