osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Airship-Seaworthy] Deployment of Airship-Seaworthy on Virtual Environment


Hi, this is great to hear!!



Here are few additional tips on the direction you are going

*       It is actually possible to configure Drydock/MAAS to talk to libvirt, itâ??s a bit tricky to setup all the SSH keys â?? but itâ??s possible

https://github.com/airshipit/treasuremap/blob/master/site/seaworthy-virt/profiles/host/gate-vm-cp.yaml#L27

*       There is a framework called mutlinode-gate or seaworthy-virt that aims to create more of a testing/gating environment using KVM and single host (launching at this moment 4 VMs).

Most of that code was in older airship-in-a-bottle repo but is now being moved to treasuremap (site/seaworthy-virt) site and docs/scripts will come later https://review.opendev.org/#/c/655517/.

This uses very similar idea of automating launching KVM VMs and then fully automated deploying Airship on top. Have a look!

*       For the disk name â?? â??bootdiskâ?? is alias based on a SCSI ID, you can look it up with â??sudo lshw -c diskâ?? and then update the HW profile, using direct name as sda is also OK, as you found https://github.com/airshipit/treasuremap/blob/master/site/airsloop/profiles/hardware/dell_r720xd.yaml#L45
*       Yes, LMA (logging, monitoring, alerting) is on the heavier side, and in fact I believe in our current virtual setups (AIAB and virtual seaworthy) we disable deployment of them as well. Itâ??s needed in production, though.



The Airsloop itself was more meant as bare-metal; you may use it to run proper VMs to test virtual workloads/VNFs in more real setting as compute is bare-metal, but itâ??s great you got it running!!



Cheers, Kaspars







From: Li, Cheng1 <cheng1.li at intel.com>
Sent: Sunday, June 9, 2019 12:59 AM
To: Anirudh Gupta <Anirudh.Gupta at hsc.com>; airship-discuss at lists.airshipit.org; airship-announce at lists.airshipit.org; openstack-dev at lists.openstack.org; openstack at lists.openstack.org
Subject: Re: [Airship-discuss] [Airship-Seaworthy] Deployment of Airship-Seaworthy on Virtual Environment



Finally, I have been able to deploy airsloop on virtual env.



I created two VMs(libvirt/kvm driven), one for genesis and the other for compute node.

These two VMs were on the same host. As the compute node VM is supposed to be provisioned by maas via ipmi/pxe. So I used virtualbmc to simulate the ipmi.



I authored the site by following these two guides[1][2]. Itâ??s the mix of guide[1] and guide[2].

The commands I used are all these ones[3].



After fixing several issue, I have deployed the virtual airsloop env.

I list here some issues I met:

1.      Node identify failed. At the beginning of step â??prepare_and_deploy_nodesâ??, the drydock power on the compute node VM via ipmi. Once the compute VM starts up via pxe boot, it runs script to detect local network interfaces and sends the info back to drycok. So the drydock can identify the node based on the received info. But the compute VM doesnâ??t have real ILO interface, so the drydock canâ??t identify it. What I did to workaround this was to manually fill the ipmi info on maas web page.
2.      My host doesnâ??t have enough CPU cores, neither the VMs. So I had to increase --pods-per-core in kubelet.yaml.
3.      The disk name in compute VM is vda, instead of sda. Drydock canâ??t map the alias device name to vda, so I had to used the fixed alias name â??vdaâ?? which is the same as itâ??s real device name.(it was â??bootdiskâ??)
4.      My host doesnâ??t have enough resource(CPU, memory), so I removed some resource consuming components(logging, monitoring). Besides, I disabled the neutron rally test. As it failed with timeout error because of the resource limits.



I also paste my site changes[4] for reference.





[1] https://airship-treasuremap.readthedocs.io/en/latest/authoring_and_deployment.html<https://urldefense.proofpoint.com/v2/url?u=https-3A__airship-2Dtreasuremap.readthedocs.io_en_latest_authoring-5Fand-5Fdeployment.html&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=AAx-zLwcGWiBFo_xCykCfjadLnUyQFlagAJaTmL8wlk&s=AsDAREC17jgnLF3Q-BheVPQ68-8dWAyLggXQyUEnC5o&e=>

