From f3edfa053ade5c298438480f3145fb8d5501343a Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Wed, 21 Sep 2016 10:35:26 -0500 Subject: Added documention for LXD scenarios. Change-Id: I3633e980103633e3079c52b411b70165a3ff74b0 Signed-off-by: Narinder Gupta (cherry picked from commit 4e0cd86da483138d11bd92846bf73a25a0f61571) --- .../installationprocedure.rst | 19 ++- docs/scenarios/os-nosdn-lxd-ha/index.rst | 14 ++ docs/scenarios/os-nosdn-lxd-ha/release-notes.rst | 159 +++++++++++++++++++++ docs/scenarios/os-nosdn-lxd-noha/index.rst | 14 ++ docs/scenarios/os-nosdn-lxd-noha/release-notes.rst | 159 +++++++++++++++++++++ 5 files changed, 354 insertions(+), 11 deletions(-) create mode 100644 docs/scenarios/os-nosdn-lxd-ha/index.rst create mode 100644 docs/scenarios/os-nosdn-lxd-ha/release-notes.rst create mode 100644 docs/scenarios/os-nosdn-lxd-noha/index.rst create mode 100644 docs/scenarios/os-nosdn-lxd-noha/release-notes.rst diff --git a/docs/installationprocedure/installationprocedure.rst b/docs/installationprocedure/installationprocedure.rst index 68a1595f..c4c80467 100644 --- a/docs/installationprocedure/installationprocedure.rst +++ b/docs/installationprocedure/installationprocedure.rst @@ -107,9 +107,6 @@ If enabling first time then follow it further. - copy labconfig.yaml from pod6 to pod7 *cp joid/labconfig/intel/pod5/\* joid/labconfig/intel/pod7/* -4 files will get copied: -labconfig.yaml - labconfig.yaml file =================== @@ -225,8 +222,8 @@ opnfv: ipaddress: 10.2.117.92 vlan:* -NOTE: If you are using VLAN tagged network then make sure you modify the case $1 section under Enable vlan interface with maas appropriately. - +NOTE: If you are using VLAN tagged network then make sure you modify the case $1 section under Enable vlan interface with maas appropriately. + *'intelpod7' ) maas refresh enableautomodebyname eth2 AUTO "10.4.9.0/24" compute || true @@ -271,7 +268,7 @@ Mode of Openstack deployed. [-t ] nonha: NO HA mode of Openstack ha: HA mode of openstack. - + Wihch version of Openstack deployed. [-o ] liberty: Liberty version of openstack. @@ -302,13 +299,13 @@ OPNFV Scenarios in JOID Following OPNFV scenarios can be deployed using JOID. Seperate yaml bundle will be created to deploy the individual scenario. Scenario Owner Known Issues -os-nosdn-nofeature-ha Joid -os-nosdn-nofeature-noha Joid -os-odl_l2-nofeature-ha Joid +os-nosdn-nofeature-ha Joid +os-nosdn-nofeature-noha Joid +os-odl_l2-nofeature-ha Joid os-nosdn-lxd-ha Joid Yardstick team is working to support. os-nosdn-lxd-noha Joid Yardstick team is working to support. -os-onos-nofeature-ha ONOSFW -os-onos-sfc-ha ONOSFW +os-onos-nofeature-ha ONOSFW +os-onos-sfc-ha ONOSFW ------------ Troubleshoot diff --git a/docs/scenarios/os-nosdn-lxd-ha/index.rst b/docs/scenarios/os-nosdn-lxd-ha/index.rst new file mode 100644 index 00000000..8180fbb3 --- /dev/null +++ b/docs/scenarios/os-nosdn-lxd-ha/index.rst @@ -0,0 +1,14 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International Licence. +.. http://creativecommons.org/licenses/by/4.0 +.. (c) + +====================== +JOID LXD Release Notes +====================== + +.. toctree:: + :numbered: + :maxdepth: 4 + + release-notes.rst + diff --git a/docs/scenarios/os-nosdn-lxd-ha/release-notes.rst b/docs/scenarios/os-nosdn-lxd-ha/release-notes.rst new file mode 100644 index 00000000..780804f3 --- /dev/null +++ b/docs/scenarios/os-nosdn-lxd-ha/release-notes.rst @@ -0,0 +1,159 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. http://creativecommons.org/licenses/by/4.0 +.. (c) + + +Abstract +======== + +This document compiles the release notes for the Colorado release of +OPNFV when using JOID as a deployment tool with LXD container hypervisor. + +Introduction +============ + +These notes provides release information for the use of joid as deployment +tool for the Colorado release of OPNFV with LXD hypervisor for containers +scenario. + +The goal of the Colorado release and this JOID based deployment process is +to establish a lab ready platform accelerating further development +of the OPNFV infrastructure. + +Carefully follow the installation-instructions which guides a user to deploy +OPNFV using JOID which is based on MAAS and Juju. + +Summary +======= + + LXD is a lightweight container hypervisor for full system containers, +unlike Docker and Rocket which is for application containers. This means that +the container will look and feel like a regular VM – but will act like a +container. LXD uses the same container technology found in the Linux kernel +(cgroups, namespaces, LSM, etc). + +Colorado release with the JOID deployment with LXD hypervisor will establish an +OPNFV target system on a Pharos compliant lab infrastructure. +The current definition of an OPNFV target system is and OpenStack Mitaka combined +with LXD Hypervisor. + + The system is deployed with OpenStack High Availability (HA) for most OpenStack services. + + User has following choices to make to do the deployment. + + - Openstack -- Mitaka + - Type -- HA, nonHA, tip (stable git branch of respective openstack) + - Feature -- LXD (container hypervisor) + +NOTE: Detailed information on how to install in your lab can be find in installation guide +command to deploy lxd feature is: + +#LXD deployment with HA Openstack +./deploy.sh -o mitaka -f lxd -t ha -l custom -s nosdn + +#LXD deployment with no HA Openstack +./deploy.sh -o mitaka -f lxd -t nonha -l custom -s nosdn + +Using LXD with Openstack +======================== + +Once you have finished installinf the JOID with LXD container hypervisor you can use the +following to uplod your lxd image to the glance server that LXD can use. +In order to do that you simply have to do the following: + +wget -O xenial-server-cloudimg-amd64-root.tar.gz \ +https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-root.tar.gz + +glance image-create --name="Xenial LXC x86_64" --visibility=public --container-format=bare \ +--disk-format=root-tar --property architecture="x86_64" xenial-server-cloudimg-amd64-root.tar.gz + +After you upload the image to glance then you will be ready to go. If you have any questions +please don’t hesitate to ask on the LXC mailing, #lxcontainers IRC channel on freenode + + +Release Data +============ + ++--------------------------------------+--------------------------------------+ +| **Project** | JOID | +| | | ++--------------------------------------+--------------------------------------+ +| **Repo/tag** | gerrit.opnfv.org/gerrit/joid.git | +| | stable/colorado | ++--------------------------------------+--------------------------------------+ +| **Release designation** | Colorado release | +| | | ++--------------------------------------+--------------------------------------+ +| **Release date** | September 22 2016 | +| | | ++--------------------------------------+--------------------------------------+ +| **Purpose of the delivery** | Colorado release | +| | | ++--------------------------------------+--------------------------------------+ + +Deliverables +------------ + +Software deliverables +~~~~~~~~~~~~~~~~~~~~~ +`JOID based installer script files `_ + +Known Limitations, Issues and Workarounds +========================================= + +Known issues +------------ + +**JIRA TICKETS:** + ++--------------------------------------+--------------------------------------+ +| **JIRA REFERENCE** | **SLOGAN** | +| | | ++--------------------------------------+--------------------------------------+ +| JIRA: YARDSTICK-325 | Provide raw format yardstick vm image| +| | for nova-lxd scenario(OPNFV) | ++--------------------------------------+--------------------------------------+ +| JIRA: | | ++--------------------------------------+--------------------------------------+ + + +Scenario Releases +================= +Name: joid-os-nosdn-lxd-ha +Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-nosdn-lxd-ha-baremetal-daily-colorado/ +Notes: + +Name: joid-os-nosdn-lxd-noha +Test Link: https://build.opnfv.org/ci/user/narindergupta/my-views/view/joid/job/joid-os-nosdn-lxd-noha-baremetal-daily-colorado/ +Notes: + +References +========== +LXD +--- +- `JUJU LXD charm `_ +- `LXD hypervisor `_ +- `LXD Story `_ + +Juju +---- +- `Juju Charm store `_ +- `Juju documents `_ + +MAAS +---- +- `Bare metal management (Metal-As-A-Service) `_ +- `MAAS API documents `_ + +JOID +---- +- `OPNFV JOID wiki `_ +- `OPNFV JOID User Guide `_ +- `OPNFV Release Notes `_ +- `OPNFV JOID Install Guide `_ + +OpenStack +--------- +- `OpenStack Mitaka Release artifacts `_ +- `OpenStack documentation `_ + diff --git a/docs/scenarios/os-nosdn-lxd-noha/index.rst b/docs/scenarios/os-nosdn-lxd-noha/index.rst new file mode 100644 index 00000000..8180fbb3 --- /dev/null +++ b/docs/scenarios/os-nosdn-lxd-noha/index.rst @@ -0,0 +1,14 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International Licence. +.. http://creativecommons.org/licenses/by/4.0 +.. (c) + +====================== +JOID LXD Release Notes +====================== + +.. toctree:: + :numbered: + :maxdepth: 4 + + release-notes.rst + diff --git a/docs/scenarios/os-nosdn-lxd-noha/release-notes.rst b/docs/scenarios/os-nosdn-lxd-noha/release-notes.rst new file mode 100644 index 00000000..780804f3 --- /dev/null +++ b/docs/scenarios/os-nosdn-lxd-noha/release-notes.rst @@ -0,0 +1,159 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. http://creativecommons.org/licenses/by/4.0 +.. (c) + + +Abstract +======== + +This document compiles the release notes for the Colorado release of +OPNFV when using JOID as a deployment tool with LXD container hypervisor. + +Introduction +============ + +These notes provides release information for the use of joid as deployment +tool for the Colorado release of OPNFV with LXD hypervisor for containers +scenario. + +The goal of the Colorado release and this JOID based deployment process is +to establish a lab ready platform accelerating further development +of the OPNFV infrastructure. + +Carefully follow the installation-instructions which guides a user to deploy +OPNFV using JOID which is based on MAAS and Juju. + +Summary +======= + + LXD is a lightweight container hypervisor for full system containers, +unlike Docker and Rocket which is for application containers. This means that +the container will look and feel like a regular VM – but will act like a +container. LXD uses the same container technology found in the Linux kernel +(cgroups, namespaces, LSM, etc). + +Colorado release with the JOID deployment with LXD hypervisor will establish an +OPNFV target system on a Pharos compliant lab infrastructure. +The current definition of an OPNFV target system is and OpenStack Mitaka combined +with LXD Hypervisor. + + The system is deployed with OpenStack High Availability (HA) for most OpenStack services. + + User has following choices to make to do the deployment. + + - Openstack -- Mitaka + - Type -- HA, nonHA, tip (stable git branch of respective openstack) + - Feature -- LXD (container hypervisor) + +NOTE: Detailed information on how to install in your lab can be find in installation guide +command to deploy lxd feature is: + +#LXD deployment with HA Openstack +./deploy.sh -o mitaka -f lxd -t ha -l custom -s nosdn + +#LXD deployment with no HA Openstack +./deploy.sh -o mitaka -f lxd -t nonha -l custom -s nosdn + +Using LXD with Openstack +======================== + +Once you have finished installinf the JOID with LXD container hypervisor you can use the +following to uplod your lxd image to the glance server that LXD can use. +In order to do that you simply have to do the following: + +wget -O xenial-server-cloudimg-amd64-root.tar.gz \ +https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-root.tar.gz + +glance image-create --name="Xenial LXC x86_64" --visibility=public --container-format=bare \ +--disk-format=root-tar --property architecture="x86_64" xenial-server-cloudimg-amd64-root.tar.gz + +After you upload the image to glance then you will be ready to go. If you have any questions +please don’t hesitate to ask on the LXC mailing, #lxcontainers IRC channel on freenode + + +Release Data +============ + ++--------------------------------------+--------------------------------------+ +| **Project** | JOID | +| | | ++--------------------------------------+--------------------------------------+ +| **Repo/tag** | gerrit.opnfv.org/gerrit/joid.git | +| | stable/colorado | ++--------------------------------------+--------------------------------------+ +| **Release designation** | Colorado release | +| | | ++--------------------------------------+--------------------------------------+ +| **Release date** | September 22 2016 | +| | | ++--------------------------------------+--------------------------------------+ +| **Purpose of the delivery** | Colorado release | +| | | ++--------------------------------------+--------------------------------------+ + +Deliverables +------------ + +Software deliverables +~~~~~~~~~~~~~~~~~~~~~ +`JOID based installer script files `_ + +Known Limitations, Issues and Workarounds +========================================= + +Known issues +------------ + +**JIRA TICKETS:** + ++--------------------------------------+--------------------------------------+ +| **JIRA REFERENCE** | **SLOGAN** | +| | | ++--------------------------------------+--------------------------------------+ +| JIRA: YARDSTICK-325 | Provide raw format yardstick vm image| +| | for nova-lxd scenario(OPNFV) | ++--------------------------------------+--------------------------------------+ +| JIRA: | | ++--------------------------------------+--------------------------------------+ + + +Scenario Releases +================= +Name: joid-os-nosdn-lxd-ha +Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-nosdn-lxd-ha-baremetal-daily-colorado/ +Notes: + +Name: joid-os-nosdn-lxd-noha +Test Link: https://build.opnfv.org/ci/user/narindergupta/my-views/view/joid/job/joid-os-nosdn-lxd-noha-baremetal-daily-colorado/ +Notes: + +References +========== +LXD +--- +- `JUJU LXD charm `_ +- `LXD hypervisor `_ +- `LXD Story `_ + +Juju +---- +- `Juju Charm store `_ +- `Juju documents `_ + +MAAS +---- +- `Bare metal management (Metal-As-A-Service) `_ +- `MAAS API documents `_ + +JOID +---- +- `OPNFV JOID wiki `_ +- `OPNFV JOID User Guide `_ +- `OPNFV Release Notes `_ +- `OPNFV JOID Install Guide `_ + +OpenStack +--------- +- `OpenStack Mitaka Release artifacts `_ +- `OpenStack documentation `_ + -- cgit 1.2.3-korg