Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

creating service with ServiceGraphName annotation #1474

Open
z2mi opened this issue Dec 20, 2024 · 0 comments
Open

creating service with ServiceGraphName annotation #1474

z2mi opened this issue Dec 20, 2024 · 0 comments

Comments

@z2mi
Copy link

z2mi commented Dec 20, 2024

Hi,

I want to create kube service with this manifest :

apiVersion: v1
kind: Service
metadata:
  name: blue-service
  namespace: kuard
  annotations:
    opflex.cisco.com/lb-ipam-ips:  x.x.x.x
    opflex.cisco.com/ext_service_contract_scope: global
    opflex.cisco.com/service-graph-name: "present"
spec:
  selector:
    app: kuard-blue
  ports:
    - port: 80
      targetPort: 8080
      protocol: TCP
  type: LoadBalancer

and I am getting following error in controller pod :
Could not update dn uni/tn-<tenant>/brc-<tenant>_svc_kuard_blue-service" code=0 mod=APICAPI status=400 text="unknown attribute 'customSG' in element 'vzRsSubjGraphAtt'
and this error apparently caused by this method

I checked with APIC Object Store and there is no 'customSG' attribute in 'vzRsSubjGraphAtt' instances

before applying service manifest, I created Service Graph Template with node "loadbalancer" ( Device <tenant>_svc_global ) and also created contract <tenant>_svc_kuard-blue-service with "loadbalancedservice" as Subject and set mentioned Service Graph in it.

APIC firemware version : 6.1(1f)
Controller pod Image : quay.io/noiro/aci-containers-controller:6.1.1.1.81c2369

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

No branches or pull requests

1 participant