Tuesday, 2022-02-15

bshepharHey palaueb. Yeah, so you can do what Steve suggests there by creating a template with everything you need. Then calling that template as part of a resource group which would create VM's with associated VolumeAttachments03:00
*** ysandeep|out is now known as ysandeep05:30
palauebYeah, I did that, now our nova is returning me an error about the names, let's see what my sysadmin tells about that message07:12
palauebThanks a lot for your help and support07:12
*** ysandeep is now known as ysandeep|lunch08:02
bshepharNo worries. I uploaded that video as well btw: https://youtu.be/OiQXs33SpBY08:57
bshepharJust covered what we spoke about with some details around using the %index% option to create vm-0, vm-1, vm-2, etc. A little bit about finding error messages, looking at nested stacks. Re-using templates with different environment files and scaling existing stacks08:58
*** ysandeep|lunch is now known as ysandeep09:12
palauebOh!! thanks! i will check it just right now10:05
palauebmeanwhile, I'm getting a consistent error that I can't solve: Resource Create Failed: Badrequest: Resources.Server Instance: An Invalid 'Name' Value Was Provided. The Name Must Be: Printable Characters. Can Not Start Or End With Whitespace. (Http 400) (Request-Id: Req-xxxx)10:06
palauebbut I just set this to try to debug: name: "SERVERNAME-test"10:06
palauebI have checked nova source for our version10:07
palauebfunction valid_name_regex = ValidationRegex10:08
palauebresources.server_instance: An invalid \'name\' value was provided. <- this makes no sense for me right now10:23
palauebserver_name     vxsys-test-0%index%env0%index%10:40
palauebI can't see why that's not a valid name10:41
palauebIt really does not create the resource, I can't query os to ask what happened because the Server is not created ...10:45
*** ysandeep is now known as ysandeep|brb12:40
*** ysandeep|brb is now known as ysandeep13:10
*** ysandeep is now known as ysandeep|out15:25
palauebit seems to have a problem with availability_zone ... weird behavior15:40
palauebok, we have found the problem. It seems that the availability zones for compute and volumes are not the same, I have to use nvme for volumes and nova for compute, but the error returned by nova is about the server name .... WEIRD15:53
palauebI suppose this only happens on queens version15:53
*** ysandeep|out is now known as ysandeep16:33
*** ysandeep is now known as ysandeep|out17:11
bshepharHey palaueb, I'll have a look at the name you used. I was using a RHOSP13 environment which is Queens in that video as well. I'll confirm the name there21:29
bshepharpalaueb: Hmm, seems to work fine with that name:22:09
bshephar$ openstack server list --name vxsys -f yaml -c Name -c Status22:09
bshephar- Name: vxsys-test-02env0222:09
bshephar  Status: ACTIVE22:09
bshephar- Name: vxsys-test-01env0122:09
bshephar  Status: ACTIVE22:09
bshepharparameter_defaults:22:09
bshephar ServerName: 'vxsys-test-0%index%env0%index%'22:09

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