Tuesday, 2022-03-08

opendevreviewMichal Nasiadka proposed openstack/kayobe master: Add support for Rocky Linux 8  https://review.opendev.org/c/openstack/kayobe/+/83165208:04
opendevreviewMichal Nasiadka proposed openstack/kayobe master: Add support for Rocky Linux 8  https://review.opendev.org/c/openstack/kayobe/+/83165208:11
ironfootThe fact that `neturon.conf` configuration is "merged" from /etc/kolla/config/neutron.conf and not /etc/kolla/config/neutron/neutron.conf is confusing10:22
ironfoot      - "{{ node_custom_config }}/neutron.conf"10:22
ironfootoh, it's done like that in all the roles, but I just noticed this10:23
ironfootnevermind :)10:24
opendevreviewMark Goddard proposed openstack/kayobe master: libvirt: deploy libvirt on the host  https://review.opendev.org/c/openstack/kayobe/+/82535910:35
opendevreviewKonstantin Yarovoy proposed openstack/kolla master: Refactor image module  https://review.opendev.org/c/openstack/kolla/+/82871611:38
opendevreviewIvan Halomi proposed openstack/kolla-ansible master: Adding support of podman deployment  https://review.opendev.org/c/openstack/kolla-ansible/+/79922912:10
opendevreviewMichal Nasiadka proposed openstack/kayobe master: Add support for Rocky Linux 8  https://review.opendev.org/c/openstack/kayobe/+/83165213:13
spatelfolk! i help with kolla-ansible and manila  (i will also ask in manila IRC but just wanted to see i am not doing anything stupid with kolla). This is my issue - https://paste.opendev.org/show/bwLzT66mtGGEoxh8qoqv/14:06
vkmcspatel, I'm not entirely familiar with glusterfs itself, but it seems you are missing the client package14:12
vkmcglustefs and glusterfs-fuse 14:12
vkmcmaybe this can help https://docs.openstack.org/manila/latest/admin/glusterfs_driver.html14:12
spatelwhere i should install that package..? in manila_share container?14:12
spateli went through that doc many time in google search but didn't find any thing related 14:13
spateltell me if i am wrong its seems manila_share doesn't have  'mount.glusterfs' package.. am i reading this correct?14:15
vkmccarloss, o/ 14:15
vkmcthanks for joining14:15
vkmcrepasting spatel's log https://paste.opendev.org/show/bwLzT66mtGGEoxh8qoqv/14:15
spatelvkmc lets say for experiment i want to install that package in container then what is the way to install package in container?14:16
vkmcspatel, how are you building that container image? not sure if you have a change we can take a look into 14:16
spatelI just install All-in-one kind of kolla-ansible in lab14:17
vkmcok, so include that dependency on the image you are building 14:17
spateli don't have any container registry.  14:17
vkmcglusterfs-build 14:17
vkmcglusterfs-fuse* 14:17
spatelyes i want to install glusterfs-fuse package in manila_share docker container ( i am using centos8 wallaby)14:18
vkmccool14:18
spatelI tried docker exec -it method but its asking for sudo password :(14:18
vkmchmm not sure how those images are built 14:19
vkmcyou can try passing -u 0 to that 14:19
spatellet me try14:20
vkmcsure14:20
vkmcwhere are you getting this image from? 14:20
spatelimage provided by kolla-ansible repo.. i have no idea from where they came.. 14:22
spatelhow do i check if i want to find out14:22
spateli just follow kolla-anisble aio steps and didn't do any fancy stuff so not sure from where it comes from by default14:23
spatelassuming docker hub repo.. may be14:23
spatelvkmc i am not running own Docker registry. so assuming its coming from public 14:25
spatelsudo -u 0 not working :(14:28
spatelI would like to get root access of container and not sure how? - https://paste.opendev.org/show/bTtSXopPxCnmJGMVhU5n/14:38
spatelDamn it it works  docker exec -u 0 -it manila_share bash 14:46
spatelthanks to admin1 :)14:47
spateland vkmc :)14:47
spatelearlier i was trying docker -u 0 exec so that was my fault14:47
spatelhmm vkmc progress after installing glusterfs-client package inside manila_share container i am seeing this error - https://paste.opendev.org/show/bMpEnOcucdAgd99jxf7Z/14:51
spatelwhy manila_share trying to mount this share on container :O - sudo manila-rootwrap /etc/manila/rootwrap.conf mount -t glusterfs 10.30.1.206:/myshare/brick1/brick /var/lib/manila/mnt/myshare14:51
rockeyspatel: might even be so that you'll need; `docker exec -it -u 0 --entrypoint /bin/bash manila_share` in some cases, if entrypoint is set in image :)14:56
rockeyspatel: docker image inspect -f '{{.Config.Entrypoint}}' <image> will tell you the entrypoint in an image14:57
rockeyjust fyi14:57
spatelrockey that is great info :)15:00
spatelLets say i want to install some thirdparty package in container then is there a easy way to add those package in role or playbook ?15:01
rockeywell, either you utilize kolla-build in kolla project https://docs.openstack.org/kolla/latest/admin/image-building.html15:02
rockeyor do customizations via regular Dockerfiles, which me personally highly don't recommend :)15:03
yoctozeptospatel: yeah, I confirm we don't glusterfs preinstalled in Debuntu images, we probably should15:07
yoctozeptospatel: regarding the next issue - we will need the logs it mentions - otherwise we are lacking the batteries to my magic ball...15:07
opendevreviewMark Goddard proposed openstack/kolla stable/train: CentOS Stream 8: drop CentOS RabbitMQ 3.8 repo  https://review.opendev.org/c/openstack/kolla/+/83265015:07
rockeyyoctozepto: i'll send you some batteries, no worries :)15:08
opendevreviewJuan Pablo Suazo proposed openstack/kolla-ansible master: Adapts Ceilometer configurations so metrics can be pushed to an external Prometheus Pushgateway.  https://review.opendev.org/c/openstack/kolla-ansible/+/83265115:08
spatelyoctozepto yes we should because after installing glusterfs-client my issue got resolved15:08
spatelnow question is why manila_share mounting my glusterfs share? 15:09
spatelis manila_share will be in data path? 15:09
spateli thought manila will just tell client go here for your new share folder with permission15:10
yoctozeptorockey: :-)15:10
yoctozeptospatel: I believe it may want to prepare the permissions, but I don't know manila well - vkmc to the rescue ;-) 15:11
spatellets me do some testing and see who is in data path15:11
tbarronspatel: it's not in the data path; the gluster15:29
tbarrondriver does some checking etc. like this:15:29
tbarronhttps://opendev.org/openstack/manila/src/branch/master/manila/share/drivers/glusterfs/layout.py#L21115:29
opendevreviewRadosÅ‚aw Piliszek proposed openstack/kolla master: Install glusterfs-client in Debuntu  https://review.opendev.org/c/openstack/kolla/+/83266115:30
yoctozeptospatel: ^ enjoy ;-)15:31
carlosstbarron++ - the mount part is basically a check for the driver during the setup15:31
opendevreviewJuan Pablo Suazo proposed openstack/kolla-ansible master: Adapts Ceilometer configurations so metrics can be pushed to an external Prometheus Pushgateway.  https://review.opendev.org/c/openstack/kolla-ansible/+/83265115:31
gouthamrspatel: the driver also mounts shares to wipe out data during deletions: https://opendev.org/openstack/manila/src/branch/master/manila/share/drivers/glusterfs/layout_volume.py#L334-L37515:36
gouthamri think this is because the data's not really inaccessible by just unlinking the dataset 15:37
gouthamryour question on the ML made me read up the driver doc, and we've a call out here: https://docs.openstack.org/manila/latest/admin/glusterfs_driver.html#known-restrictions 15:38
* gouthamr also ey tbarron \o/15:38
opendevreviewJuan Pablo Suazo proposed openstack/kolla-ansible master: Ceilometer configurations now supports pushing metrics to Prometheus Pushgateway.  https://review.opendev.org/c/openstack/kolla-ansible/+/83265115:41
yoctozeptoalert, alert - the kolla channel has been overtaken by wild zorillas - alert, alert15:41
opendevreviewNathan Taylor proposed openstack/kolla-ansible master: Adds etcd endpoints as a Prometheus scrape target  https://review.opendev.org/c/openstack/kolla-ansible/+/83184815:42
spateltbarron thank you for confirmation.. :) 15:49
spatelgouthamr tbarron dealing with this issue, any idea - https://paste.opendev.org/show/bSlL1KSZqs4yJvl9iWXa/15:52
gouthamrspatel: are you using admin creds? the /v2/services endpoint has a default RBAC that only allows role:admin15:53
spatelgouthamr i did - source /etc/kolla/admin-openrc.sh15:57
spateli can create vm and do all other operation 15:57
gouthamrhmmm, that'd be weird; i can't reproduce it on my end. can you verify: openstack role assignment list --names --user OS_USERNAME16:01
gouthamr$OS_USERNAME*16:01
spatelhttps://paste.opendev.org/show/bae9DgkTMMXVLogduVPc/16:01
gouthamrdo you have any custom rbac? 16:02
spatelno, i didn't create anything fancy.. just install manila with default kolla-ansible way16:02
spatelwhat is your output saying - openstack role assignment list --names --user16:09
spatelgouthamr this is related may be - https://bugs.launchpad.net/charm-manila-ganesha/+bug/195276316:14
gouthamrspatel: may be, here's my o/p; https://paste.opendev.org/show/b1Fo3j0RB0rtKxS3e9GI/16:21
gouthamri wonder if there's a policy.json file interfering here, i'm not too familiar with what kolla does with policies.. 16:22
gouthamratleast that's what the manila juju charm seems to be doing -- generating a policy.json file 16:23
opendevreviewMerged openstack/kolla-ansible master: Make cron logfile minsize,maxsize configurable  https://review.opendev.org/c/openstack/kolla-ansible/+/81086116:33
spatelgouthamr i am trying to figure out what is going on16:47
gouthamrspatel: can you look in /etc/kolla/config/manila for any custom policy file?16:58
spatelI don't have that directory here /etc/kolla/config/manila16:59
spateli am thinking to remove /etc/manila/policy.json file and see16:59
gouthamr^ ack16:59
vkmctbarron, gouthamr, thanks for following this up :) got into some meetings 17:00
spatelshould i remove it in manila_api or manila_share.. let me try api first17:00
gouthamrapi17:00
gouthamrmanila_share doesn't need the policy file17:00
spatelgouthamr it works! :)  17:02
spatelhttps://paste.opendev.org/show/bsjlJULNFsB0JomCS0fa/17:02
spatelI did that on only manila_api container only17:04
gouthamrnice, spatel -- so this is another bug here17:05
spatelkolla-ansible should remove that file and let user decide to add it back 17:05
gouthamrcould you please report it on launchpad? 17:05
spatelsure doing it now17:05
kevkospatel: sorry, I noticed that you had some problems with policy ? 17:07
kevkospatel: I had also some time ago (with debian binary build type - because packages provides policy for service)17:08
spatelYes.. i have added manila service and after that i started seeing this bug https://bugs.launchpad.net/charm-manila-ganesha/+bug/195276317:08
kevkospatel: i didn't read whole chain of your problem, but you had policy inside container which was not provided by kolla-ansible ..but burned into image ? 17:08
spateli have no idea from where that policy.json came (i didn't do anything fancy related policy). you are saying possible it came from image itself not part of kolla-ansible playbook correct?17:09
spatelhttps://paste.opendev.org/show/bsjlJULNFsB0JomCS0fa/17:10
kevkospatel: yes, of course 17:11
kevkospatel: which type of images did you use 17:11
kevkospatel: btw, i've provided patch for this some time ago -> https://review.opendev.org/c/openstack/kolla/+/81247917:11
spatelkevko its very good question. I am new to kolla and just install aio and not sure from where default images come? how do i check from where they came?17:11
spatelkevko ah! so solution is already on the way :)17:12
spateli don't have any docker local registry 17:13
kevkospatel: docker inspect manila_api | grep -i image17:17
spatelkevko https://paste.opendev.org/show/bg4iTuUYinxLLcxJf3Sq/17:17
kevkospatel: well, and that's the point ! 17:17
spatelso where is the best place to get image for production?17:18
kevkospatel: if you will use quay.io/openstack.kolla/ubuntu-source-manila-api:wallaby .. you will be fine 17:19
spateloh ok17:20
spatelthat is what i am using :)17:20
kevkospatel: no - > you are using this -> quay.io/openstack.kolla/ubuntu-binary-manila-api:wallaby17:21
kevkospatel: sed -e 's/binary/source/g'17:21
spatelhmm source 17:22
spatelkolla_install_type: "source"  <- i should do this correct?17:22
opendevreviewMichal Nasiadka proposed openstack/kolla-ansible master: haproxy: support single external frontend  https://review.opendev.org/c/openstack/kolla-ansible/+/82339517:56
opendevreviewJames Kirsch proposed openstack/kolla-ansible master: Add support for LetsEncrypt-managed certs  https://review.opendev.org/c/openstack/kolla-ansible/+/74134018:02
opendevreviewMerged openstack/kolla-ansible master: [TrivialFix] Remove old comment  https://review.opendev.org/c/openstack/kolla-ansible/+/83213518:12
opendevreviewMichal Nasiadka proposed openstack/kolla-ansible master: haproxy: support single external frontend  https://review.opendev.org/c/openstack/kolla-ansible/+/82339518:19

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!