Thursday, 2023-01-26

itsgurmannatsohalWhile setting up the manila workspace, we need to source the admin credentials to gain access to admin CLI commands via the ". admin-openrc.sh" command. Where is this admin-openrcl.sh file located though? Devstack only has an openrcl file00:24
gouthamritsgurmannatsohal: where are you reading those instructions?00:32
itsgurmannatsohalhttps://docs.openstack.org/manila/latest/install/install-controller-debian.html00:33
gouthamritsgurmannatsohal: i see; those instructions wouldn't apply to a devstack environment00:33
gouthamritsgurmannatsohal: source the "openrc" file in the devstack folder instead -- for example:  source ~/devstack/openrc admin demo00:34
gouthamrdevstack creates a few initial users for you to play with - "admin", "demo", "alt_demo" are three users you'll find exist on devstack already00:35
gouthamrthere will also be three namespaces/"projects" with the same names: admin, demo and alt_demo00:35
gouthamrso the "openrc" script takes two inputs: username and project name00:36
gouthamrand the script is capable of setting some environment variables that commands can then use -- so when you source ~/devstack/openrc admin demo, you're setting env variables needed for the "admin" user on the "demo" project namespace to interact with the cloud00:37
itsgurmannatsohalI sourced the admin credentials and that gave no errors. But running the next command "openstack user create --domain default --password-prompt manila" throws errors00:41
itsgurmannatsohalFailed to discover available identity versions when contacting http://10.25.1.18/identity. Attempting to parse version from URL.00:41
itsgurmannatsohalCould not find versioned identity endpoints when attempting to authenticate. Please check that your auth_url is correct. Service Unavailable (HTTP 503)00:41
gouthamritsgurmannatsohal: hmm a couple of thoughts there - one, no need to create an openstack user called manila on a devstack - this part should have been done for you.. did you use the manila devstack instructions? (https://docs.openstack.org/manila/latest/contributor/development-environment-devstack.html)00:43
gouthamritsgurmannatsohal - two, it looks like keystone may be having an issue in this environment -- but, lets circle back on this after we figure out the first issue00:44
opendevreviewGoutham Pacha Ravi proposed openstack/manila master: Add filesystem info to FSAL in CephFS NFS  https://review.opendev.org/c/openstack/manila/+/86121600:49
itsgurmannatsohalrunning ./stack.sh throws mysql errors. It does not wait for me to put in a password, rather shuts down on being denied db access. "ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)00:54
itsgurmannatsohal"00:54
gouthamritsgurmannatsohal: had you previously run stack.sh in your environment?00:57
gouthamritsgurmannatsohal: also, please share the contents of your "local.conf" file: https://paste.openstack.org 00:59
itsgurmannatsohalthere was a minor error in my local.conf file. Corrected it and ran the script again, which executed successfully. But on verifying the status of services, it says that "Unit devstack@m-sch.service could not be found"01:27
itsgurmannatsohalhere is my local.conf if needed. [[local|localrc]] ADMIN_PASSWORD=admin DATABASE_PASSWORD=password RABBIT_PASSWORD=admin SERVICE_PASSWORD=admin01:28
opendevreviewMerged openstack/manila master: Add filesystem info to FSAL in CephFS NFS  https://review.opendev.org/c/openstack/manila/+/86121606:26
opendevreviewMerged openstack/manila master: Use new get_rpc_client API from oslo.messaging  https://review.opendev.org/c/openstack/manila/+/87116206:49
*** dviroel|out is now known as dviroel11:32
*** dviroel_ is now known as dviroel11:45
opendevreviewCarlos Eduardo proposed openstack/manila-tempest-plugin master: Add dummy dhss job to stable/zed  https://review.opendev.org/c/openstack/manila-tempest-plugin/+/87177912:06
opendevreviewMerged openstack/manila-tempest-plugin master: Skip replication test if microversion is not supported  https://review.opendev.org/c/openstack/manila-tempest-plugin/+/87177515:24
opendevreviewkiran pawar proposed openstack/manila-tempest-plugin master: Add tests replica create with 'share-network' option.  https://review.opendev.org/c/openstack/manila-tempest-plugin/+/80458916:01
itsgurmannatsohalIDENTIFY18:01
itsgurmannatsohalthere was a minor error in my local.conf file. Corrected it and ran the script again, which executed successfully. But on verifying the status of services, it says that "Unit devstack@m-sch.service could not be found"18:01
itsgurmannatsohalWhat can be done?18:01
gouthamrhey itsgurmannatsohal 18:11
gouthamritsgurmannatsohal: sorry, was late to reply yesterday, and you were gone by then... so, please use https://docs.openstack.org/manila/latest/contributor/development-environment-devstack.html as your guide18:11
itsgurmannatsohalhi gouthamr18:12
gouthamritsgurmannatsohal: by default, none of the manila services are enabled unless you specify some local.conf settings18:12
itsgurmannatsohali'm using the same guide but that was giving me errors on running18:12
itsgurmannatsohal"systemctl status devstack@m-sch"18:12
gouthamritsgurmannatsohal take a look at the sample local.confs linked on that page ^; i would suggest using the LVM driver's example18:12
gouthamritsgurmannatsohal: the local.conf you pasted on chat here doesn't contain the config lines needed to enable manila18:14
itsgurmannatsohali'll run the script again after changing the local.conf and get back to you. thank you18:14
gouthamritsgurmannatsohal: yep; forewarning if you haven't done this before -- you can't re-run "stack.sh" without first running "unstack.sh" 18:15
itsgurmannatsohalyes thanks18:17
itsgurmannatsohalshould i edit the RABBIT_PASSWORD and SERVICE_PASSWORD?18:26
gouthamritsgurmannatsohal: nope - they can all be the same for simplicity18:26
opendevreviewMerged openstack/puppet-manila stable/wallaby: Add support for MultiStrOpt  https://review.opendev.org/c/openstack/puppet-manila/+/87150718:56
opendevreviewMerged openstack/manila stable/yoga: [Infinidat] fixed host assisted migration  https://review.opendev.org/c/openstack/manila/+/87104619:15
itsgurmannatsohal Devstack devstack@m-dat.service19:35
itsgurmannatsohal     Loaded: loaded (/etc/systemd/system/devstack@m-dat.service; enabled; vendor preset: enabled)19:35
itsgurmannatsohal     Active: inactive (dead) since Thu 2023-01-26 23:56:12 EST; 7min ago19:35
itsgurmannatsohal    Process: 3299745 ExecStart=/usr/local/bin/manila-data --config-file /etc/manila/manila.conf (code=exited, status=0/SUCCESS)19:35
itsgurmannatsohal   Main PID: 3299745 (code=exited, status=0/SUCCESS)19:35
itsgurmannatsohal        CPU: 1.994s19:35
itsgurmannatsohalReceived this error on running script19:35
*** dviroel is now known as dviroel|out20:58
itsgurmannatsohalAny tips for this error?20:58
gouthamrhey itsgurmannatsohal - i don't see the error in the log you're pasting here21:05
gouthamritsgurmannatsohal: besides it being inactive, but did devstack fail?21:06
gouthamrif yes, can you paste the log from your console onto https://paste.opendev.org and link us?21:06
itsgurmannatsohalit was followed by 'ERROR oslo_service.service oslo_db.exception.DBDuplicateEntry: (pymysql.err.IntegrityError) (1062, "Duplicate entry 'nova-False' for key 'availability_zones.az_name_uc'")'21:07
itsgurmannatsohalERROR oslo_service.service [SQL: INSERT INTO availability_zones (created_at, updated_at, deleted_at, id, deleted, name) VALUES (%(created_at)s, %(updated_at)s, %(deleted_at)s, %(id)s, %(deleted)s, %(name)s)]21:07
itsgurmannatsohalERROR oslo_service.service (Background on this error at: https://sqlalche.me/e/14/gkpj)21:07
itsgurmannatsohalJan 26 23:56:12 poseidon manila-data[3299745]: ERROR oslo_service.service 21:07
gouthamritsgurmannatsohal: thanks, yes - its a recent regression that we are still trying to resolve21:12
itsgurmannatsohalthen what should i do now?21:13
itsgurmannatsohaldespite the error, i think i can continue. the services are running21:14
gouthamrlemme think; one possibility is to just disable the data service and avoid this21:14
gouthamryes; you're just missing a few more customizations21:14
gouthamritsgurmannatsohal: the failure occurred here: https://github.com/openstack/manila/blob/2f335893f6019929b0f0cb4347548a7645277f7a/devstack/plugin.sh#L128321:15
gouthamrsry21:16
gouthamra few lines above where it invokes "start_rest_of_manila"21:16
gouthamrtry "source devstack/openrc admin" and "manila service-list"21:17
gouthamrif that doesn't give you errors, you may be able to salvage this environment for your bugfix while we work on resolving the devstack issue 21:17
itsgurmannatsohalyeah i tries these commands, received no errors21:18
itsgurmannatsohalthe services are up and running21:18
itsgurmannatsohalwould setting up the devstack environment be enough to work on manila or do i need to follow this as well? https://docs.openstack.org/manila/latest/install/index.html21:37
opendevreviewMerged openstack/manila master: [NetApp] fallback to cifs-server force delete on vserver cleanup  https://review.opendev.org/c/openstack/manila/+/86329522:16
gouthamritsgurmannatsohal: o/ no - the install guide is not for development environments23:12
opendevreviewGoutham Pacha Ravi proposed openstack/manila stable/zed: Add filesystem info to FSAL in CephFS NFS  https://review.opendev.org/c/openstack/manila/+/87189923:50

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