Guidance and framework for running HPC applications on Azure. This is not production ready and should be considered like a sample. NOTE: Please look at https://github.com/Azure/azurehpc as it is the most recent work that the team has published with tools for building HPC infrastructure and most of the applications here and more are integrated there already. You may still refer here as needed but this work is not being actively maintained.
23
stars
9
forks
source link
The specified container does not exist. ErrorCode: ContainerNotFound #4
Hello,
When I tried to build a customer image for an application with this command build_image.sh it failed. Indeed, it tried to assigne policy access to a specific container within the storage account which is not created.
When the container apps is created (manually) the script works !
Should-we create the apps container inside the setup.sh ? or during the build_image.sh ?
`./build_image.sh -a namd
config file: config.json
app: namd
read_value: subscription_id=45b6357e-b3b3-4e92-8c9a-5216d9813ded
read_value: location=westeurope
read_value: sp_client_id=03691f34-3287-484d-a379-1bc7b79301a7
read_value: sp_client_secret=XXXX
read_value: sp_tenant_id=72f988bf-86f1-41af-91ab-2d7cd011db47
read_value: images_rg=NamdLabGroup
read_value: images_storage=namdsto
read_value: image_name=centos74
read_value: image_publisher=OpenLogic
read_value: image_offer=CentOS-HPC
read_value: image_sku=7.4
read_value: vm_size=STANDARD_H16R
read_value: packer_exe=bin/packer.exe
read_value: base_image=baseimage-centos.sh
create resource group for images (if not already there)
create storage account for images (if not already there)
prepare the install script
read_value: app_storage_name=namdsto
read_value: app_container=apps
read_value: hpc_apps_saskey=
read_value: licserver=10.1.0.4
read_value: app_storage_rg=NamdLabGroup
Adding container policy for read access
The specified container does not exist. ErrorCode: ContainerNotFound
<?xml version="1.0" encoding="utf-8"?>ContainerNotFoundThe specified container does not exist.
RequestId:2c745182-301e-000b-76b7-96164d000000
Time:2018-12-18T09:54:59.8673177Z
Traceback (most recent call last):
File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 197, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 370, in execute
cmd.exception_handler(ex)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/storage/init.py", line 234, in new_handler
handler(ex)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/storage/init.py", line 177, in handler
raise ex
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 347, in execute
result = cmd(params)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 182, in call
return self.handler(*args, kwargs)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/init.py", line 440, in default_command_handler
result = op(command_args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/storage/operations/acl.py", line 11, in create_acl_policy
acl = _get_acl(cmd, client, container_name, **kwargs)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/storage/operations/acl.py", line 84, in _get_acl
return get_acl_fn(container_name, lease_id=lease_id) if lease_id else get_acl_fn(container_name)
File "/opt/az/lib/python3.6/site-packages/azure/multiapi/storage/v2018_03_28/blob/baseblobservice.py", line 770, in get_container_acl
return self._perform_request(request, _convert_xml_to_signed_identifiers_and_access)
File "/opt/az/lib/python3.6/site-packages/azure/multiapi/storage/v2018_03_28/common/storageclient.py", line 381, in _perform_request
raise ex
File "/opt/az/lib/python3.6/site-packages/azure/multiapi/storage/v2018_03_28/common/storageclient.py", line 306, in _perform_request
raise ex
File "/opt/az/lib/python3.6/site-packages/azure/multiapi/storage/v2018_03_28/common/storageclient.py", line 292, in _perform_request
HTTPError(response.status, response.message, response.headers, response.body))
File "/opt/az/lib/python3.6/site-packages/azure/multiapi/storage/v2018_03_28/common/_error.py", line 115, in _http_error_handler
raise ex
azure.common.AzureMissingResourceHttpError: The specified container does not exist. ErrorCode: ContainerNotFound
<?xml version="1.0" encoding="utf-8"?>ContainerNotFoundThe specified container does not exist.
RequestId:2c745182-301e-000b-76b7-96164d000000
Time:2018-12-18T09:54:59.8673177Z
Hello, When I tried to build a customer image for an application with this command build_image.sh it failed. Indeed, it tried to assigne policy access to a specific container within the storage account which is not created.
When the container apps is created (manually) the script works ! Should-we create the apps container inside the setup.sh ? or during the build_image.sh ?
`./build_image.sh -a namd config file: config.json app: namd read_value: subscription_id=45b6357e-b3b3-4e92-8c9a-5216d9813ded read_value: location=westeurope read_value: sp_client_id=03691f34-3287-484d-a379-1bc7b79301a7 read_value: sp_client_secret=XXXX read_value: sp_tenant_id=72f988bf-86f1-41af-91ab-2d7cd011db47 read_value: images_rg=NamdLabGroup read_value: images_storage=namdsto read_value: image_name=centos74 read_value: image_publisher=OpenLogic read_value: image_offer=CentOS-HPC read_value: image_sku=7.4 read_value: vm_size=STANDARD_H16R read_value: packer_exe=bin/packer.exe read_value: base_image=baseimage-centos.sh create resource group for images (if not already there) create storage account for images (if not already there) prepare the install script read_value: app_storage_name=namdsto read_value: app_container=apps read_value: hpc_apps_saskey= read_value: licserver=10.1.0.4 read_value: app_storage_rg=NamdLabGroup Adding container policy for read access The specified container does not exist. ErrorCode: ContainerNotFound <?xml version="1.0" encoding="utf-8"?>The specified container does not exist.
RequestId:2c745182-301e-000b-76b7-96164d000000
Time:2018-12-18T09:54:59.8673177Z
Traceback (most recent call last):
File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 197, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 370, in execute
cmd.exception_handler(ex)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/storage/init.py", line 234, in new_handler
handler(ex)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/storage/init.py", line 177, in handler
raise ex
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 347, in execute
result = cmd(params)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 182, in call
return self.handler(*args, kwargs)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/init.py", line 440, in default_command_handler
result = op(command_args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/storage/operations/acl.py", line 11, in create_acl_policy
acl = _get_acl(cmd, client, container_name, **kwargs)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/storage/operations/acl.py", line 84, in _get_acl
return get_acl_fn(container_name, lease_id=lease_id) if lease_id else get_acl_fn(container_name)
File "/opt/az/lib/python3.6/site-packages/azure/multiapi/storage/v2018_03_28/blob/baseblobservice.py", line 770, in get_container_acl
return self._perform_request(request, _convert_xml_to_signed_identifiers_and_access)
File "/opt/az/lib/python3.6/site-packages/azure/multiapi/storage/v2018_03_28/common/storageclient.py", line 381, in _perform_request
raise ex
File "/opt/az/lib/python3.6/site-packages/azure/multiapi/storage/v2018_03_28/common/storageclient.py", line 306, in _perform_request
raise ex
File "/opt/az/lib/python3.6/site-packages/azure/multiapi/storage/v2018_03_28/common/storageclient.py", line 292, in _perform_request
HTTPError(response.status, response.message, response.headers, response.body))
File "/opt/az/lib/python3.6/site-packages/azure/multiapi/storage/v2018_03_28/common/_error.py", line 115, in _http_error_handler
raise ex
azure.common.AzureMissingResourceHttpError: The specified container does not exist. ErrorCode: ContainerNotFound
<?xml version="1.0" encoding="utf-8"?>The specified container does not exist.
RequestId:2c745182-301e-000b-76b7-96164d000000
Time:2018-12-18T09:54:59.8673177Z
ContainerNotFound
ContainerNotFound