[2] https://airship-treasuremap.readthedocs.io/en/latest/airsloop.html<https://urldefense.proofpoint.com/v2/url?u=https-3A__airship-2Dtreasuremap.readthedocs.io_en_latest_airsloop.html&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=AAx-zLwcGWiBFo_xCykCfjadLnUyQFlagAJaTmL8wlk&s=hJbeWl58cqXLoVYZpanLh4KeAA3OeAgk3p80puYvwnk&e=>

[3] https://airship-treasuremap.readthedocs.io/en/latest/airsloop.html#getting-started<https://urldefense.proofpoint.com/v2/url?u=https-3A__airship-2Dtreasuremap.readthedocs.io_en_latest_airsloop.html-23getting-2Dstarted&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=AAx-zLwcGWiBFo_xCykCfjadLnUyQFlagAJaTmL8wlk&s=-DGVM7aCb0jFHLREhp5fO_ghLhZHNJyVP8t3bjp1a6I&e=>

[4] https://github.com/cheng1li/treasuremap/commit/7a8287720dacc6dc1921948aaddec96b8cf2645e<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_cheng1li_treasuremap_commit_7a8287720dacc6dc1921948aaddec96b8cf2645e&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=AAx-zLwcGWiBFo_xCykCfjadLnUyQFlagAJaTmL8wlk&s=fGWE6b2CbPI1HmNLuc4G8UlnLhLmFD8sWl_Ux9Dw7_M&e=>



Thanks,

Cheng



From: Anirudh Gupta [mailto:Anirudh.Gupta at hsc.com]
Sent: Thursday, May 30, 2019 7:29 PM
To: Li, Cheng1 <cheng1.li at intel.com<mailto:cheng1.li at intel.com>>; airship-discuss at lists.airshipit.org<mailto:airship-discuss at lists.airshipit.org>; airship-announce at lists.airshipit.org<mailto:airship-announce at lists.airshipit.org>; openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>; openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Subject: RE: [Airship-Seaworthy] Deployment of Airship-Seaworthy on Virtual Environment



Hi Team,



I am trying to create Airship-Seaworthy from the link

https://airship-treasuremap.readthedocs.io/en/latest/seaworthy.html<https://urldefense.proofpoint.com/v2/url?u=https-3A__airship-2Dtreasuremap.readthedocs.io_en_latest_seaworthy.html&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=AAx-zLwcGWiBFo_xCykCfjadLnUyQFlagAJaTmL8wlk&s=RSbqjEiClkCf7Jpattvw0MeZjrZtBktqV2rUVhvQtaw&e=>



It requires 6 DELL R720xd bare-metal servers: 3 control, and 3 compute nodes to be configured, but there is no documentation of how to install and getting started with Airship-Seaworthy.

Do we need to follow the â??Getting Startedâ?? section mentioned in Airsloop or will there be any difference in case of Seaworthy.

https://airship-treasuremap.readthedocs.io/en/latest/airsloop.html#getting-started<https://urldefense.proofpoint.com/v2/url?u=https-3A__airship-2Dtreasuremap.readthedocs.io_en_latest_airsloop.html-23getting-2Dstarted&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=AAx-zLwcGWiBFo_xCykCfjadLnUyQFlagAJaTmL8wlk&s=-DGVM7aCb0jFHLREhp5fO_ghLhZHNJyVP8t3bjp1a6I&e=>



Also what all configurations need to be run from the 3 controller nodes and what needs to be run from 3 computes?



Regards

�निर�द�ध ��प�ता

(वरिष�ठ �भिय�ता)



From: Li, Cheng1 <cheng1.li at intel.com<mailto:cheng1.li at intel.com>>
Sent: 30 May 2019 08:29
To: Anirudh Gupta <Anirudh.Gupta at hsc.com<mailto:Anirudh.Gupta at hsc.com>>; airship-discuss at lists.airshipit.org<mailto:airship-discuss at lists.airshipit.org>; airship-announce at lists.airshipit.org<mailto:airship-announce at lists.airshipit.org>; openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>; openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Subject: RE: [Airship-Seaworthy] Deployment of Airship-Seaworthy on Virtual Environment



I have the same question. I havenâ??t seen any docs which guides how to deploy airsloop/air-seaworthy in virtual env.

I am trying to deploy airsloop on libvirt/kvm driven virtual env. Two VMs, one for genesis, the other for compute.

Virtualbmc for ipmi simulation.

The genesis.sh scripts has been run on genesis node without error. But deploy_site fails at prepare_and_deploy_nodes task(action â??set_node_bootâ?? timeout). I am still investigating this issue.

It will be great if we have official document for this scenario.



Thanks,

Cheng



From: Anirudh Gupta [mailto:Anirudh.Gupta at hsc.com]
Sent: Wednesday, May 29, 2019 3:31 PM
To: airship-discuss at lists.airshipit.org<mailto:airship-discuss at lists.airshipit.org>; airship-announce at lists.airshipit.org<mailto:airship-announce at lists.airshipit.org>; openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>; openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Subject: [Airship-Seaworthy] Deployment of Airship-Seaworthy on Virtual Environment



Hi Team,



We want to test Production Ready Airship-Seaworthy in our virtual environment

The link followed is



https://airship-treasuremap.readthedocs.io/en/latest/seaworthy.html<https://urldefense.proofpoint.com/v2/url?u=https-3A__ind01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fairship-2Dtreasuremap.readthedocs.io-252Fen-252Flatest-252Fseaworthy.html-26data-3D02-257C01-257C-257C57c0e7be57a94eb4525908d6e4aad7a3-257Ca65543b9ae9349b580f00b85821adc50-257C1-257C0-257C636947819770401915-26sdata-3DDcbHd2umQpPxbk6Lthfh4mlYMCIanqeNcyPPuCITYYk-253D-26reserved-3D0&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=AAx-zLwcGWiBFo_xCykCfjadLnUyQFlagAJaTmL8wlk&s=7-O2pvnNjxd3J2_lX631EGjRNRjHiisGaOued0Il0ks&e=>



As per the document we need 6 DELL R720xd bare-metal servers: 3 control, and 3 compute nodes.



But we need to deploy our setup on Virtual Environment. Does Airship-Seaworthy support Installation on Virtual Environment?



We have 2 Rack Servers with Dual-CPU Intel® Xeon® E5 26xx with 16 cores each and 128 GB RAM.

Is it possible that we can create Virtual Machines on them and set up the complete environment.



In that case, what possible infrastructure do we require for setting up the complete setup.



Looking forward for your response.





Regards

�निर�द�ध ��प�ता

(वरिष�ठ �भिय�ता)

Hughes Systique Corporation

D-23,24 Infocity II, Sector 33, Gurugram, Haryana 122001



DISCLAIMER: This electronic message and all of its contents, contains information which is privileged, confidential or otherwise protected from disclosure. The information contained in this electronic mail transmission is intended for use only by the individual or entity to which it is addressed. If you are not the intended recipient or may have received this electronic mail transmission in error, please notify the sender immediately and delete / destroy all copies of this electronic mail transmission without disclosing, copying, distributing, forwarding, printing or retaining any part of it. Hughes Systique accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus.

DISCLAIMER: This electronic message and all of its contents, contains information which is privileged, confidential or otherwise protected from disclosure. The information contained in this electronic mail transmission is intended for use only by the individual or entity to which it is addressed. If you are not the intended recipient or may have received this electronic mail transmission in error, please notify the sender immediately and delete / destroy all copies of this electronic mail transmission without disclosing, copying, distributing, forwarding, printing or retaining any part of it. Hughes Systique accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190805/e1c7b090/attachment-0001.html>