Code Monkey home page Code Monkey logo

alcor-int's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

alcor-int's Issues

CNI integration issue for AWS K8s clusters

The networking namespace passed from k8s to mizarmp-CNI is “/proc/14705/ns/net”, which is in the format of “/proc/PID/ns/net”. It is based on AWS container runtime. It is unique and it is an acceptable format. Unfortunately, the current approach of taking only the last part of the string (that is “net”) will not work because:

  1. It is not unique for different endpoints running on the same host
  2. It doesn’t align with the ip netns format with our initial thinking based on our familiar container runtimes

cni plugin may need to retry query on port status

current implementation of cni plugin stops the Add op if it fails to query port status, or the response code is not 200. It may make sense to categorize some errors as retry-on-site, and immediately give it retry, in a hope the retry overcome the transient problem and get response body with 200 status code.

This is not high priority issue, as CNI plugin would be invoked by CRI periodically in case of Add operation failure.

mvn install - test failures when running on the mac only

Following the below instruction from k8s cluster setup wiki:

  1. Build a docker container for controller and push to registry
    ./scripts/build.sh
    For Mac, run the corresponding commands instead, that is:
    brew install maven
    brew tap AdoptOpenJDK/openjdk
    mvn clean
    mvn compile
    mvn install <----- got below test errors

[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] AlcorControllerAppTest.contextLoadsTest » IllegalState Failed to load Applicat...
[ERROR] GoalStateProvisionerClientTest.greet_messageDeliveredToServer:96 » NullPointer
[ERROR] DataCenterConfigLoaderTest.machineConfigFileLoadTest:29 » NullPointer
[ERROR] DebugControllerTest.shouldReturnDefaultMessage » IllegalState Failed to load A...
[INFO]
[ERROR] Tests run: 13, Failures: 0, Errors: 4, Skipped: 0

This error could be due to different JDK version used in mac vs linux.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.