BookmarkSubscribeRSS Feed
Phuchoang
Calcite | Level 5

My client requires to install SAS Viya on Disconnected Environment,

 

I prepare everything including mirrors registry, image mirrors. Deployment Operator.

But when I deploy software, Operator return Reconcile Failed with message can't Get https://ses.sas.download/ses/entitlements.json....

 

Can anyone suggest  me any solution?

2 REPLIES 2
Jovian
Obsidian | Level 7

Hi Phuchoang,

 

Have you checked if the mirror registry has been added to you local DNS.

 

Could you confirm if you have used this link to create your mirror registry in the darksite -Create a Mirror Registry at a Dark Site .

 

During deployment have you created the mirror.yaml  as mentioned in the Optional Customization Add a Mirror Registry to Your SAS Viya Platform Deployment with the required changes being made. 

 

I have attached below a sample of the required changes

#Sample mirror.yaml located at sas-bases/examples/mirror/mirror.yaml

apiVersion: builtin
kind: ImageTagTransformer
metadata:
  name: image-transformer-sas-admin-content-loader-mirror
imageTag:
  name: cr.sas.com/viya-4-x64_oci_linux_2-docker/sas-admin-content-loader
  newName: {{ MIRROR-HOST }}/viya-4-x64_oci_linux_2-docker/sas-admin-content-loader
---

You have to edit the {{ MIRROR-HOST }} with the fqdn/registry_name of you mirror registry.

#Edited mirror.yaml in site-config/
apiVersion: builtin
kind: ImageTagTransformer
metadata:
  name: image-transformer-sas-admin-content-loader-mirror
imageTag:
  name: cr.sas.com/viya-4-x64_oci_linux_2-docker/sas-admin-content-loader
  newName: registry.darksite.com/lts2025.03/viya-4-x64_oci_linux_2-docker/sas-admin-content-loader
---

 Here, registry.darksite.com is my mirror registry fqdn, and lts2025.03 is the name of the registry containing all the images.

gwootton
SAS Super FREQ
To use the SAS Deployment Operator in a air-gapped environment requires you set up an accessible HTTP server to serve up your repository warehouse.

You specify the URL to that server when creating the sasdeployment custom resource using the "--repository-warehouse" option.

[repository-warehouse-location] (optional)
The URL for the warehouse describing what should be deployed. This flag is needed if you are managing a dark environment.

Source: Create the SASDeployment Custom Resource:
https://go.documentation.sas.com/doc/en/sasadmincdc/v_069/dplyml0phy0dkr/p0nid9gu3x2cvln1pzpcxa68tpo...

The files that need to be served by that HTTP server are pulled into the --path location specified when you run mirrormgr (~/sas_repos by default). You'll see entitlements.json in there but I think it also makes use of the other paths there (except sas_repos/docker where the actual images were pulled).

Create a Mirror Registry at an Air Gapped Site:
https://go.documentation.sas.com/doc/en/sasadmincdc/v_069/dplyml0phy0dkr/n1f39x15xt82m4n13f7bu37l9qu...
--
Greg Wootton | Principal Systems Technical Support Engineer

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

Learn how to explore data assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1481 views
  • 0 likes
  • 3 in conversation