Stanley
Тут еще вылезает вопрос разделения ответственности. Есть сетевики, есть ос.
Stanley
Но вообще интересно было бы собрать стенд и сравнить: нормальный lacp с хешами по l2-l3 и mpio. Как iscsi будет на это безобразие с линками реагировать.
Fedor
я собирал, коллеги собирали, я с коллегами собирал, коллеги без меня собирали, какие-то левые чуваки собирали, ни у кого не получилось. потом начинается нытьё и jira тикеты на тему "а нам тут коммутатор обновить бы, готовьте или жопу или maintenance окно"
Aleksandr
Stanley
Stanley
Aleksandr
да
Stanley
да
А было сравнение с lacp?
SergeyT
mpio нужен всегда, если у схд две головы. с ласпом или без него. Просто у Вас будет на пути два коммутатора или один "виртуальный"
Stanley
Fedor
Aleksandr
SergeyT
Fedor
ладно, давайте другой вопрос, меня он давно мучает.
допустим понятно что мы мудаки и подняли keepalived в vxlan сети, прописали allowed адресс пары на двух портах и пустили трафик на этот виртуальный ип с виртуальным маком. вопрос - есть хоть одна причина, почему этот трафик не будет срать поверх всего оверлея или есть бест практисы какие?
Илья | 😶☮️🐸
Fedor
если IP вещается с маком активного keepalived, вопросов скорее нет. а если с виртуальным маком?
Aleksandr
А кто нить glance на cinder натравливал ? Что-то нифига не понимаю, что этот гад от меня хожет
Илья | 😶☮️🐸
Aleksandr
(svp-01) root@svp-01-control01:/opt/svp-01# openstack volume type list
+--------------------------------------+-------------+-----------+
| ID | Name | Is Public |
+--------------------------------------+-------------+-----------+
| 76c332a6-e992-4449-be88-69d6017a8c21 | netapp | True |
| 840bf73b-4ac5-4841-b9c8-1aef5be06244 | DEFAULT | True |
+--------------------------------------+-------------+-----------+
Aleksandr
Fedor
kn
@ftarasenko спасибо!
Dmitry
2021-12-06 12:57:28.203 18 ERROR glance_store._drivers.cinder [req-ec3c8f82-0a2b-40c4-b7f6-ba88faffd765 21ce386ba7434f2fbc5ea60e77a2c883 95dd142b9a044439bc56d4b705605aa9 - default default] Invalid volume
type netapp configured. Please check the cinder_volume_type configuration parameter.: cinderclient.exceptions.NotFound: Not Found (HTTP 404)
2021-12-06 12:57:28.204 18 ERROR glance.api.v2.image_data [req-ec3c8f82-0a2b-40c4-b7f6-ba88faffd765 21ce386ba7434f2fbc5ea60e77a2c883 95dd142b9a044439bc56d4b705605aa9 - default default] Failed to upload im
age data due to internal error: glance_store.exceptions.BackendException: Failed to create image-volume due to invalid cinder_volume_type configured.
2021-12-06 12:57:28.234 18 ERROR glance.common.wsgi [req-ec3c8f82-0a2b-40c4-b7f6-ba88faffd765 21ce386ba7434f2fbc5ea60e77a2c883 95dd142b9a044439bc56d4b705605aa9 - default default] Caught error: Failed to c
reate image-volume due to invalid cinder_volume_type configured.: glance_store.exceptions.BackendException: Failed to create image-volume due to invalid cinder_volume_type configured.
Configuring multiple Cinder Storage Backend
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From Victoria onwards Glance fully supports configuring multiple cinder
backends and user/operator will decide which cinder backend to use. While
using cinder as a store for glance, operator may configure which volume
types to used by setting the `enabled_backends` configuration option in
`glance-api.conf`. For each of the stores defined in `enabled_backends`
administrator has to set specific `volume_type` using
`cinder_volume_type` configuration option in its own config section.
NOTE Even in cinder one backend can be associated with multiple
volume type(s), glance will support only one store per cinder volume type.
Below are some multiple cinder store configuration examples.
Example 1: Fresh deployment
For example, if cinder has configured 2 volume types fast and slow then
glance configuration should look like;::
[DEFAULT]
# list of enabled stores identified by their property group name
enabled_backends = fast:cinder, slow:cinder
# the default store, if not set glance-api service will not start
[glance_store]
default_backend = fast
# conf props for fast store instance
[fast]
rootwrap_config = /etc/glance/rootwrap.conf
cinder_volume_type = glance-fast
description = LVM based cinder store
cinder_catalog_info = volumev2::publicURL
cinder_store_auth_address = http://localhost/identity/v3
cinder_store_user_name = glance
cinder_store_password = admin
cinder_store_project_name = service
# etc..
Example 2: Upgrade from single cinder store to multiple cinder stores, if
default_volume_type is set in cinder.conf and cinder_volume_type is
also set in glance-api.conf then operator needs to create one store in
glance where cinder_volume_type is same as the old glance configuration::
# cinder.conf
The glance administrator has to find out what the default volume-type is
in the cinder installation, so they need to discuss with either cinder
admin or cloud admin to identify default volume-type from cinder and then
explicitly configure that as the value of `cinder_volume_type`.
Example config before upgrade::
# old configuration in glance
[glance_store]
stores = cinder, file, http
default_store = cinder
cinder_state_transition_timeout = 300
rootwrap_config = /etc/glance/rootwrap.conf
cinder_catalog_info = volumev2::publicURL
cinder_volume_type = glance-old
Example config after upgrade::
# new configuration in glance
[DEFAULT]
enabled_backends = old:cinder, new:cinder
[glance_store]
default_backend = new
[new]
rootwrap_config = /etc/glance/rootwrap.conf
cinder_volume_type = glance-new
description = LVM based cinder store
cinder_catalog_info = volumev2::publicURL
cinder_store_auth_address = http://localhost/identity/v3
cinder_store_user_name = glance
cinder_store_password = admin
cinder_store_project_name = service
# etc..
[old]
rootwrap_config = /etc/glance/rootwrap.conf
cinder_volume_type = glance-old # as per old cinder.conf
description = NFS based cinder store
cinder_catalog_info = volumev2::publicURL
cinder_store_auth_address = http://localhost/identity/v3
cinder_store_user_name = glance
cinder_store_password = admin
cinder_store_project_name = service
# etc..
Илья | 😶☮️🐸
Господа, а гланс, собственно знает откуда отдавать образ если у нас несколько хранилищ ?
Aleksandr
@gmorfy Уже читал. -((
Dmitry
ну тогда надо конфиг смотреть
Aleksandr
меня вот это больше морозит
Aleksandr
2021-12-06 13:44:02.566 22 ERROR glance_store._drivers.cinder [req-18f802da-f9ae-4f40-94fb-2a45d3a0a4a8 21ce386ba7434f2fbc5ea60e77a2c883 95dd142b9a044439bc56d4b705605aa9 - default default] Invalid volume
type netapp configured. Please check the cinder_volume_type configuration parameter.: cinderclient.exceptions.NotFound: Not Found (HTTP 404)
Aleksandr
но руками через openstack volume create —type netapp норм создается
Artemy
У синдера волюмтайп netapp определён?
Aleksandr
да
Aleksandr
(svp-01) root@svp-01-control01:/opt/svp-01# openstack volume type list
+--------------------------------------+-------------+-----------+
| ID | Name | Is Public |
+--------------------------------------+-------------+-----------+
| 76c332a6-e992-4449-be88-69d6017a8c21 | netapp | True |
| 840bf73b-4ac5-4841-b9c8-1aef5be06244 | DEFAULT | True |
+--------------------------------------+-------------+-----------+
Dmitry
Dmitry
можно еще попробовать логи циндера глануть, куда в него гланса стучится
Artemy
Yuf
Yuf
Inbox open source billing есть для опенстек норм?
NS 🇷🇺
NS 🇷🇺
и да норма нету
Yuf
Есть такое
Dim
всем привет!
Boris 🦍
привет, а openstack можно как-то быстро поднять например в vagrant ? чисто поиграться ?
Илья | 😶☮️🐸
Boris 🦍
devstack
спасибо, погуглю что это
Ilya
Boris 🦍
Я и твой кот
https://www.mirantis.com/wp-content/uploads/2016/09/mirantis_ikea.gif
Я и твой кот
https://www.mirantis.com/wp-content/uploads/2016/09/megarantis-tshirt-front.png
NS 🇷🇺
Откуда народ опять привалил?
Aleksandr
Первая картинка была на футболке на 6 лет кажется ))) Мегарантис наклейка у меня на личном Dell XPS15 висит -)
Aleksey
NS 🇷🇺
Pavel
Это где?
выше было, но потёрли. :)
Я и твой кот
Это где?
До $20k в Мирантис
Я и твой кот
Я не понимаю, почему удаляют. Не видел этих сообщений. Ко мне просто в личку пришли.
Я и твой кот
Я и твой кот
Я и твой кот
Предварительно поинтересовавшись, являюсь ли я в контрибьютором/коммиттером.
Stanley
Интересно, почему никто не соглашается? :) Жырно же
Stanley
Dmitry
В предпоследний раз удалёнку предлагали же
Я и твой кот
Я и твой кот
AcidMan
Jürgen
Stanley