Comments (2)
If you look at the nested templates used to create the VMs, the three mentioned parameters are passed in. There is a condition when osImageType=marketplace, marketplaceOsImage is used otherwise imageReference is used.
Don't check the OS version within the VM, look at resources.azure.com to determine the image used for the VM. The prep scripts perform a yum update so ultimately, the OS version should be identical regardless.
from openshift-container-platform.
I see, however, here is an example from a deployment where the following properties is defined in the parameters file:
"osImageType": {
"value": "marketplace"
},
"marketplaceOsImage": {
"value": {
"publisher": "redhat",
"offer": "rhel-byos",
"sku": "rhel-lvm76",
"version": "7.6.20190918"
}
}
The imageReference property is not defined.
In the deployed instance, when looking at the bastion VM as an example, we see the following in it's properties on https://resources.azure.com:
"storageProfile": {
"imageReference": {
"publisher": "redhat",
"offer": "rhel-byos",
"sku": "rhel-lvm76",
"version": "7.6.20190918"
},
"osDisk": {
"osType": "Linux",
"name": "ocpclustertest-infra01-osdisk",
"createOption": "FromImage",
However, when SSH' ing into the VM the output from hostnamectl indicates the OS version being 7.7:
Static hostname: ocpclustertest-bastion
Icon name: computer-vm
Chassis: vm
Machine ID: cef2ff62b1da4edb8ce8b4b26b865a2d
Boot ID: b4856b5b4b3241759baf1921095e520e
Virtualization: microsoft
Operating System: OpenShift Enterprise
CPE OS Name: cpe:/o:redhat:enterprise_linux:7.7:GA:server
Kernel: Linux 3.10.0-957.27.4.el7.x86_64
Architecture: x86-64
Could the issue be that imageReference has a default value in azuredeploy.json, hence that overrides the marketplaceOsImage specified in the parameters file?
from openshift-container-platform.
Related Issues (20)
- docker install fails
- docker install fails HOT 1
- Openshift 3.11 fails with exit status=2 HOT 4
- Private cluster deployment fails - template error HOT 9
- Unable to start service iptables (Container Platform Self-Managed) HOT 5
- Is OpenShift 3.9 the latest version that can be installed on an Azure Stack? HOT 2
- remove RHUI in scripts/*Prep.sh not working HOT 1
- Unable to install Red Hat OpenShift Container Platform Self-Managed on Azure HOT 2
- OCP 3.11 install on Azure Stack is successful but Docker Registry deployment fails HOT 1
- unable to add additional dashboards in grafana HOT 1
- API version for Microsoft.Network/publicIPAddresses/master not specified HOT 1
- Support for pulling RHEL OS image from Red Hat HOT 3
- Disk prerequisite check fails when using an LVM image HOT 2
- Issue with Azure Marketplace deployment (in existing VNET)
- OCP 3.11 non-default SDN setting "OVS Multitenant" causing problems in deployments! HOT 1
- Install with Private ClusterType assigns Public IP to bastion node HOT 2
- Support for OpenShift Container Platform 4.2 HOT 3
- The provided client secret keys are expired HOT 1
- Private Cluster openshift 3.11 :: Master cluster hostname
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openshift-container-platform.