Skip to content

Deployment to truenas 25.10 fail with certificate_create.passphrase: String should have at least 1 characte #6592

@Horlogrium

Description

@Horlogrium

I think there as been a change on the python API client in the truenas update 25.10 which cause the deployment to not work anymore.

I have the following error :

Traceback (most recent call last):
  File "<stdin>", line 16, in <module>
  File "/usr/lib/python3/dist-packages/truenas_api_client/__init__.py", line 810, in call
    return self.wait(c, callback=callback, job=job, timeout=timeout,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/truenas_api_client/__init__.py", line 863, in wait
    return jobobj.result()
           ^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/truenas_api_client/__init__.py", line 347, in result
    raise ValidationErrors(job['exc_info']['extra'] or [])
truenas_api_client.exc.ValidationErrors: [EINVAL] certificate_create.passphrase: String should have at least 1 character

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions