publish-deployer-to-registry command flames out #940

Open
opened 2024-08-28 17:02:55 +00:00 by zramsay · 6 comments
Member
laconic-so publish-deployer-to-registry --laconic-config ~/.laconic/laconic.yml --api-url https://webapp-deployer-api.pwa.realitynetwork.store --public-key-file ~/.gnupg/pubring.kbx --lrn lrn://laconic/deployers/webapp-deployer-api.pwa.realitynetwork.store --payment-address laconic13eq42rat3aurnfj6pu32yl00zyhl8sent97efe --min-required-payment 10
record:
  apiUrl: https://webapp-deployer-api.pwa.realitynetwork.store
  minimumPayment: 10alnt
  name: webapp-deployer-api.pwa.realitynetwork.store
  paymentAddress: laconic13eq42rat3aurnfj6pu32yl00zyhl8sent97efe
  publicKey: AAAAIAEBAAJLQlhmAAAAAGa7iqJmu4qiAAAAAAAAAAAAAAd8AgEAAAAAAH4AAAbqAAIAHE6Azg6JrWypO3tLGjlCr93uxKJjAAAAIAAAAADQmlRzWGI02ZHrVyaVdQ4D1drstQAAADwAAAAAAAAAAQAMAAACHgAAAA8AAAAAAAIABAAAAAAAAAAAAAAAAAAAAAAAAAAAZruK/wAAAACZAY0EZruK7gEMAMjyjx9Fg9+5180l3/oCjyVKrPyZ2B7/dl9WX+19yOWq/jH8Rxnwfea6sTpnpZXGcVlxsF3FVytrJboP15Ubx+zbuGNJuDGIkZn6uvJVTGdLs3Q4sap7qwmibBnJ9BSzTqeOZNMM8FjWkSNY68mzOANk8QXnMbTBxPQtB0l4YkjYkSeJOcMC3+jLiU44Q1pQ5GAkryCayU7ydnmlCPRq/tUyj3QBVGIposhh24QQhz3ylGpyfD7FdRotCJAga4xPK7y+Kuc+ANJpRETVjP6z2ne6A6MtlEP+eS7+bWrBONmS+0T3dewkSuWGAHMyKld+7Spm4/TnUdlrjhvsUnW0jXTifCns7da2lUPx6Yli8epBa+pUw0Ju6NHtCUwzfQVIBXh7HLc7hyOEO+sAYNu3QqKtyC3Mt7yemsW4p6MovaWJYuSOgdn0cdzNCkQQ30UY0S4l9FnzaUjTEEOYhcFxpEq3D2vXouav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yYsD/0OKeHnav+FLSXc9KZIOVNRZvjh8Fqt3usc4FZV8Z77H+mH6+QDStMj+FH4i51m+Cz0tfczoFd8cbNjMhXkAr/nPUTh5Yk7/UiN8jDlhJCaXZjkddx4PHcyylyQfSpDF+kqdWzYYJ/ZwfANaWzdD8VfPhXHt6ApNI7ZqSDwARAQABiQG2BBgBCgAgFiEEToDODomtbKk7e0saOUKv3e7EomMFAma7iu4CGwwACgkQOUKv3e7EomOKVAv/Zmli8LsEnnrqAGV7U0BGVX1K8lWPZXS/wN7ltL5M9tACj8gzpoWdny+7QekFSjFuMQNleDwfIEltNWlIrI4DdB7FBSUUkaKeAeGiDZOfeTu2LAxBmzeZPNYVNRNjhH1RrTwwYukhccOGy9o8InBlhtx4drbkEDjUN2ToJNPxapyX29gSFZ30mobUfi7oMaK07pm1kgBOQjp7HLKprvaOM3vhTittINel22LB5H6AMbaevH8OKxhXxRWZxanWDfYvYxlxo8Nmi2lLvBMSm4csmLSBwTvIEB9UsqTRpos0J0qJHh/1kUu4j5VXzGeMXVqDNDlejCu3UmY6zBiRUCewcM9pzGrtqLaivwCHNsLblsyk/VX5iGQVMSuhGr4Q/M4MRygaOecpHAe9QsZM81UGiZv6NaN/CgA0vzzp1wDAyFzv8mYQZ4MlAdjPM0lqMYJ8f//jUp9oZleErYV53yD5HvAhrVTkvxph8+OB55btk9ZWyc9Ne8tfLnqYtHPs/fVOsAYAAGdwZwA8W9g5ZzlfGvCun+Ij7HDeqbOhqw==
  type: WebappDeployer
  version: 1.0.0

