Git Product home page Git Product logo

Comments (11)

LorbusChris avatar LorbusChris commented on August 15, 2024 3

Azure images are now being built by the FCOS pipeline. They're not uploaded to Azure automatically, yet, though and users would still have to do that manually at the moment.

refs coreos/fedora-coreos-tracker#148 (comment)

from okd.

jomeier avatar jomeier commented on August 15, 2024

It's here: https://builds.coreos.fedoraproject.org/prod/streams/testing-devel/builds/31.20191213.dev.0/x86_64/fedora-coreos-31.20191213.dev.0-azure.x86_64.vhd.xz

Currently I'm uploading the decompressed VHD file to my Storage Account in Azure

  • Upload to storage account with "Microsoft Azure Storage Explorer"
    -> Doesn't work. The VHD file has dynamic size. Azure VMs require fixed VHD size.
  • TODO: Resize VHD to 50 GByte so OKD4 has enough space for images, ...
  • Upload VHD file with azure-vhd-utils (https://github.com/microsoft/azure-vhd-utils)
    mkdir -p ~/go/src/github.com/microsoft
    cd ~/go/src/github.com/microsoft
    git clone https://github.com/microsoft/azure-vhd-utils.git
    cd azure-vhd-utils
    go get github.com/Microsoft/azure-vhd-utils
    go build -o azure-vhd-utils
    
    ./azure-vhd-utils upload --localvhdpath fedora-coreos-31.20191213.dev.0-azure.x86_64.vhd --stgaccountname <YOUR OWN STORAGE ACCOUNT NAME> --stgaccountkey <SECRET> --blobname fcos-azure --parallelism 32
    
  • Create Linux Disk Image from the VHD uploaded to my storage account
  • Create a simple install-config.yaml with platform: none, put your public ssh key into it so you can ssh into the VMs
  • Create ignition files with openshift-installer
  • Upload bootstrap.ign to storage account, make it public (don't know how to provide credentials for it to ignition files)
  • Create append_bootstrap.ign file and point its source to the blob container with bootstrap.ign
  • Create VM from this disk image:
    az vm create --name node-1 --resource-group group-1 --admin-username core --custom-data "$(cat append_bootstrap.ign)" --image fcos-azure
    
  • Open Serial console to watch the VM booting -> It appends the bootstrap.ign and tries to setup the cluster

It seems that it works. I'll setup DNS and load balancers and try to get the installation running.

Because Azure support is stripped out in the openshift-installer for the moment (hopefully only affecting the automated creation of infrastructure components through Terraform) I hope that I can configure the Azure cloud provider in OKD nevertheless after the installation :-)

from okd.

jomeier avatar jomeier commented on August 15, 2024

It seems as if the bootstrap VM requires a reboot before it gets the DNS servers provided in the Azure VNET and is able to pull the initial okd image from quay.io.

from okd.

jomeier avatar jomeier commented on August 15, 2024

If Azure support comes back to the openshift-installer (maybe in preview 2 ?) I'm eager to test Azure disk and Azure file support.

from okd.

vrutkovs avatar vrutkovs commented on August 15, 2024

Official FCOS on Azure is still not progressing. We have a workaround for that, so we won't be blocking GA on this

from okd.

edisonpaul4bp avatar edisonpaul4bp commented on August 15, 2024

Any news regarding this? Many problems trying to install this on Azure, at least with the last Nightly build I was able to install everything BUT only the Bootstrap node is online, master nodes are always offline.

Always getting ERROR Attempted to gather ClusterOperator status after installation failure: listing ClusterOperator objects timeout

from okd.

openshift-bot avatar openshift-bot commented on August 15, 2024

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

from okd.

vrutkovs avatar vrutkovs commented on August 15, 2024

/remove-lifecycle stale

from okd.

openshift-bot avatar openshift-bot commented on August 15, 2024

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

from okd.

vrutkovs avatar vrutkovs commented on August 15, 2024

/lifecycle frozen

from okd.

jryberg avatar jryberg commented on August 15, 2024

If Azure support comes back to the openshift-installer (maybe in preview 2 ?) I'm eager to test Azure disk and Azure file support.

It's supported in OpenShift openshift-installer, running it right now and my infrastructure is built using OpenShift instead of OKD

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.