nginxinc/kic-reference-architectures

bug: errors finding kic_util

qdzlug opened this issue · 0 comments

Describe the bug
The following error is being thrown when we are trying to run the kubeconfig project:

[2022-05-12T13:55:57.166Z] 

[2022-05-12T13:55:57.166Z] #===========================================================================================#

[2022-05-12T13:55:57.166Z] #   ____     ___      _  __          _                                    _                 #

[2022-05-12T13:55:57.166Z] #  |  _ \   / _ \    | |/ /  _   _  | |__     ___   _ __   _ __     ___  | |_    ___   ___  #

[2022-05-12T13:55:57.166Z] #  | | | | | | | |   | ' /  | | | | | '_ \   / _ \ | '__| | '_ \   / _ \ | __|  / _ \ / __| #

[2022-05-12T13:55:57.166Z] #  | |_| | | |_| |   | . \  | |_| | | |_) | |  __/ | |    | | | | |  __/ | |_  |  __/ \__ \ #

[2022-05-12T13:55:57.166Z] #  |____/   \___/    |_|\_\  \__,_| |_.__/   \___| |_|    |_| |_|  \___|  \__|  \___| |___/ #

[2022-05-12T13:55:57.166Z] #                                                                                           #

[2022-05-12T13:55:57.166Z] #===========================================================================================#

[2022-05-12T13:55:57.166Z] 

[2022-05-12T13:55:57.166Z] 

[2022-05-12T13:55:57.434Z] Previewing update (marajenkdo23)

[2022-05-12T13:55:57.434Z] 

[2022-05-12T13:55:57.696Z] View Live: https://app.pulumi.com/qdzlug/do-k8s/marajenkdo23/previews/1838f20d-11c3-4443-9d21-60bc3dea1dd0

[2022-05-12T13:55:57.697Z] 

[2022-05-12T13:55:58.639Z] 

[2022-05-12T13:55:59.215Z]  +  pulumi:pulumi:Stack do-k8s-marajenkdo23 create 

[2022-05-12T13:55:59.215Z]  +  pulumi:pulumi:Stack do-k8s-marajenkdo23 create error: Program failed with an unhandled exception:

[2022-05-12T13:55:59.215Z]  +  pulumi:pulumi:Stack do-k8s-marajenkdo23 create error: Traceback (most recent call last):

[2022-05-12T13:55:59.215Z]  +  pulumi:pulumi:Stack do-k8s-marajenkdo23 create error: an unhandled error occurred: Program exited with non-zero exit code: 1

[2022-05-12T13:55:59.215Z]  +  pulumi:pulumi:Stack do-k8s-marajenkdo23 create 3 errors

[2022-05-12T13:55:59.215Z]  

[2022-05-12T13:55:59.215Z] Diagnostics:

[2022-05-12T13:55:59.215Z]   pulumi:pulumi:Stack (do-k8s-marajenkdo23):

[2022-05-12T13:55:59.215Z]     error: Program failed with an unhandled exception:

[2022-05-12T13:55:59.215Z]     error: Traceback (most recent call last):

[2022-05-12T13:55:59.215Z]       File "/jenkins/workspace/mara_do_prod/pulumi/python/venv/bin/pulumi-language-python-exec", line 107, in <module>

[2022-05-12T13:55:59.215Z]         loop.run_until_complete(coro)

[2022-05-12T13:55:59.215Z]       File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete

[2022-05-12T13:55:59.215Z]         return future.result()

[2022-05-12T13:55:59.215Z]       File "/jenkins/workspace/mara_do_prod/pulumi/python/venv/lib/python3.8/site-packages/pulumi/runtime/stack.py", line 126, in run_in_stack

[2022-05-12T13:55:59.215Z]         await run_pulumi_func(lambda: Stack(func))

[2022-05-12T13:55:59.215Z]       File "/jenkins/workspace/mara_do_prod/pulumi/python/venv/lib/python3.8/site-packages/pulumi/runtime/stack.py", line 49, in run_pulumi_func

[2022-05-12T13:55:59.215Z]         func()

[2022-05-12T13:55:59.215Z]       File "/jenkins/workspace/mara_do_prod/pulumi/python/venv/lib/python3.8/site-packages/pulumi/runtime/stack.py", line 126, in <lambda>

[2022-05-12T13:55:59.215Z]         await run_pulumi_func(lambda: Stack(func))

[2022-05-12T13:55:59.215Z]       File "/jenkins/workspace/mara_do_prod/pulumi/python/venv/lib/python3.8/site-packages/pulumi/runtime/stack.py", line 149, in __init__

[2022-05-12T13:55:59.215Z]         func()

[2022-05-12T13:55:59.215Z]       File "/jenkins/workspace/mara_do_prod/pulumi/python/venv/bin/pulumi-language-python-exec", line 106, in <lambda>

[2022-05-12T13:55:59.215Z]         coro = pulumi.runtime.run_in_stack(lambda: runpy.run_path(args.PROGRAM, run_name='__main__'))

[2022-05-12T13:55:59.215Z]       File "/usr/lib/python3.8/runpy.py", line 282, in run_path

[2022-05-12T13:55:59.215Z]         return _run_code(code, mod_globals, init_globals,

[2022-05-12T13:55:59.215Z]       File "/usr/lib/python3.8/runpy.py", line 87, in _run_code

[2022-05-12T13:55:59.215Z]         exec(code, run_globals)

[2022-05-12T13:55:59.215Z]       File "/jenkins/workspace/mara_do_prod/pulumi/python/infrastructure/digitalocean/domk8s/./__main__.py", line 3, in <module>

[2022-05-12T13:55:59.215Z]         from kic_util import pulumi_config

[2022-05-12T13:55:59.215Z]     ModuleNotFoundError: No module named 'kic_util'

[2022-05-12T13:55:59.215Z]     error: an unhandled error occurred: Program exited with non-zero exit code: 1

This could potentially be tied to #144 since it surfaced on merge.

To Reproduce
Steps to reproduce the behavior:

  1. Attempt to deploy on any K8 distro.

Expected behavior
Deployment should succeed.

Your environment

  • n/a

Additional context
None