{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Adapter for Envoy
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • 日本語コミュニティ
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • APIM on Istio /
avatar image
0
Question by Luis Ramirez · Sep 26, 2018 at 02:12 PM · 290 Views apigee edgeintegrationistio

Error al configurar samples/apigee/handler.yaml

Hola, buenos días tengo un grave error ya que no puedo configurar handler.yaml, sigo las indicaciones como viene aquí apigee-istio-adapter pero no me funciona, intento editar de forma manual pero no logro obtenerlo y en la consola de windows tampoco puedo acceder, ya copie el path y ni así.

Espero alguien me pueda ayudar, se los agradecería mucho.

# handler configuration for adapter 'apigee'
        apiVersion: config.istio.io/v1alpha2    
        kind: apigee
        metadata:
          name: apigee-handler
          namespace: istio-system
        spec:
          apigee_base: https://istioservices.apigee.net/edgemicro
          customer_base: REPLACE ME
          org_name: REPLACE ME
          env_name: REPLACE ME
          key: REPLACE ME (No se como obtenerlo)
          secret: REPLACE ME (No se como obtenerlo)
Comment
Add comment
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Close

3 Answers

  • Sort: 
avatar image
0

Answer by Cladius Fernando   · Oct 01, 2018 at 08:28 PM

Hi @Luis Ramirez, From what I understand you are trying to edit the handler.yaml file but are unable to do so. Is that correct? If so:

  1. How are trying to edit this file?
  2. You mentioned "Windows", so the "cp" command mentioned in the article will not work for you.
  3. You can manually make a copy. Have you checked the permissions of the handler.yaml file?

Running the

apigee-istio provision -o docs -e test -u jdoe@example.com -p abc123 > samples/apigee/handler.yaml 

command will automatically set the key and secret values in the handler.yaml. However, this command will not work on Windows. So you can execute the command like

apigee-istio provision -o docs -e test -u jdoe@example.com -p abc123 

and then copy the output of the command to overwrite the handler.yaml file.

Hope this helps.

Hola, @Luis Ramirez, por lo que entiendo, estás intentando editar el archivo handler.yaml pero no puedes hacerlo. ¿Es eso correcto? Si es así: ¿Cómo están tratando de editar este archivo? Mencionó "Windows", por lo que el comando "cp" mencionado en el artículo no funcionará para usted. Puedes hacer una copia manual. ¿Has revisado los permisos del archivo handler.yaml? Espero que esto ayude.

La ejecución de la

apigee-istio provision -o docs -e test -u jdoe@example.com -p abc123 > samples/apigee/handler.yaml 

configurará automáticamente la clave y los valores secretos en el handler.yaml. Sin embargo, este comando no funcionará en Windows. Entonces puede ejecutar el comando como

 apigee-istio provision -o docs -e test -u jdoe@example.com -p abc123

y luego copiar la salida del comando para sobrescribir el archivo handler.yaml.

No tome esto de la manera incorrecta, pero si utilizara https://translate.google.com/ para publicar sus consultas en inglés, es posible que obtenga más respuestas.

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Luis Ramirez · Oct 01, 2018 at 09:02 PM

Hi, @Cladius Fernando , i run the following line on windows cmd. but this appears

apigee-istio provision -o docs -e test -u jdoe@example.com -p abc123 (with my data) 
error deploying auth proxy: error importing proxy istio-auth: POST https://api.enterprise.apigee.com/v1/o/my_org/ apis? action = import & name = is
tio-auth: 400 Bundle is invalid. Empty bundle.

I have been checking the configuration og gcloud, istio, apigee-istio-adapter and i don't get the expected output.

And my other serious error is the following:

kubectl version --shortClient 
Version: v1.11.0
Error from server (Forbidden): <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html>...</html>

I would really appreciate it if you could help me.

Thanks.

Comment
Add comment Show 1 · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Cladius Fernando   · Oct 01, 2018 at 11:51 PM 0
Link

@Luis Ramirez, can you please double check the apigee adapter that you downloaded? If the issue persists maybe you could log a defect at: https://github.com/apigee/istio-mixer-adapter/issues

@srinandans, any inputs for Luis?

avatar image
0

Answer by Luis Ramirez · Oct 02, 2018 at 02:19 AM

Hi @Cladius Fernando, in the Google cloud platform cloud shell if I see the server, I would like to know if I can install apigee-istio-adapter in the cloud shell, if so, they will have a link that I can Please share

Thank you

my_user@cloudshell:~ (project)$ kubectl version --short
Client Version: v1.10.7
Server Version: v1.10.7-gke.2
Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

93 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Apigee with Istio 3 Answers

What is recommended: Apigee's Adaptor for Istio or Apigee Edge Proxies? 1 Answer

Apigee Istio Adapter throws 400 Bundle is invalid. Empty bundle 2 Answers

Apigee Istio 1.0.5 gives 500 error on Provision Cmd 0 Answers

Istio Deployment Failure 2 Answers

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2021 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Adapter for Envoy
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • 日本語コミュニティ
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Badges