vhive-serverless / invitro

Load generator and trace sampler for serverless computing
MIT License
16 stars 7 forks source link

CNI and istio issues during running single-node on a non-cloudlab platform. #199

Closed gaow0007 closed 11 months ago

gaow0007 commented 1 year ago

Version & Branch

VHIVE_BRANCH='hy'
LOADER_BRANCH='main'
CLUSTER_MODE='container' # choose from {container, firecracker, firecracker_snapshots}
PODS_PER_NODE=40
GITHUB_TOKEN=$HOME/.git_token_loader
DEPLOY_PROMETHEUS=false

Expected Behaviour

No warning information after executing kubectl describe nodes No error information after executing istioctl install -y -f $ROOT/configs/istio/istio-minimal-operator.yaml

Actual Behaviour

The logging information of kubectl describe nodes contains

container runtime network not ready: networkready=false reason:networkpluginnotready message:network plugin returns error: cni plugin not initialized

I fix this issue via kubectl apply -f https://github.com/flannel-io/flannel/releases/latest/download/kube-flannel.yml.

After executing istioctl install -y -f $ROOT/configs/istio/istio-minimal-operator.yaml, it reports

✔ Istio core installed                                                                                                                      
- Processing resources for Istiod. Waiting for Deployment/istio-system/istiod                                                               

✘ Istiod encountered an error: failed to wait for resource: resources not ready after 5m0s: timed out waiting for the condition             
  Deployment/istio-system/istiod (container failed to start: ContainerCreating: )
✘ Ingress gateways encountered an error: failed to wait for resource: resources not ready after 5m0s: timed out waiting for the condition...
  Deployment/istio-system/cluster-local-gateway (container failed to start: ContainerCreating: )
  Deployment/istio-system/istio-ingressgateway (container failed to start: ContainerCreating: )
- Pruning removed resources    

Additional Info

My system information

NAME="Ubuntu"
![Screenshot 2023-05-18 at 19 13 01 (1)](https://github.com/eth-easl/loader/assets/16629752/fb27a090-5d70-40fd-bcd7-d4d2566f9fcb)

VERSION="20.04 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
ustiugov commented 1 year ago

@gaow0007 please close if not relevant anymore

leokondrashov commented 11 months ago

Fixed by commit to hy branch: https://github.com/vhive-serverless/vHive/commit/397e36c08a5b2d7b6609b1ad0a7ec06eaa805bc8