{ 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 /
  • General /
avatar image
2

Configuring Istio Mixer Adapter with OPDK 4.18.xx and higher  

  • Export to PDF
potturiprasanth created · Feb 12, 2019 at 07:30 PM · 422 Views

Background

This document covers some of the errors and workarounds, while configuring Apigee Istio Mixer adapter with Edge On-Premise.

Note: The below observations were captured as part of proof of concept using OPDK AIO docker instance

Prerequisites and Instructions

Followed the instructions and prerequisites as described here

Observations

Error: 400 Invalid virtual host reference secure

Description

While deploying edgemicro-internal proxy in OPDK org, the script checks for a Virtual Host named ‘Secure’ which is by default available in cloud orgs but sometimes not available in customer/OPDK orgs or referred with different name

Command:

./apigee-istio -u trial@apigee.com -p xxxxxxx -o trial -e test --managementBase http://localhost:8080 provision > samples/apigee/handler.yaml

error deploying internal proxy: error deploying proxy edgemicro-internal: POST http://localhost:8080/v1/o/trial/apis/edgemicro-internal/revisions/1/deployments?action=deploy&delay=12&env=test&override=true: 400 Invalid virtual host reference secure. Context Revision:1;APIProxy:edgemicro-internal;Organization:trial;Environment:test

Resolution

Create virtual host named 'secure' in 'test' environment and then re-run the above command

Error: error generating credential

Description

Istio provision command failed when running with OPDK Edge Org/Env because the provisioning script generates the API endpoint based org <Org>-<Env> name combination, but mostly likely the api endpoint names are different in customer orgs/opdk

Post https://trial-test.apigee.net/edgemicro/credential/organization/trial/environment/test: dial tcp: lookup trial-test.apigee.net: no such host

Resolution

This was because -r option with router (api endpoint) was not provided in the command. Updated Istio provisioning command as below to resolve this

./apigee-istio -u trial@apigee.com -p xxxxxxx -o trial -e test -r http://localhost:9001 -m http://localhost:8080 provision -v

Error: WARNING Apigee may not be provisioned properly

Description

When running the provisioning script with authentication call check with istio-auth proxy has proxy endpoint in service callout policy was hardcoded to https://edgemicroservices.apigee.net

Unable to verify proxy endpoint(s). Errors:

GET http://localhost:9001/istio-auth/products: 401

Resolution

In 'istio-auth' proxy, inside service callout policy "Authenticate Call" the target endpoint is hard corded to <URL>https://edgemicroservices.apigee.net</URL>

This should be updated with the proxy api endpoint which is

<virtual host>:<port>, e.g..http://localhost:9001

thub.nodes.view.add-new-comment
apigee edgeapi managementon-premconfigurationmicroservicesistioistio mixer adapter
Add comment Show 2
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 Siddharth Barahalikar   · Feb 13, 2019 at 04:34 AM 0
Link

Hi @potturiprasanth, this is a good article for people who want to try this in the future.

BTW what is/are the uses/advantages of using Istio-Mixer-Adapter in your project. I know the generic advantage mentioned in the docs. I would like to understand how you guys are using this in your project.

avatar image Ashish Thakur · Mar 11, 2019 at 09:58 AM 0
Link

/apigee-istio -u testapigee@example -p xxxxx -o testorg -e sandbox -r http://localhost:9001 -m http://localhost:9000 provision -v

I get this error creating new proxy edgemicro-internal revision: 1... error deploying internal proxy: error importing proxy edgemicro-internal: invalid character '<' looking for beginning of value

Are these related?

Article

Contributors

avatar image

Follow this article

71 People are following this .

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

Navigation

[Webcast] Manage complexity and extend value with Apigee and Istio
  • Configuring Istio Mixer Adapter with OPDK 4.18.xx and higher

Related Articles

[Webcast] Manage complexity and extend value with Apigee and Istio

Auth0 with Apigee

Last chance to register for Apigee Edge Virtual API Jam on 30th of April (Europe friendly time)

Apigee Edge Virtual API Jam EMEA on 26th of July

Powering the API Economy

What is API Management?

Introducing Apigee Test (API Health) beta program

Creating an Apigee Java Callout Extension Policy

Check out Apigee's new API Program Excellence Courses on YouTube!

  • 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