openconfig / kne

Apache License 2.0
214 stars 64 forks source link

Pods in pending state #285

Closed jasrikmsft closed 1 year ago

jasrikmsft commented 1 year ago

I installed kne as per document and tried to deploy nokia 2srl-certs topology. It has been on pending state for 15 minutes. am i missing something? this is the message i get;

INFO[0002] Node "r2" resource created INFO[0002] r1 - generating self signed certs INFO[0002] r1 - waiting for pod to be running

alexmasi commented 1 year ago

Not sure if you have already but I would suggest taking a look at the troubleshooting guide: https://github.com/openconfig/kne/blob/main/docs/troubleshoot.md

If you cannot find a solution after going through that guide then please post more details (the pod logs, etc.)

jasrikmsft commented 1 year ago

Thank you. checked the logs and it was insufficient cpu. deleted some namespaces and worked fine.

Is there any other documentation available? which are the vendors supported right now? can we get the container image from any vendor and deploy through kne?

alexmasi commented 1 year ago

the examples dir show examples with other vendors: https://github.com/openconfig/kne/tree/main/examples

currently we support cisco, arista, nokia, and juniper (along with keysight ixia for traffic gen)

you'll have to reach out to each vendor to access their containers (besides nokia which the un-licensed version is open sourced)

jasrikmsft commented 1 year ago

Hi Alex,

Thanks for the response.

I am trying to create a topoogy for the arista device from exaples folder and getting the following error. Looks like access denied error while accessing the container. I created an user account in arista portal. How do i fix this access error?

Events: Type Reason Age From Message


Normal Scheduled 97s default-scheduler Successfully assigned ceos/r1 to kne-control-plane Normal Pulled 97s kubelet Container image "networkop/init-wait:latest" already present on machine Normal Created 97s kubelet Created container init-r1 Normal Started 97s kubelet Started container init-r1 Normal Pulling 41s (x3 over 82s) kubelet Pulling image "ceos:latest" Warning Failed 40s (x3 over 80s) kubelet Failed to pull image "ceos:latest": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/library/ceos:latest": failed to resolve reference "docker.io/library/ceos:latest": pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed Warning Failed 40s (x3 over 80s) kubelet Error: ErrImagePull Normal BackOff 12s (x3 over 56s) kubelet Back-off pulling image "ceos:latest" Warning Failed 12s (x3 over 56s) kubelet Error: ImagePullBackOff

Thanks, Jaya

Sent from Outlookhttp://aka.ms/weboutlook


From: Alex Masi @.> Sent: Tuesday, January 10, 2023 1:01 AM To: openconfig/kne @.> Cc: Jaya Srikanth @.>; Author @.> Subject: Re: [openconfig/kne] Pods in pending state (Issue #285)

the examples dir show examples with other vendors: https://github.com/openconfig/kne/tree/main/exampleshttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenconfig%2Fkne%2Ftree%2Fmain%2Fexamples&data=05%7C01%7Cjasrik%40microsoft.com%7C1721287585a64717089c08daf2e938b5%7C72f988bf86f141af91ab2d7cd011db47%7C0%7C0%7C638089380739900811%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=cWQ9fhCu7Qs%2Bc2hbLqz75n0sEuga9%2FTb%2BW2yRX2A3NQ%3D&reserved=0

currently we support cisco, arista, nokia, and juniper (along with keysight ixia for traffic gen)

you'll have to reach out to each vendor to access their containers (besides nokia which the un-licensed version is open sourced)

— Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenconfig%2Fkne%2Fissues%2F285%23issuecomment-1376932346&data=05%7C01%7Cjasrik%40microsoft.com%7C1721287585a64717089c08daf2e938b5%7C72f988bf86f141af91ab2d7cd011db47%7C0%7C0%7C638089380739900811%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=8oqw2xrC6AfZ8OSMfVpNWBZxySUwqfFta9MaY9hIaJE%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAV5MBYY27KYD3Z3Y4LIUVVDWRUQNPANCNFSM6AAAAAATV6RE24&data=05%7C01%7Cjasrik%40microsoft.com%7C1721287585a64717089c08daf2e938b5%7C72f988bf86f141af91ab2d7cd011db47%7C0%7C0%7C638089380739900811%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=eOxiVfi9X868EeU1RSdwX2zV20Q%2BxRSozjrTcehT%2FDk%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>

alexmasi commented 1 year ago

This error message is indicating that ceos:latest cannot be found on dockerhub. You'll have to first docker pull the image from arista's portal and then load it into the kind cluster as ceos:latest. See the docs here: https://github.com/openconfig/kne/blob/main/docs/create_topology.md#container-images