Skip to content

Add Fog Support for Azure Stack #367

@ClaudiaBaur

Description

@ClaudiaBaur

The cf cloud controller uses Fog for ARM as default for the blob store. In Fog, only endpoints for public Azure, China, US_Government and Germany are implemented, but not for Azure Stack yet.
See also storage_endpoint_suffix in

# storage_endpoint_suffix is nil in ms_rest_azure 0.6.2
# Reference the issue: https://github.com/Azure/azure-sdk-for-ruby/issues/603
def storage_endpoint_suffix(environment = ENVIRONMENT_AZURE_CLOUD)
case environment
when ENVIRONMENT_AZURE_CHINA_CLOUD
# MsRestAzure::AzureEnvironments::AzureChina.storage_endpoint_suffix
'.core.chinacloudapi.cn'
when ENVIRONMENT_AZURE_US_GOVERNMENT
# MsRestAzure::AzureEnvironments::AzureUSGovernment.storage_endpoint_suffix
'.core.usgovcloudapi.net'
when ENVIRONMENT_AZURE_GERMAN_CLOUD
# MsRestAzure::AzureEnvironments::AzureGermanCloud.storage_endpoint_suffix
'.core.cloudapi.de'
else
# MsRestAzure::AzureEnvironments::Azure.storage_endpoint_suffix
'.core.windows.net'
end
end

As a result, the storage_endpoint_suffix on Azure Stack is wrong, as it only uses the default for public Azure which is .core.windows.net.
Please add a storage endpoint for Azure Stack.

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