SlideRuleEarth / sliderule-prov-sys

Provisioning System for Slide Rule clusters
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Failed to create new organization when version was changed #41

Closed cugarteblair closed 1 year ago

cugarteblair commented 1 year ago
PastedGraphic-1-2

2023-01-25T14:39:55.674-05:00 | [2023-01-25 19:39:55,674] [INFO] [views.py:783:ajaxNewOrgAccount] [POST] | slideruleearth-ps-web/slideruleearth-ps-web/59ef17266ba5415e83c2c5bbd990b5de   | 2023-01-25T14:39:55.749-05:00 | [2023-01-25 19:39:55,748] [INFO] [views.py:793:ajaxNewOrgAccount] [utexas] | slideruleearth-ps-web/slideruleearth-ps-web/59ef17266ba5415e83c2c5bbd990b5de   | 2023-01-25T14:39:55.788-05:00 | [2023-01-25:19:39:55] [INFO] [ps_server.py:923:InitOrgs] [utexas v2] | slideruleearth-ps-server/slideruleearth-ps-server/8f1c3e0da2804958b014b755bc92e0d6   | 2023-01-25T14:39:55.805-05:00 | [2023-01-25:19:39:55] [INFO] [ps_server.py:230:create_env_for_org] [namespace terrform directory with:/ps_server/utexas/terraform and load terraform files from cluster's version:v2] | slideruleearth-ps-server/slideruleearth-ps-server/8f1c3e0da2804958b014b755bc92e0d6   | 2023-01-25T14:39:55.882-05:00 | [2023-01-25:19:39:55] [INFO] [ps_server.py:198:download_s3_folder] [downloaded provisioning_system/cluster_tf_versions/v2 ?:False] | slideruleearth-ps-server/slideruleearth-ps-server/8f1c3e0da2804958b014b755bc92e0d6   | 2023-01-25T14:39:55.884-05:00 | [2023-01-25:19:39:55] [INFO] [ps_server.py:237:create_env_for_org] [created /ps_server/utexas/terraform with provisioning_system/cluster_tf_versions/v2 ?:False] | slideruleearth-ps-server/slideruleearth-ps-server/8f1c3e0da2804958b014b755bc92e0d6   | 2023-01-25T14:39:55.891-05:00 | [2023-01-25:19:39:55] [ERROR] [ps_server.py:117:check_initialize_org] [FAILED to intialize:org_name: "utexas" | slideruleearth-ps-server/slideruleearth-ps-server/8f1c3e0da2804958b014b755bc92e0d6   | 2023-01-25T14:39:55.891-05:00 | version: "v2" | slideruleearth-ps-server/slideruleearth-ps-server/8f1c3e0da2804958b014b755bc92e0d6   | 2023-01-25T14:39:55.891-05:00 | ] | slideruleearth-ps-server/slideruleearth-ps-server/8f1c3e0da2804958b014b755bc92e0d6   | 2023-01-25T14:39:55.891-05:00 | [2023-01-25:19:39:55] [ERROR] [ps_server.py:932:InitOrgs] [ initialization FAILED for utexas] | slideruleearth-ps-server/slideruleearth-ps-server/8f1c3e0da2804958b014b755bc92e0d6   | 2023-01-25T14:39:55.892-05:00 | [2023-01-25 19:39:55,892] [INFO] [views.py:813:ajaxNewOrgAccount] [org_name: "orgs {\n org_name: \"utexas\"\n version: \"v2\"\n}\n" | slideruleearth-ps-web/slideruleearth-ps-web/59ef17266ba5415e83c2c5bbd990b5de   | 2023-01-25T14:39:55.892-05:00 | error_msg: " initialization FAILED for utexas" | slideruleearth-ps-web/slideruleearth-ps-web/59ef17266ba5415e83c2c5bbd990b5de   | 2023-01-25T14:39:55.892-05:00 | ] | slideruleearth-ps-web/slideruleearth-ps-web/59ef17266ba5415e83c2c5bbd990b5de   | 2023-01-25T14:39:55.892-05:00 | [2023-01-25 19:39:55,892] [ERROR] [views.py:839:ajaxNewOrgAccount] [FAILED to add org/cluster; ps_server ERROR: initialization FAILED for utexas] | slideruleearth-ps-web/slideruleearth-ps-web/59ef17266ba5415e83c2c5bbd990b5de   | 2023-01-25T14:39:55.897-05:00 | [2023-01-25 19:39:55,897] [ERROR] [log.py:241:log_response] [Internal Server Error: /ajax_new_org_account/] | slideruleearth-ps-web/slideruleearth-ps-web/59ef17266ba5415e83c2c5bbd990b5de  

cugarteblair commented 1 year ago

The new org processing is using the legacy bucket to download from to verify the instantiation of an org. it should use this:

image
cugarteblair commented 1 year ago

The new org creation was simplified

cugarteblair commented 1 year ago

This was fixed in v2.0.4