이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 3. Install OpenDaylight on the overcloud


Red Hat OpenStack Platform director 10 provides an overcloud image that contains all of the necessary software for OpenStack services that run on overcloud nodes. However, the OpenDaylight software and dependencies are not included in the image by default. To install OpenDaylight, use the virt-customize command on the undercloud to upload the OpenDaylight RPM and install it:

Prepare the installation of OpenDaylight

  1. Log on to the undercloud node.
  2. Run the script:

    $ source ~/stackrc
    Copy to Clipboard Toggle word wrap
  3. Install the following packages:

    $ sudo yum -y install libguestfs-tools libvirt rhosp-director-images
    Copy to Clipboard Toggle word wrap
  4. Start the libvirtd service:

    $ sudo systemctl start libvirtd
    Copy to Clipboard Toggle word wrap
  5. Create the directory where you will store the images:

    $ mkdir ~/images
    Copy to Clipboard Toggle word wrap
  6. Enter the directory:

    $ cd ~/images
    Copy to Clipboard Toggle word wrap
  7. Extract the overcloud-full.tar file:

    $ tar xvf /usr/share/rhosp-director-images/overcloud-full.tar
    Copy to Clipboard Toggle word wrap
  8. Extract the ironic-python-agent.tar file:

    $ tar xvf  /usr/share/rhosp-director-images/ironic-python-agent.tar
    Copy to Clipboard Toggle word wrap

Install the OpenDaylight packages

  1. Register the image with your RHN user:

    $ virt-customize -a overcloud-full.qcow2 --run-command 'subscription-manager register --username <your RHN user>  --password <RHN password>’
    Copy to Clipboard Toggle word wrap
  2. Attach the Red Hat Enterprise Linux subscription:

    $ virt-customize -a overcloud-full.qcow2 --run-command 'subscription-manager attach --pool <pool id>'
    Copy to Clipboard Toggle word wrap
  3. Enable the necessary repositories in your image:

    $ virt-customize -a overcloud-full.qcow2 --run-command 'subscription-manager repos --enable=rhel-7-server-rpms --enable=rhel-7-server-extras-rpms --enable=rhel-7-server-openstack-10-rpms'
    Copy to Clipboard Toggle word wrap
  4. Install the OpenDaylight package and its dependencies:

    $ virt-customize -a overcloud-full.qcow2 --install opendaylight --selinux-relabel --update
    Copy to Clipboard Toggle word wrap
  5. Detach the subscription and unregister the image:

    $ virt-customize -a overcloud-full.qcow2 --run-command 'subscription-manager remove --all && subscription-manager unregister && subscription-manager clean'
    Copy to Clipboard Toggle word wrap
  6. If you do not have an overcloud image installed, skip this and proceed to next step. Otherwise update the image:

    $ openstack overcloud image upload --update-existing --image-path ~/images/
    Copy to Clipboard Toggle word wrap
  7. If you have skipped Step 6, upload the new overcloud image to glance:

    $ openstack overcloud image upload
    Copy to Clipboard Toggle word wrap

More information

  • If you need to update the images on the undercloud before you start the procedure, use:

    $ sudo openstack overcloud image upload --update
    Copy to Clipboard Toggle word wrap
  • To get the Pool ID (Step 10), you can run:

    subscription-manager list --available
    Copy to Clipboard Toggle word wrap
  • See the Red Hat Subscription Management guide for more details.
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2026 Red Hat
맨 위로 이동