Comments (6)
install failure:
refer doc
- https://blog.openshift.com/openshift-4-2-vsphere-install-quickstart/
- https://docs.openshift.com/container-platform/4.2/installing/installing_vsphere/installing-vsphere.html#installing-vsphere
vsphere 6.7u3
dhcp server readyed
- pool
10.30.40.0/24
install config
apiVersion: v1
## The base domain of the cluster. All DNS records will be sub-domains of this base and will also include the cluster name.
baseDomain: ifaii.lo
compute:
- name: worker
replicas: 1
controlPlane:
name: master
replicas: 3
metadata:
## The name for the cluster
name: openshift4
networking:
clusterNetworks:
- cidr: 172.31.0.0/22
hostPrefix: 25
machineCIDR: 10.30.40.0/24
networkType: OpenShiftSDN
serviceNetwork:
- 172.31.128.0/22
platform:
vsphere:
## The hostname or IP address of the vCenter
vcenter: vcenter.ifaii.lo
## The name of the user for accessing the vCenter
username: [email protected]
## The password associated with the user
password: xxxx
## The datacenter in the vCenter
datacenter: home
## The default datastore to use.
defaultDatastore: NVME-SSD
## The pull secret that provides components in the cluster access to images for OpenShift components.
pullSecret: '{"auths":{"cloud.openshift.com":{"auth":"xxxx","email":"[email protected]"},"quay.io":{"auth":"xxxx","email":"[email protected]"}}}'
## The default SSH key that will be programmed for `core` user.
sshKey: "ssh-rsa AAAABxxxxxx [email protected]"
use OVA
append-bootstrap.ign
refer #19 set append-bootstrap.ign from 2.x.x to 3.0.0 invalid
{
"ignition": {
"config": {
"append": [
{
"source": "http://172.30.10.14:8080/bootstrap.ign",
"verification": {}
}
]
},
"timeouts": {},
"version": "2.1.0"
},
"networkd": {},
"passwd": {},
"storage": {},
"systemd": {}
}
bootstrap vm config
result:
http server status
from okd.
@jomeier Can you share the oc4 installation process ?
from okd.
@klzsysy
First you need a VM which serves the bootstrap.ign file. I use a CentOS VM with the package httpd as web server. Put the bootstrap.ign file in the /var/www/html directory.
Reference the the Webserver and the bootstrap.ign file in the append-bootstrap.ign file (e.g. source: „http://ignitionserver.com/bootstrap.ign“
Change the Version of the append-bootstrap.ign file from „2.1.0“ to „3.0.0“. Change the ignition.config.append to ignition.config.merge. This two changes are the Most important ones for OKD4.
You must add the Hostnames and your Proxy credentials in the master.ign and worker.ign files of you are behind a Corporate Proxy and your hostnames arent served by your DHCP Server.
Dont forget the loadbalancer for ports 22623, 6443, 443 and 80. I use HAPROXY for that.
That were the most Important pieces.
Let me know of I can help you.
from okd.
- bootstrap.ign web server , use nodejs http-server ,like the httpd effect
- append-bootstrap.ign version 2.1.0 -> 3.0.0 ,ignition.config.append to ignition.config.merge
- loadbalancer ready, use haproxy ,22623, 6443, 443 and 80
{
"ignition": {
"config": {
"merge": [
{
"source": "http://172.30.10.14:8080/bootstrap.ign",
"verification": {}
}
]
},
"timeouts": {},
"version": "3.0.0"
},
"networkd": {},
"passwd": {},
"storage": {},
"systemd": {}
}
there is no effect, Same as before, May be other problems
but still thanks for your reply!
from okd.
@klzsysy:
Does bootstrapping work if you create your ignition files with
platform:
none: {}
?
How much resources have you spent for your VMs?
from okd.
vSphere UPI support landed in 4.4 releases at https://origin-release.svc.ci.openshift.org. Lets file bugs for each particular case.
Note that until terraform-provider-ignition with Ignition spec3 support lands upstream you might have to use a fork:
curl -L -O https://github.com/LorbusChris/terraform-provider-ignition/raw/v2-bin-1/terraform-provider-ignition && \
chmod +x terraform-provider-ignition && \
mv terraform-provider-ignition /bin/terraform-provider-ignition_v2.0.0
from okd.
Related Issues (20)
- OKD 4.12.0-0.okd-2023-02-04-212953 IPI installation on Azure fails consistently HOT 3
- [OKD 4.12] Upgrade from 4.11. Failure during rpm-ostree rebase
- Rook + Ceph clusters do not work on OKD releases 4.12.0-0.okd-2023-02-04-212953 and 4.11.0-0.okd-2023-01-14-152430 HOT 18
- Iso in machine-os-images references RHCOS in 4.12 instead of FCOS HOT 2
- OKD IPI Deployment failure - on vmware HOT 1
- [OKD4.12] Bootstrap install ostree error HOT 1
- EgressIP with OVN-Kubernetes causes network connectivity issues HOT 1
- Update to 4.12.0-0.okd-2023-02-18-033438: unable to verify ... against keyrings: verifier-public-key-ci HOT 1
- [OKD 4.12][vSphere IPI] node-valid-hostname-service fails after 5 minutes 17 seconds on firstboot of new nodes HOT 4
- OKD 4.9 - Pods on on-premise worker node are unable to communicate with the ones one remote worker node
- There is no NC in the OKD image which is necessary for the OVS configuration on node startup
- machine-os: install netcat HOT 5
- update from 4.11.0-0.okd-2023-01-14-152430 to 4.12.0-0.okd-2023-02-18-033438 failing HOT 6
- [OKD4.12] oc get Unable to connect to the server: net/http: TLS handshake timeout after Starting cluster-bootstrap
- Missing libnettle.so.8 shared library with agent-based install OKD 4.12
- GlusterFS missing in OKD 4.12 HOT 1
- Install 4.12.0-0.okd-2023-03-05-022504 manual mode CCO STS bootstrap issues
- ostree fsck: Corrupted file object HOT 3
- Assisted installer agent: Unable to pull okd binaries on nodes behind a proxy
- Failed to push image in image registry HOT 20
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 okd.