Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions pf9-express
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ install_oscli() {
mkvirtualenv os_cli > ${log} 2>&1

echo "--> Upgrading PIP"
pip install pip --upgrade > ${log} 2>&1
pip install pip==20.3.4 --upgrade > ${log} 2>&1

echo "--> Installing OpenStack CLI"
pip install --upgrade --requirement \
Expand Down Expand Up @@ -390,12 +390,22 @@ install_prereqs() {
done

## upgrade pip
sudo pip install --upgrade pip > ${log} 2>&1
sudo pip install --upgrade pip==20.3.4 > ${log} 2>&1
if [ $? -ne 0 ]; then
echo -e "\nERROR: failed to upgrade pip - here's the last 10 lines of the log:\n"
tail -10 ${log}; exit 1
fi

# Install pbr
for pkg in 'pbr==5.6.0'; do
echo -n "${pkg} "
sudo pip install ${pkg} --ignore-installed > ${log} 2>&1
if [ $? -ne 0 ]; then
echo -e "\nERROR: failed to install ${pkg} - here's the last 10 lines of the log:\n"
tail -10 ${log}; exit 1
fi
done

## install additional pip-based packages
for pkg in 'openstacksdk==0.39.0' docker-py; do
echo -n "${pkg} "
Expand Down
7 changes: 7 additions & 0 deletions roles/glance-host/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
---
# CentOS
- block:
- name: install the latest version ca-certificates
yum:
name: ca-certificates
state: latest
when: ansible_distribution == "CentOS"

- name: Create Glance image library path
file:
Expand Down
2 changes: 1 addition & 1 deletion roles/neutron-prerequisites/tasks/redhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

- name: Add Platform9 Yum repository
yum:
name: https://s3-us-west-1.amazonaws.com/platform9-neutron/noarch/platform9-neutron-repo.noarch.rpm
name: https://s3-us-west-1.amazonaws.com/platform9-neutron/noarch/platform9-neutron-repo-1-0.noarch.rpm
state: present
update_cache: yes

Expand Down
5 changes: 5 additions & 0 deletions roles/qemu-kvm-ev/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
copy:
dest: /etc/yum/vars/contentdir
content: 'centos'

- name: install the epel-release repo
yum:
name: epel-release
state: latest

- name: install the centos-release-qemu-ev repo
yum:
Expand Down