itsgurmannatsohal | While 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 file | 00:24 |
---|---|---|
gouthamr | itsgurmannatsohal: where are you reading those instructions? | 00:32 |
itsgurmannatsohal | https://docs.openstack.org/manila/latest/install/install-controller-debian.html | 00:33 |
gouthamr | itsgurmannatsohal: i see; those instructions wouldn't apply to a devstack environment | 00:33 |
gouthamr | itsgurmannatsohal: source the "openrc" file in the devstack folder instead -- for example: source ~/devstack/openrc admin demo | 00:34 |
gouthamr | devstack creates a few initial users for you to play with - "admin", "demo", "alt_demo" are three users you'll find exist on devstack already | 00:35 |
gouthamr | there will also be three namespaces/"projects" with the same names: admin, demo and alt_demo | 00:35 |
gouthamr | so the "openrc" script takes two inputs: username and project name | 00:36 |
gouthamr | and 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 cloud | 00:37 |
itsgurmannatsohal | I sourced the admin credentials and that gave no errors. But running the next command "openstack user create --domain default --password-prompt manila" throws errors | 00:41 |
itsgurmannatsohal | Failed to discover available identity versions when contacting http://10.25.1.18/identity. Attempting to parse version from URL. | 00:41 |
itsgurmannatsohal | Could not find versioned identity endpoints when attempting to authenticate. Please check that your auth_url is correct. Service Unavailable (HTTP 503) | 00:41 |
gouthamr | itsgurmannatsohal: 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 |
gouthamr | itsgurmannatsohal - 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 issue | 00:44 |
opendevreview | Goutham Pacha Ravi proposed openstack/manila master: Add filesystem info to FSAL in CephFS NFS https://review.opendev.org/c/openstack/manila/+/861216 | 00:49 |
itsgurmannatsohal | running ./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 |
gouthamr | itsgurmannatsohal: had you previously run stack.sh in your environment? | 00:57 |
gouthamr | itsgurmannatsohal: also, please share the contents of your "local.conf" file: https://paste.openstack.org | 00:59 |
itsgurmannatsohal | there 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 |
itsgurmannatsohal | here is my local.conf if needed. [[local|localrc]] ADMIN_PASSWORD=admin DATABASE_PASSWORD=password RABBIT_PASSWORD=admin SERVICE_PASSWORD=admin | 01:28 |
opendevreview | Merged openstack/manila master: Add filesystem info to FSAL in CephFS NFS https://review.opendev.org/c/openstack/manila/+/861216 | 06:26 |
opendevreview | Merged openstack/manila master: Use new get_rpc_client API from oslo.messaging https://review.opendev.org/c/openstack/manila/+/871162 | 06:49 |
*** dviroel|out is now known as dviroel | 11:32 | |
*** dviroel_ is now known as dviroel | 11:45 | |
opendevreview | Carlos Eduardo proposed openstack/manila-tempest-plugin master: Add dummy dhss job to stable/zed https://review.opendev.org/c/openstack/manila-tempest-plugin/+/871779 | 12:06 |
opendevreview | Merged openstack/manila-tempest-plugin master: Skip replication test if microversion is not supported https://review.opendev.org/c/openstack/manila-tempest-plugin/+/871775 | 15:24 |
opendevreview | kiran pawar proposed openstack/manila-tempest-plugin master: Add tests replica create with 'share-network' option. https://review.opendev.org/c/openstack/manila-tempest-plugin/+/804589 | 16:01 |
itsgurmannatsohal | IDENTIFY | 18:01 |
itsgurmannatsohal | there 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 |
itsgurmannatsohal | What can be done? | 18:01 |
gouthamr | hey itsgurmannatsohal | 18:11 |
gouthamr | itsgurmannatsohal: 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 guide | 18:11 |
itsgurmannatsohal | hi gouthamr | 18:12 |
gouthamr | itsgurmannatsohal: by default, none of the manila services are enabled unless you specify some local.conf settings | 18:12 |
itsgurmannatsohal | i'm using the same guide but that was giving me errors on running | 18:12 |
itsgurmannatsohal | "systemctl status devstack@m-sch" | 18:12 |
gouthamr | itsgurmannatsohal take a look at the sample local.confs linked on that page ^; i would suggest using the LVM driver's example | 18:12 |
gouthamr | itsgurmannatsohal: the local.conf you pasted on chat here doesn't contain the config lines needed to enable manila | 18:14 |
itsgurmannatsohal | i'll run the script again after changing the local.conf and get back to you. thank you | 18:14 |
gouthamr | itsgurmannatsohal: yep; forewarning if you haven't done this before -- you can't re-run "stack.sh" without first running "unstack.sh" | 18:15 |
itsgurmannatsohal | yes thanks | 18:17 |
itsgurmannatsohal | should i edit the RABBIT_PASSWORD and SERVICE_PASSWORD? | 18:26 |
gouthamr | itsgurmannatsohal: nope - they can all be the same for simplicity | 18:26 |
opendevreview | Merged openstack/puppet-manila stable/wallaby: Add support for MultiStrOpt https://review.opendev.org/c/openstack/puppet-manila/+/871507 | 18:56 |
opendevreview | Merged openstack/manila stable/yoga: [Infinidat] fixed host assisted migration https://review.opendev.org/c/openstack/manila/+/871046 | 19:15 |
itsgurmannatsohal | Devstack devstack@m-dat.service | 19: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 ago | 19: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.994s | 19:35 |
itsgurmannatsohal | Received this error on running script | 19:35 |
*** dviroel is now known as dviroel|out | 20:58 | |
itsgurmannatsohal | Any tips for this error? | 20:58 |
gouthamr | hey itsgurmannatsohal - i don't see the error in the log you're pasting here | 21:05 |
gouthamr | itsgurmannatsohal: besides it being inactive, but did devstack fail? | 21:06 |
gouthamr | if yes, can you paste the log from your console onto https://paste.opendev.org and link us? | 21:06 |
itsgurmannatsohal | it 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 |
itsgurmannatsohal | ERROR 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 |
itsgurmannatsohal | ERROR oslo_service.service (Background on this error at: https://sqlalche.me/e/14/gkpj) | 21:07 |
itsgurmannatsohal | Jan 26 23:56:12 poseidon manila-data[3299745]: ERROR oslo_service.service | 21:07 |
gouthamr | itsgurmannatsohal: thanks, yes - its a recent regression that we are still trying to resolve | 21:12 |
itsgurmannatsohal | then what should i do now? | 21:13 |
itsgurmannatsohal | despite the error, i think i can continue. the services are running | 21:14 |
gouthamr | lemme think; one possibility is to just disable the data service and avoid this | 21:14 |
gouthamr | yes; you're just missing a few more customizations | 21:14 |
gouthamr | itsgurmannatsohal: the failure occurred here: https://github.com/openstack/manila/blob/2f335893f6019929b0f0cb4347548a7645277f7a/devstack/plugin.sh#L1283 | 21:15 |
gouthamr | sry | 21:16 |
gouthamr | a few lines above where it invokes "start_rest_of_manila" | 21:16 |
gouthamr | try "source devstack/openrc admin" and "manila service-list" | 21:17 |
gouthamr | if 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 |
itsgurmannatsohal | yeah i tries these commands, received no errors | 21:18 |
itsgurmannatsohal | the services are up and running | 21:18 |
itsgurmannatsohal | would 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.html | 21:37 |
opendevreview | Merged openstack/manila master: [NetApp] fallback to cifs-server force delete on vserver cleanup https://review.opendev.org/c/openstack/manila/+/863295 | 22:16 |
gouthamr | itsgurmannatsohal: o/ no - the install guide is not for development environments | 23:12 |
opendevreview | Goutham Pacha Ravi proposed openstack/manila stable/zed: Add filesystem info to FSAL in CephFS NFS https://review.opendev.org/c/openstack/manila/+/871899 | 23:50 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!