[Errno 2] No such file or directory: 'laconic'
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/root/bin/laconic-so/__main__.py", line 3, in <module>
  File "/root/bin/laconic-so/_bootstrap/__init__.py", line 253, in bootstrap
  File "/root/bin/laconic-so/_bootstrap/__init__.py", line 38, in run
  File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/click/decorators.py", line 33, in new_func
    return f(get_current_context(), *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/stack_orchestrator/deploy/webapp/publish_webapp_deployer.py", line 91, in command
    laconic.publish(webapp_deployer_record, [lrn])
  File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/stack_orchestrator/deploy/webapp/util.py", line 413, in publish
    logged_cmd(
  File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/stack_orchestrator/deploy/webapp/util.py", line 74, in logged_cmd
    raise err
  File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/stack_orchestrator/deploy/webapp/util.py", line 66, in logged_cmd
    result = subprocess.run(vargs, capture_output=True)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 548, in run
    with Popen(*popenargs, **kwargs) as process:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.12/subprocess.py", line 1955, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'laconic'
``` laconic-so publish-deployer-to-registry --laconic-config ~/.laconic/laconic.yml --api-url https://webapp-deployer-api.pwa.realitynetwork.store --public-key-file ~/.gnupg/pubring.kbx --lrn lrn://laconic/deployers/webapp-deployer-api.pwa.realitynetwork.store --payment-address laconic13eq42rat3aurnfj6pu32yl00zyhl8sent97efe --min-required-payment 10 record: apiUrl: https://webapp-deployer-api.pwa.realitynetwork.store minimumPayment: 10alnt name: webapp-deployer-api.pwa.realitynetwork.store paymentAddress: laconic13eq42rat3aurnfj6pu32yl00zyhl8sent97efe publicKey: AAAAIAEBAAJLQlhmAAAAAGa7iqJmu4qiAAAAAAAAAAAAAAd8AgEAAAAAAH4AAAbqAAIAHE6Azg6JrWypO3tLGjlCr93uxKJjAAAAIAAAAADQmlRzWGI02ZHrVyaVdQ4D1drstQAAADwAAAAAAAAAAQAMAAACHgAAAA8AAAAAAAIABAAAAAAAAAAAAAAAAAAAAAAAAAAAZruK/wAAAACZAY0EZruK7gEMAMjyjx9Fg9+5180l3/oCjyVKrPyZ2B7/dl9WX+19yOWq/jH8Rxnwfea6sTpnpZXGcVlxsF3FVytrJboP15Ubx+zbuGNJuDGIkZn6uvJVTGdLs3Q4sap7qwmibBnJ9BSzT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8+OB55btk9ZWyc9Ne8tfLnqYtHPs/fVOsAYAAGdwZwA8W9g5ZzlfGvCun+Ij7HDeqbOhqw== type: WebappDeployer version: 1.0.0 [Errno 2] No such file or directory: 'laconic' Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/root/bin/laconic-so/__main__.py", line 3, in <module> File "/root/bin/laconic-so/_bootstrap/__init__.py", line 253, in bootstrap File "/root/bin/laconic-so/_bootstrap/__init__.py", line 38, in run File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/click/core.py", line 1157, in __call__ return self.main(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/click/core.py", line 1078, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/click/core.py", line 1688, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/click/core.py", line 1434, in invoke return ctx.invoke(self.callback, **ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/click/core.py", line 783, in invoke return __callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/click/decorators.py", line 33, in new_func return f(get_current_context(), *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/stack_orchestrator/deploy/webapp/publish_webapp_deployer.py", line 91, in command laconic.publish(webapp_deployer_record, [lrn]) File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/stack_orchestrator/deploy/webapp/util.py", line 413, in publish logged_cmd( File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/stack_orchestrator/deploy/webapp/util.py", line 74, in logged_cmd raise err File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/stack_orchestrator/deploy/webapp/util.py", line 66, in logged_cmd result = subprocess.run(vargs, capture_output=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/subprocess.py", line 548, in run with Popen(*popenargs, **kwargs) as process: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/subprocess.py", line 1026, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.12/subprocess.py", line 1955, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'laconic' ```
Author
Member

by skipping that command, the deployer itself flames out:

│     return _run_code(code, main_globals, None,                                                                                                                                                                 │
│   File "/usr/lib/python3.10/runpy.py", line 86, in _run_code                                                                                                                                                   │
│     exec(code, run_globals)                                                                                                                                                                                    │
│   File "/usr/bin/laconic-so/__main__.py", line 3, in <module>                                                                                                                                                  │
│   File "/usr/bin/laconic-so/_bootstrap/__init__.py", line 253, in bootstrap                                                                                                                                    │
│   File "/usr/bin/laconic-so/_bootstrap/__init__.py", line 38, in run                                                                                                                                           │
│   File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/click/core.py", line 1157, in __call__                                                           │
│     return self.main(*args, **kwargs)                                                                                                                                                                          │
│   File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/click/core.py", line 1078, in main                                                               │
│     rv = self.invoke(ctx)                                                                                                                                                                                      │
│   File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/click/core.py", line 1688, in invoke                                                             │
│     return _process_result(sub_ctx.command.invoke(sub_ctx))                                                                                                                                                    │
│   File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/click/core.py", line 1434, in invoke                                                             │
│     return ctx.invoke(self.callback, **ctx.params)                                                                                                                                                             │
│   File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/click/core.py", line 783, in invoke                                                              │
│     return __callback(*args, **kwargs)                                                                                                                                                                         │
│   File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/click/decorators.py", line 33, in new_func                                                       │
│     return f(get_current_context(), *args, **kwargs)                                                                                                                                                           │
│   File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/stack_orchestrator/deploy/webapp/deploy_webapp_from_registry.py", line 429, in command           │
│     result = gpg.import_keys(open(private_key_file, "rb").read())                                                                                                                                              │
│ FileNotFoundError: [Errno 2] No such file or directory: ''                                                                                                                                                     │
│ ############ DEPLOY FAILURE STATUS 1 #############  
by skipping that command, the deployer itself flames out: ``` │ return _run_code(code, main_globals, None, │ │ File "/usr/lib/python3.10/runpy.py", line 86, in _run_code │ │ exec(code, run_globals) │ │ File "/usr/bin/laconic-so/__main__.py", line 3, in <module> │ │ File "/usr/bin/laconic-so/_bootstrap/__init__.py", line 253, in bootstrap │ │ File "/usr/bin/laconic-so/_bootstrap/__init__.py", line 38, in run │ │ File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/click/core.py", line 1157, in __call__ │ │ return self.main(*args, **kwargs) │ │ File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/click/core.py", line 1078, in main │ │ rv = self.invoke(ctx) │ │ File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/click/core.py", line 1688, in invoke │ │ return _process_result(sub_ctx.command.invoke(sub_ctx)) │ │ File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/click/core.py", line 1434, in invoke │ │ return ctx.invoke(self.callback, **ctx.params) │ │ File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/click/core.py", line 783, in invoke │ │ return __callback(*args, **kwargs) │ │ File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/click/decorators.py", line 33, in new_func │ │ return f(get_current_context(), *args, **kwargs) │ │ File "/root/.shiv/laconic-so_1a67a47e9888bc257829903080b0d1417ffec96f642a307dad99faa473e0c659/site-packages/stack_orchestrator/deploy/webapp/deploy_webapp_from_registry.py", line 429, in command │ │ result = gpg.import_keys(open(private_key_file, "rb").read()) │ │ FileNotFoundError: [Errno 2] No such file or directory: '' │ │ ############ DEPLOY FAILURE STATUS 1 ############# ```
Member

Do you have the laconic CLI installed? It has always been required for registry-related SO commands.

On the second one, what are you passing for --private-key-file? It is a required flag, so presumably it has a value, but the error message has: '', which is odd.

Do you have the laconic CLI installed? It has always been required for registry-related SO commands. On the second one, what are you passing for --private-key-file? It is a required flag, so presumably it has a value, but the error message has: '', which is odd.
Member

This is the current command from run.sh:

  laconic-so deploy-webapp-from-registry \
    --kube-config /etc/config/kube.yml \
    --laconic-config /etc/config/laconic.yml \
    --image-registry ${IMAGE_REGISTRY} \
    --deployment-parent-dir "${DEPLOYMENTS_DIR}" \
    --dns-suffix ${DEPLOYMENT_DNS_SUFFIX} \
    --record-namespace-dns lrn://${DEPLOYMENT_RECORD_NAMESPACE}/dns \
    --record-namespace-deployments lrn://${DEPLOYMENT_RECORD_NAMESPACE}/deployments \
    --state-file "${DEPLOYMENTS_DIR}/autodeploy.state" \
    --include-tags "$INCLUDE_TAGS" \
    --exclude-tags "$EXCLUDE_TAGS" \
    --fqdn-policy "${FQDN_POLICY:-prohibit}" \
    --lrn "$LRN" \
    --min-required-payment ${MIN_REQUIRED_PAYMENT:-0} \
    --config-upload-dir "$UPLOAD_DIRECTORY" \
    --private-key-file "$OPENPGP_PRIVATE_KEY_FILE" \
    --private-key-passphrase "$OPENPGP_PASSPHRASE" \
    $LOG_OPTS \
    $EXTRA_DEPLOY_OPTS \
    $UPDATE_OPTS \
    --discover

These flags are all new, and all required:

    --lrn "$LRN" \
    --min-required-payment ${MIN_REQUIRED_PAYMENT:-0} \
    --config-upload-dir "$UPLOAD_DIRECTORY" \
    --private-key-file "$OPENPGP_PRIVATE_KEY_FILE" \
    --private-key-passphrase "$OPENPGP_PASSPHRASE" \
This is the current command from run.sh: ``` laconic-so deploy-webapp-from-registry \ --kube-config /etc/config/kube.yml \ --laconic-config /etc/config/laconic.yml \ --image-registry ${IMAGE_REGISTRY} \ --deployment-parent-dir "${DEPLOYMENTS_DIR}" \ --dns-suffix ${DEPLOYMENT_DNS_SUFFIX} \ --record-namespace-dns lrn://${DEPLOYMENT_RECORD_NAMESPACE}/dns \ --record-namespace-deployments lrn://${DEPLOYMENT_RECORD_NAMESPACE}/deployments \ --state-file "${DEPLOYMENTS_DIR}/autodeploy.state" \ --include-tags "$INCLUDE_TAGS" \ --exclude-tags "$EXCLUDE_TAGS" \ --fqdn-policy "${FQDN_POLICY:-prohibit}" \ --lrn "$LRN" \ --min-required-payment ${MIN_REQUIRED_PAYMENT:-0} \ --config-upload-dir "$UPLOAD_DIRECTORY" \ --private-key-file "$OPENPGP_PRIVATE_KEY_FILE" \ --private-key-passphrase "$OPENPGP_PASSPHRASE" \ $LOG_OPTS \ $EXTRA_DEPLOY_OPTS \ $UPDATE_OPTS \ --discover ``` These flags are all new, and all required: ``` --lrn "$LRN" \ --min-required-payment ${MIN_REQUIRED_PAYMENT:-0} \ --config-upload-dir "$UPLOAD_DIRECTORY" \ --private-key-file "$OPENPGP_PRIVATE_KEY_FILE" \ --private-key-passphrase "$OPENPGP_PASSPHRASE" \ ```
Author
Member

gpg --export my_key_name > mykey.pub and gpg --export-secret-keys my_key_name > mykey.key

`gpg --export my_key_name > mykey.pub` and `gpg --export-secret-keys my_key_name > mykey.key`
Author
Member

ONLY_NEW_REQUESTS=true and --only-update-state

`ONLY_NEW_REQUESTS=true` and `--only-update-state`
Author
Member

UPLOAD_DIRECTORY="/srv/uploads"

UPLOAD_DIRECTORY="/srv/uploads"
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/stack-orchestrator#940
No description provided.