[Airship-discuss] Aiab multinodes: Replacing virsh by Openstack VMs
MM9745 at att.com
Fri May 24 22:54:42 UTC 2019
Great to hear that you're getting your environment working!!
The only simpler option I can think of to solve for running in OpenStack VMs might be:
1. deploy a vanilla Kubernetes cluster on your VMs (e.g. standard KubeADM)
2. run the Airskiff scripts (skipping the initial one single-node k8s install)
Basically, Airship with a "bring your own infra and kubernetes". This skips the Airship bare metal provisioning (like you want) with the downside of skipping over Airship k8s provisioning. However, it should work well for testing declarative workload (e.g. OpenStack) deployment and lifecycle management inside of your VMs.
HTH, let us know how it goes!
From: Roman Gorshunov <paye600 at gmail.com>
Sent: Thursday, May 23, 2019 1:02 PM
To: Loic Le Gal <l.legal.astellia at gmail.com>
Cc: airship-discuss at lists.airshipit.org
Subject: Re: [Airship-discuss] Aiab multinodes: Replacing virsh by Openstack VMs
No, RedFish driver would not be able to deploy OpenStack VM. RedFish is just an alternative to the IPMI, it can change power state of node and set next boot to PXE. May be try manual driver? But by default it waits for 1 minute only, might be not enough.
The prepare_and_deploy_nodes workflow task is defined in Shipyard DAG src/bin/shipyard_airflow/shipyard_airflow/dags/drydock_deploy_site.py.
-- Roman Gorshunov
On Thu, May 23, 2019 at 5:09 PM Loic Le Gal <l.legal.astellia at gmail.com> wrote:
> Hello Airshipers,
> Still experimenting with Airship, after a successful Singlenode deployment, I'm trying the multinodes Site.
> My aim is to be able to use the Airship built on top of Openstack VMs and not on real Hw nor AIO virsh VMs on a single node... So that I could increase VM size to install other Sw at the upper layer and troubleshoot easily what's going on below.
> So, I remove the Virsh network and VMs creation from the first stages (create_VMs, gate_setup) of the gate/multinode_deploy and replace them by Openstack VMs of the expected Size and with expected Network connexion and Fixed addresses 172.24.1.xx on an Openstack Network.
> With this config, except a dns conflict fixed, it works and I get a
> Genesis/Airflow access. (Yeah!)
> As you can figure out, things became more Airship specific later on, because in order to setup the nodes, the Workflow task "prepare_and_deploy_nodes" try to make them boot for pxe, using a libvirt driver.
> I've found in the deployment_files.yaml that configuration which seems to be the blocking point:
> hardware_profile: 'GenericVM'
> primary_network: 'gp'
> type: 'libvirt'
> libvirt_uri: 'qemu+ssh://firstname.lastname@example.org/system'
> So I think I have following options and I would prefer the simple one :
> - either replace the libvirt drydock driver in the site definition by
> another one (redfish?): But can the redfish driver drive Openstack VMs
> (In this case I need to add a Redfish Server VM ?)
> - or, remove the prepare_and_deploy_nodes task : But is it simple or need to modify Drydock code?
> Is it really feasible? Any simpler option is welcome...
> Thanks in advance,
> Airship-discuss mailing list
> Airship-discuss at lists.airshipit.org
Airship-discuss mailing list
Airship-discuss at lists.airshipit.org
More information about the Airship-discuss