Skip to content

namespace mismatch error when using cattle-drive v0.1.8 #17

@kourosh7

Description

@kourosh7

using v0.1.8:

$ ./cattle-drive status -s rke1 -t quickstart-aws-custom --kubeconfig local.yaml 
Project status:
 - [rke1-proj] ✘
  -> users permissions:
	 - [prtb-jg8wl: project-member permission for user local://u-67zk5] ✘
  -> namespaces:
	 - [a] ✘
	 - [b] ✘
	 - [c] ✘
Cluster users permissions:
 - [crtb-hkhf8: cluster-member permission for user local://u-67zk5] ✘
Catalog repos:
$ ./cattle-drive migrate -s rke1 -t quickstart-aws-custom --kubeconfig local.yaml 
Migrating Objects from cluster [rke1] to cluster [quickstart-aws-custom]:
- migrating Project [rke1-proj]... Done.
  - migrating PRTB [prtb-jg8wl]... exiting tool: the namespace of the provided object does not match the namespace sent on the request

downgraded to v0.1.7:

$ ./cattle-drive migrate -s rke1 -t quickstart-aws-custom --kubeconfig local.yaml 
Migrating Objects from cluster [rke1] to cluster [quickstart-aws-custom]:
  - migrating PRTB [prtb-jg8wl]... Done.
  - migrating Namespace [a]... Done.
  - migrating Namespace [b]... Done.
  - migrating Namespace [c]... Done.
- migrating CRTB [crtb-hkhf8]... Done.

It's a simple cluster with 1 project containing 3 namespaces. I have defined one user to be a project member for this project and a cluster memeber.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions