Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

apigee-istio provision command doesn't work #205

Closed
stevehu opened this issue Oct 5, 2018 · 6 comments
Closed

apigee-istio provision command doesn't work #205

stevehu opened this issue Oct 5, 2018 · 6 comments

Comments

@stevehu
Copy link

stevehu commented Oct 5, 2018

I was following the tutorial from Srinandan at https://github.com/srinandan/istio-workshop/tree/master/apimanagement to integrate Istio with Apigee Edge gateway. The following command line failed with authorization error even I am the organization admin.

apigee-istio -u {your username} -p {your password} -o {your organization name} -e {your environment name} provision > samples/apigee/handler.yaml

The error message is

error retrieving or creating kvm: error checking for kvm istio, status code: 401

The workaround for me is to download/compile the source code from the master branch and call the same command line. It works and I got the result in the console. I have to manually update the handler.yaml on my Istio cluster manually though.

It looks like the released apigee-istio is not the latest version or maybe some of the dependencies are changed when I build locally.

For more details, please refer to this issue

@theganyo
Copy link
Member

theganyo commented Nov 1, 2018

I don't know of any reason why you'd get that other than a bad username or password. You might try again with release 1.0.3. Also double-check that the username you are using is your full email address, not just the name part. If you still have issues, try running with the "--verbose" option.

@stevehu
Copy link
Author

stevehu commented Nov 1, 2018

It is OK. We built our own copy from the master branch and it worked. Good to know we have a new release. We'll try that for the next installation. Thanks.

@theganyo theganyo closed this as completed Nov 1, 2018
@lukemao
Copy link

lukemao commented Dec 20, 2018

still getting this error in 1.0.3. I am doing apigee-istio in a terraform script:

export APIGEEORG="${var.apigee_org}"
export APIGEEENV="${var.apigee_env}"
export APIGEEUSERNAME="${var.apigee_username}"
export APIGEEPWD="${var.apigee_password}"

apigee-istio provision -o $APIGEEORG -e $APIGEEENV -u $APIGEEUSERNAME -p $APIGEEPWD > samples/apigee/handler.yaml

@deepikarawal
Copy link

I am also facing the same issue. Could you share the steps that you followed to compile the source code from master branch ?

@stevehu
Copy link
Author

stevehu commented Sep 27, 2019

The problem has been fixed in the later version. I don't think it is the same issue any more.

@deepikarawal
Copy link

I am facing the same issue with latest apigee/istio-mixer-adapter i.e. 1.2.0. My istio version is 1.3.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants