Frostfsid subject creation failed with persistent morph chain #77

Closed
opened 2024-08-19 08:57:53 +00:00 by Phaseant · 2 comments

After commit d03be14312da6b1bd2f5bcbb113c4594eeaff258, when subject creation was added error occurs while restarting dev env with persistent morph chain

Expected Behavior

idempotent subject creation

Current Behavior

Subject key: 031a6c6fbbdf02ca351745fa86b9ba5a9452d785ac4f7fc2b7548ca2a46c4fcf4a
create subject: could not perform test invocation: script failed (FAULT state) due to an error: at instruction 612 (THROW): unhandled exception: "subject already exists"
: Failed to create subject for the wallet

Steps to Reproduce (for bugs)

  1. Add persistant volume to services/morph_chain/docker-compose.yml
services:
  frostfs_morph_chain:
    volumes:
      ...
      - basenet_store:/db

volumes:
  basenet_store:
  1. Default dev env launch
  2. make down
  3. make up

Your Environment

  • Version used: commit ae658469a5d44191e51df539054b3f0367bfdb73
After commit `d03be14312da6b1bd2f5bcbb113c4594eeaff258`, when subject creation was added error occurs while restarting dev env with persistent morph chain ## Expected Behavior idempotent subject creation ## Current Behavior ``` Subject key: 031a6c6fbbdf02ca351745fa86b9ba5a9452d785ac4f7fc2b7548ca2a46c4fcf4a create subject: could not perform test invocation: script failed (FAULT state) due to an error: at instruction 612 (THROW): unhandled exception: "subject already exists" : Failed to create subject for the wallet ``` ## Steps to Reproduce (for bugs) 1. Add persistant volume to `services/morph_chain/docker-compose.yml` ``` services: frostfs_morph_chain: volumes: ... - basenet_store:/db volumes: basenet_store: ``` 2. Default dev env launch 3. `make down` 4. `make up` ## Your Environment * Version used: commit `ae658469a5d44191e51df539054b3f0367bfdb73`
Phaseant added the
bug
label 2024-08-19 08:57:53 +00:00
Owner

Please, see the fix in #70

Please, see the fix in https://git.frostfs.info/TrueCloudLab/frostfs-dev-env/pulls/70
Owner

Closed via #70

Closed via #70
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: TrueCloudLab/frostfs-dev-env#77
No description provided.