yuyu_web/docs/pre-installation.md

95 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

2023-02-14 01:12:40 +07:00
# Pre-Installation
### **Virtualenv**
Make sure you installed virtualenv before installing Yuyu
```
pip3 install virtualenv
apt install python3.8
```
### **Openstack Service Notification**
You need to enable notification for this openstack service if ceilometer and gnochi service **not activated**:
- Nova (nova.conf)
- Cinder (cinder.conf)
- Neutron (neutron.conf)
- Keystone (keystone.conf)
### **1. Nova**
Open `nova.conf` configuration on your controller environment
```
sudo nano nova.conf
```
Add configuration below `oslo_messaging_notifications`
```
driver = messagingv2
topics = notifications
```
![nova1](assets/images/nova1.png)
And add configuration below on `notifications`
```
notify_on_state_change = vm_and_task_state
notification_format = unversioned
```
![nova2](assets/images/nova2.png)
### **2. Cinder**
Open `cinder.conf` configuration on your controller environment
```
sudo nano cinder.conf
```
Add configuration below on `oslo_messaging_notifications`
```
driver = messagingv2
topics = notifications
```
![cinder1](assets/images/cinder1.png)
### **3. Neutron**
Open `neutron.conf` configuration on your controller environment
```
sudo nano neutron.conf
```
Add configuration below on `oslo_messaging_notifications`
```
driver = messagingv2
topics = notifications
```
![neutron1](assets/images/neutron1.png)
### **4. Keystone**
Open `keystone.conf` configuration on your controller environment
```
sudo nano keystone.conf
```
Add configuration below on `oslo_messaging_notifications`
```
driver = messagingv2
topics = notifications
```
![neutron1](assets/images/neutron1.png)