Skip to content

Cluster bootstrap fails due to an unknown exception handler #69

@sarun87

Description

@sarun87

User defined exception not found: FailedActiveMasters

Output:

ubuntu@arun-peter-pmkft-test-host03:~$ pf9ctl cluster bootstrap --masterVip 10.128.140.20 --masterVipIf ens3 --containersCidr 10.20.0.0/16 --servicesCidr 10.21.0.0/16 --privileged true --allowWorkloadsOnMaster true arun-bb-clibootstrap
Proceed with creating a Kubernetes cluster with the current node as the Kubernetes master [y/n]? [y]:
Preparing the local node to be added to Platform9 Managed Kubernetes
Preparing nodes  [####################################]  100%
Creating Cluster: arun-bb-clibootstrap
Using nodepool id: 6b6e8552-42cb-4dbc-9573-55a7c188197b
Waiting for cluster create to complete, status = True
Cluster arun-bb-clibootstrap created successfully
Cluster UUID: dce80aca-476a-4fdd-bb4d-dc4e0b3e5644
Attaching to cluster arun-bb-clibootstrap
Discovering UUIDs for the cluster's master nodes
Master nodes:
1c50b5c7-f0a0-4fa2-b965-695dee5ad3ab
Checking if cluster is available, status = True
Attaching master nodes to the cluster
Waiting for cluster to become ready, status = ok
Attaching to cluster
Successfully attached to cluster
Waiting for all masters to become active  [####################################]  100%
Traceback (most recent call last):
  File "/usr/bin/pf9ctl", line 8, in <module>
    sys.exit(cli())
  File "/opt/pf9/cli/lib/python3.5/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/opt/pf9/cli/lib/python3.5/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/opt/pf9/cli/lib/python3.5/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/opt/pf9/cli/lib/python3.5/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/opt/pf9/cli/lib/python3.5/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/opt/pf9/cli/lib/python3.5/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/opt/pf9/cli/lib/python3.5/site-packages/click/decorators.py", line 21, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/opt/pf9/cli/lib/python3.5/site-packages/pf9/cluster/commands.py", line 346, in bootstrap
    attach_cluster(ctx.params['cluster_name'], (local_ip[0],), None, ctx)
  File "/opt/pf9/cli/lib/python3.5/site-packages/pf9/cluster/commands.py", line 189, in attach_cluster
    cluster_attacher.wait_for_n_active_masters(cluster_name, len(master_nodes))
  File "/opt/pf9/cli/lib/python3.5/site-packages/pf9/cluster/cluster_attach.py", line 82, in wait_for_n_active_masters
    raise FailedActiveMasters(msg)
NameError: name 'FailedActiveMasters' is not defined

Pulled from master:lastest
OS: Ubuntu16

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbugbashFound during bug bashes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions