【以下的问题经过翻译处理】 问:是否有人在FSx中创建了OpenZFS卷并能够使用AWS ParallelCluster中的pcluster3 cli挂载该卷?
似乎不起作用。我创建了一个OpenZFS文件系统,但我无法从pcluster cli中挂载它。我在其他文件系统上没有这个问题。文件系统挂载的YAML描述符如下:
SharedStorage:
- Name: modelingtest
StorageType: FsxLustre
MountDir: /fsx
FsxLustreSettings:
FileSystemId: fs-045ffe08c17984010
在集群创建之前,似乎CLI会输出一个不明确的错误。对我来说这看起来像是CLI的一个错误。
pcluster create-cluster --cluster-configuration ./bluefishtestfsx.yaml --cluster-name testami --region us-east-1
{
"message": "'NoneType' object has no attribute 'get'"
}
文档中提及到除非指定“FileSystemID”,否则需要指定存储器的大小。
https://docs.aws.amazon.com/parallelcluster/latest/ug/SharedStorage-v3.html
如果我添加文件系统大小,我们会得到一个有不同的错误。
pcluster create-cluster --cluster-configuration ./bluefishtestfsx.yaml --cluster-name testami --region us-east-1
{
"configurationValidationErrors": [
{
"level": "ERROR",
"type": "ConfigSchemaValidator",
"message": "[('SharedStorage', {0: {'FsxLustreSettings': {'_schema': ['storage_capacity is ignored when an existing Lustre file system is specified.']}}})]"
}
],
"message": "Invalid cluster configuration."
}