2.3. 구성 에이전트 업데이트


중요

이 섹션은 Red Hat OpenStack Platform 8.0 초기 릴리스에서 업데이트하는 경우에만 필요합니다. 이전 업데이트에서 이 단계를 수행한 경우 무시할 수 있습니다.

알려진 문제( BZ#12781 참조)로 인해 오버클라우드에는 구성 에이전트를 수동으로 구성해야 합니다. 이를 위해서는 director에서 Overcloud의 각 노드로 새 버전의 설정 에이전트 스크립트를 복사해야 합니다.

director 호스트에 stack 사용자로 로그인하고 Undercloud 설정을 소싱합니다.

$ source ~/stackrc
Copy to Clipboard Toggle word wrap

구성 에이전트(55-heat-config)를 각 Overcloud 노드에 복사합니다. 다음 명령을 사용하여 모든 호스트에 대해 이 작업을 수행합니다.

$ for i in $(nova list | awk '/Running/ {print $(NF-1)}' | awk -F"=" '{print $NF}' ) ; do echo $i ; scp -o StrictHostKeyChecking=no /usr/share/openstack-heat-templates/software-config/elements/heat-config/os-refresh-config/configure.d/55-heat-config heat-admin@${i}: ; ssh -o StrictHostKeyChecking=no heat-admin@${i} 'sudo /bin/bash -c "cp /home/heat-admin/55-heat-config /usr/libexec/os-refresh-config/configure.d/55-heat-config"' ; done
Copy to Clipboard Toggle word wrap

이렇게 하면 구성 에이전트가 최신 상태로 유지됩니다.

이 Overcloud는 일부 배포 후 파일도 다시 생성해야 합니다. director에는 이 작업을 수행하는 스크립트가 포함되어 있습니다. 각 노드에서 heat-config-rebuild-deployed 스크립트를 복사하고 실행합니다. 다음 명령을 사용하여 모든 노드에 이 작업을 수행합니다.

$ for i in $(nova list | awk '/Running/ {print $(NF-1)}' | awk -F"=" '{print $NF}') ; do echo $i ; scp  -o StrictHostKeyChecking=no /usr/share/openstack-heat-templates/software-config/elements/heat-config/bin/heat-config-rebuild-deployed heat-admin@${i}: ; ssh -o StrictHostKeyChecking=no heat-admin@${i} 'sudo /bin/bash -c "mkdir -p /usr/share/openstack-heat-templates/software-config/elements/heat-config/bin ; cp heat-config-rebuild-deployed /usr/share/openstack-heat-templates/software-config/elements/heat-config/bin/heat-config-rebuild-deployed ; chmod +x /usr/share/openstack-heat-templates/software-config/elements/heat-config/bin/heat-config-rebuild-deployed ; /usr/share/openstack-heat-templates/software-config/elements/heat-config/bin/heat-config-rebuild-deployed"' ; done
Copy to Clipboard Toggle word wrap
맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

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

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

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

Red Hat 소개

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

Theme

© 2025 Red Hat