Skip to content

Instantly share code, notes, and snippets.

@ethanholen-hpe
Created December 17, 2024 21:48
Show Gist options
  • Save ethanholen-hpe/a71ec93499339931d7ece757f2eacfdd to your computer and use it in GitHub Desktop.
Save ethanholen-hpe/a71ec93499339931d7ece757f2eacfdd to your computer and use it in GitHub Desktop.
ncn-m001:~/eholen # sat --version
sat 3.33.5
ncn-m001:~/eholen # cat blank_rootfs.yaml
session_templates:
- name: eholen-valid-example-session-template
image:
ims:
name: compute-uss-1.2.0-95-csm.x86_64-qe-iscsi1
configuration: uan-25.1.0-alpha-20241019174014-8f492eb-update-csm-1.6.0-rc.2
bos_parameters:
boot_sets:
compute:
arch: X86
kernel_parameters: ip=dhcp quiet
node_roles_groups:
- Compute
rootfs_provider: cpss3
rootfs_provider_passthrough: dvs:api-gw-service-nmn.local:300:nmn0
- name: eholen-both-empty-example-session-template
image:
ims:
name: compute-uss-1.2.0-95-csm.x86_64-qe-iscsi1
configuration: uan-25.1.0-alpha-20241019174014-8f492eb-update-csm-1.6.0-rc.2
bos_parameters:
boot_sets:
compute:
arch: X86
kernel_parameters: ip=dhcp quiet
node_roles_groups:
- Compute
rootfs_provider: ""
rootfs_provider_passthrough: ""
- name: eholen-both-None-example-session-template
image:
ims:
name: compute-uss-1.2.0-95-csm.x86_64-qe-iscsi1
configuration: uan-25.1.0-alpha-20241019174014-8f492eb-update-csm-1.6.0-rc.2
bos_parameters:
boot_sets:
compute:
arch: X86
kernel_parameters: ip=dhcp quiet
node_roles_groups:
- Compute
rootfs_provider: cpss3
rootfs_provider_passthrough: ""
- name: eholen-provider-empty-example-session-template
image:
ims:
name: compute-uss-1.2.0-95-csm.x86_64-qe-iscsi1
configuration: uan-25.1.0-alpha-20241019174014-8f492eb-update-csm-1.6.0-rc.2
bos_parameters:
boot_sets:
compute:
arch: X86
kernel_parameters: ip=dhcp quiet
node_roles_groups:
- Compute
rootfs_provider: cpss3
rootfs_provider_passthrough: dvs:api-gw-service-nmn.local:300:nmn0
uan:
arch: X86
kernel_parameters: ip=dhcp quiet
node_roles_groups:
- Compute
rootfs_provider: ""
rootfs_provider_passthrough: dvs:api-gw-service-nmn.local:300:nmn0
- name: eholen-no-rootfs-provider-example-session-template
image:
ims:
name: compute-uss-1.2.0-95-csm.x86_64-qe-iscsi1
configuration: uan-25.1.0-alpha-20241019174014-8f492eb-update-csm-1.6.0-rc.2
bos_parameters:
boot_sets:
compute:
arch: X86
kernel_parameters: ip=dhcp quiet
node_roles_groups:
- Compute
rootfs_provider: cpss3
rootfs_provider_passthrough: dvs:api-gw-service-nmn.local:300:nmn0
uan:
arch: X86
kernel_parameters: ip=dhcp quiet
node_roles_groups:
- Compute
ncn-m001:~/eholen # sat bootprep run --dry-run blank_rootfs.yaml
INFO: Validating given input file blank_rootfs.yaml
INFO: Input file successfully validated against schema
INFO: Nothing to create in collection of CFS configurations
INFO: Given input did not define any IMS images
ERROR: An error occurred while querying configuration uan-25.1.0-alpha-20241019174014-8f492eb-update-csm-1.6.0-rc.2: GET request to URL 'https://api-gw-service-nmn.local/apis/cfs/v3/configurations/uan-25.1.0-alpha-20241019174014-8f492eb-update-csm-1.6.0-rc.2' failed with status code 400: Bad Request. Bad Request Detail: 'uan-25.1.0-alpha-20241019174014-8f492eb-update-csm-1.6.0-rc.2' is too long
ERROR:
ERROR: Failed validating 'maxLength' in schema:
ERROR: {'maxLength': 60, 'minLength': 1, 'type': 'string'}
ERROR:
ERROR: On instance:
ERROR: 'uan-25.1.0-alpha-20241019174014-8f492eb-update-csm-1.6.0-rc.2'
ERROR: No image with name compute-uss-1.2.0-95-csm.x86_64-qe-iscsi1 exists for use by BOS session template at index 0.
ERROR: The BOS session template at index 0 is not valid. See errors above.
ERROR: An error occurred while querying configuration uan-25.1.0-alpha-20241019174014-8f492eb-update-csm-1.6.0-rc.2: GET request to URL 'https://api-gw-service-nmn.local/apis/cfs/v3/configurations/uan-25.1.0-alpha-20241019174014-8f492eb-update-csm-1.6.0-rc.2' failed with status code 400: Bad Request. Bad Request Detail: 'uan-25.1.0-alpha-20241019174014-8f492eb-update-csm-1.6.0-rc.2' is too long
ERROR:
ERROR: Failed validating 'maxLength' in schema:
ERROR: {'maxLength': 60, 'minLength': 1, 'type': 'string'}
ERROR:
ERROR: On instance:
ERROR: 'uan-25.1.0-alpha-20241019174014-8f492eb-update-csm-1.6.0-rc.2'
ERROR: No image with name compute-uss-1.2.0-95-csm.x86_64-qe-iscsi1 exists for use by BOS session template at index 1.
ERROR: The value of rootfs_provider for boot set compute cannot be an empty string
ERROR: The value of rootfs_provider_passthrough for boot set compute cannot be an empty string
ERROR: The BOS session template at index 1 is not valid. See errors above.
ERROR: An error occurred while querying configuration uan-25.1.0-alpha-20241019174014-8f492eb-update-csm-1.6.0-rc.2: GET request to URL 'https://api-gw-service-nmn.local/apis/cfs/v3/configurations/uan-25.1.0-alpha-20241019174014-8f492eb-update-csm-1.6.0-rc.2' failed with status code 400: Bad Request. Bad Request Detail: 'uan-25.1.0-alpha-20241019174014-8f492eb-update-csm-1.6.0-rc.2' is too long
ERROR:
ERROR: Failed validating 'maxLength' in schema:
ERROR: {'maxLength': 60, 'minLength': 1, 'type': 'string'}
ERROR:
ERROR: On instance:
ERROR: 'uan-25.1.0-alpha-20241019174014-8f492eb-update-csm-1.6.0-rc.2'
ERROR: No image with name compute-uss-1.2.0-95-csm.x86_64-qe-iscsi1 exists for use by BOS session template at index 2.
ERROR: The value of rootfs_provider_passthrough for boot set compute cannot be an empty string
ERROR: The BOS session template at index 2 is not valid. See errors above.
ERROR: An error occurred while querying configuration uan-25.1.0-alpha-20241019174014-8f492eb-update-csm-1.6.0-rc.2: GET request to URL 'https://api-gw-service-nmn.local/apis/cfs/v3/configurations/uan-25.1.0-alpha-20241019174014-8f492eb-update-csm-1.6.0-rc.2' failed with status code 400: Bad Request. Bad Request Detail: 'uan-25.1.0-alpha-20241019174014-8f492eb-update-csm-1.6.0-rc.2' is too long
ERROR:
ERROR: Failed validating 'maxLength' in schema:
ERROR: {'maxLength': 60, 'minLength': 1, 'type': 'string'}
ERROR:
ERROR: On instance:
ERROR: 'uan-25.1.0-alpha-20241019174014-8f492eb-update-csm-1.6.0-rc.2'
ERROR: No image with name compute-uss-1.2.0-95-csm.x86_64-qe-iscsi1 exists for use by BOS session template at index 3.
ERROR: The value of rootfs_provider for boot set uan cannot be an empty string
ERROR: The BOS session template at index 3 is not valid. See errors above.
ERROR: An error occurred while querying configuration uan-25.1.0-alpha-20241019174014-8f492eb-update-csm-1.6.0-rc.2: GET request to URL 'https://api-gw-service-nmn.local/apis/cfs/v3/configurations/uan-25.1.0-alpha-20241019174014-8f492eb-update-csm-1.6.0-rc.2' failed with status code 400: Bad Request. Bad Request Detail: 'uan-25.1.0-alpha-20241019174014-8f492eb-update-csm-1.6.0-rc.2' is too long
ERROR:
ERROR: Failed validating 'maxLength' in schema:
ERROR: {'maxLength': 60, 'minLength': 1, 'type': 'string'}
ERROR:
ERROR: On instance:
ERROR: 'uan-25.1.0-alpha-20241019174014-8f492eb-update-csm-1.6.0-rc.2'
ERROR: No image with name compute-uss-1.2.0-95-csm.x86_64-qe-iscsi1 exists for use by BOS session template at index 4.
ERROR: The BOS session template at index 4 is not valid. See errors above.
ERROR: One or more items is not valid in collection of BOS session templates
ERROR: The collection of BOS session templates is not valid. See errors above.
ncn-m001:~/eholen #
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment