Git Product home page Git Product logo

Comments (6)

klzsysy avatar klzsysy commented on August 15, 2024

install failure:

refer doc

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

image

vcenter folder
image

result:

bootstrap screen:
stuck this
image

http server status

image

from okd.

klzsysy avatar klzsysy commented on August 15, 2024

@jomeier Can you share the oc4 installation process ?

from okd.

jomeier avatar jomeier commented on August 15, 2024

@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.

klzsysy avatar klzsysy commented on August 15, 2024

@jomeier

  • 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.

jomeier avatar jomeier commented on August 15, 2024

@klzsysy:
Does bootstrapping work if you create your ignition files with

platform:
  none: {}

?

How much resources have you spent for your VMs?

from okd.

vrutkovs avatar vrutkovs commented on August 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.