*** brault has quit IRC | 00:00 | |
*** brault has joined #openstack-dib | 04:16 | |
*** brault has quit IRC | 04:21 | |
*** brault has joined #openstack-dib | 04:46 | |
*** brault has quit IRC | 04:50 | |
hwoarang | clarkb: i am going to provide that info on the bug right now | 04:54 |
---|---|---|
*** chhavi has joined #openstack-dib | 04:58 | |
*** chhavi has quit IRC | 05:00 | |
*** aparnav has joined #openstack-dib | 05:08 | |
*** brault has joined #openstack-dib | 05:44 | |
*** aparnav has quit IRC | 05:48 | |
*** brault has quit IRC | 05:48 | |
*** brault has joined #openstack-dib | 06:05 | |
*** brault has quit IRC | 06:10 | |
*** aparnav has joined #openstack-dib | 06:38 | |
*** isaacb has joined #openstack-dib | 07:19 | |
*** brault has joined #openstack-dib | 07:25 | |
*** brault has quit IRC | 07:40 | |
*** brault has joined #openstack-dib | 07:49 | |
*** isaacb has quit IRC | 08:14 | |
*** isaacb has joined #openstack-dib | 08:27 | |
*** tumbarka has joined #openstack-dib | 09:40 | |
tumbarka | Hi All | 09:42 |
tumbarka | Where to find the find the default usernam/ paswword for instnace created using DIB image | 09:43 |
tumbarka | ? | 09:43 |
openstackgerrit | Merged openstack/diskimage-builder master: Increase timeout for removal https://review.openstack.org/493026 | 09:45 |
*** aparnav has quit IRC | 10:57 | |
ianw | tumbarka: you'll need cloud-init or something to set it up. or see the devuser documentation to bake in a user | 11:01 |
tumbarka | ianw : ok | 11:08 |
tumbarka | I am looking into DIB image creation steps..where I can add the default credentials | 11:09 |
*** isaacb has quit IRC | 11:09 | |
*** isaacb has joined #openstack-dib | 11:10 | |
tumbarka | ianw : before that I am facing one issue in our third party CI setup | 11:10 |
tumbarka | The DIB is created in CI setup on daily basis, the problem is the instances created using latest DIB image are not accessible(ping and ssh is not working). Using old DIB image (5 -6 days old) I can create the instance which is accessible | 11:12 |
tumbarka | You have any idea are there any changes in any repository which is causing this failure? | 11:13 |
*** aparnav has joined #openstack-dib | 11:16 | |
*** brault has quit IRC | 11:31 | |
*** aparnav has quit IRC | 11:34 | |
*** aparnav has joined #openstack-dib | 11:34 | |
*** brault has joined #openstack-dib | 11:56 | |
*** farosas has joined #openstack-dib | 12:16 | |
*** aparnav has quit IRC | 12:17 | |
*** aparnav has joined #openstack-dib | 12:18 | |
*** isaacb has quit IRC | 13:04 | |
*** isaacb has joined #openstack-dib | 13:04 | |
*** brault has quit IRC | 13:09 | |
*** brault has joined #openstack-dib | 13:09 | |
*** aparnav has quit IRC | 14:30 | |
*** aparnav has joined #openstack-dib | 14:36 | |
clarkb | tumbarka: a list of the elements you are using to build the image would be useful when debugging that sort of problem | 15:13 |
*** aparna has joined #openstack-dib | 15:21 | |
*** aparnav has quit IRC | 15:23 | |
*** appu103 has joined #openstack-dib | 15:25 | |
*** aparna has quit IRC | 15:28 | |
*** aparnav has joined #openstack-dib | 15:38 | |
*** appu103 has quit IRC | 15:40 | |
*** brault has quit IRC | 15:41 | |
*** yolanda has quit IRC | 15:44 | |
*** yolanda has joined #openstack-dib | 15:44 | |
*** brault has joined #openstack-dib | 15:45 | |
*** isaacb has quit IRC | 15:52 | |
*** Sukhdev_ has joined #openstack-dib | 15:53 | |
*** tumbarka_ has joined #openstack-dib | 15:53 | |
*** isaacb has joined #openstack-dib | 16:27 | |
*** aparnav has quit IRC | 16:30 | |
tumbarka_ | clarkb: Here is the list of elements in our CI setup - https://gist.github.com/anonymous/a3d1e58abe8cb55937127ef28a8929cb | 16:38 |
clarkb | tumbarka_: ok so there are two ways things can be set up. First is using dib to bake in a user. The second is passing ssh key metadata via config drive which glean/simple-init will use to set up ssh access for the root user | 16:39 |
tumbarka_ | clarkb : The DIB image which was built using same elements was working before Friday...after that we are facing this issue | 16:39 |
clarkb | tumbarka_: the nodepool base element will attempt to use the NODEPOOL_SSH_KEY variable to set that if available | 16:41 |
clarkb | my guess is you were setting that env var at one time and now are not | 16:41 |
tumbarka_ | clarkb : now also we are setting this NODEPOOL_SSH_KEY env variable | 16:43 |
tumbarka_ | I have verified this | 16:43 |
clarkb | tumbarka_: have you double checked it is in the process env via /proc? | 16:44 |
clarkb | if so then the other thing I would check is that the private ssh key you have matches the public ssh key set inthat variable | 16:44 |
tumbarka_ | I have verified in nodepool logs..the NODEPOOL_SSH_KEY is set also it is matching with the private key | 16:51 |
clarkb | tumbarka_: ok the next thing I would check is mount your image and see if the key is in the user's authorized_keys file as expected | 16:51 |
tumbarka_ | One more I would like to add here...the nodes which re launched with this new image are not pingable | 16:51 |
clarkb | tumbarka_: could it be possible that you updated your security groups? | 16:52 |
tumbarka_ | means they are not reachable | 16:52 |
tumbarka_ | nope....I have checked security group rules for both tcp and icmp are added | 16:52 |
clarkb | tumbarka_: I would try booting a vanilla ubuntu image just to confirm general cloud connectivity works as expected and go from there | 16:54 |
clarkb | if it doesn't work then look at the cloud if it does work then look at the image | 16:54 |
tumbarka_ | I was trying to access the instance's console from dashboard but it requires the username and password.. | 16:54 |
tumbarka_ | One more thing which I tested here is - I have launched the instance using old DIB image which was present in provider , this instance is pingable and able to ssh as well | 16:56 |
*** strigazi_OFF is now known as strigazi | 17:00 | |
*** aparnav has joined #openstack-dib | 17:02 | |
*** isaacb has quit IRC | 17:07 | |
*** Sukhdev_ has quit IRC | 17:09 | |
tumbarka_ | clarkb : with vanilla (plane) ubuntu created VM which accessible too | 17:09 |
clarkb | tumbarka_: ok then I would mount the image then and start poking at it | 17:10 |
tumbarka_ | Is there any way to access the instance (created using DIB image ) without ssh key....I mean using username password , just to dig more inside the instance | 17:13 |
tumbarka_ | clarkb : I found one solution ...using devuser element...but I think this element is very old and it is not present ow | 17:14 |
tumbarka_ | now* | 17:14 |
clarkb | it is still in use I use it locally all the time | 17:15 |
clarkb | and yes that is one way. | 17:15 |
tumbarka_ | clarkb : to add this element devuser , I need to modify the nodepool.yaml and also need to add one folder in /etc/nodepool/element/ ...right? | 17:21 |
tumbarka_ | But didnt found anything related to devuser , which we to modify in /etc/nodepool/element/ | 17:22 |
clarkb | tumbarka_: devuser is built in to dib so you don't have to modify /etc/nodepool/element | 17:23 |
clarkb | tumbarka_: you just have to update nodepool.yaml | 17:23 |
tumbarka_ | then , how will it set the environment variable related to devuser? | 17:26 |
tumbarka_ | all the variables mentioned here are mandatory? - https://docs.openstack.org/diskimage-builder/latest/elements/devuser/README.html | 17:28 |
clarkb | not all of them are mandatory, you only have to set those that you want, say a password and sudo | 17:34 |
clarkb | (not sure if sshd config will allow password login though) | 17:35 |
clarkb | and you set the env vars in the nodepool.yaml | 17:35 |
clarkb | https://git.openstack.org/cgit/openstack-infra/project-config/tree/nodepool/nodepool.yaml#n1234 is an example | 17:35 |
tumbarka_ | clarkb : ok. will try that. Thank you | 17:37 |
*** strigazi is now known as strigazi_OFF | 17:55 | |
*** Sukhdev has joined #openstack-dib | 18:51 | |
*** aparnav has quit IRC | 18:56 | |
*** Sukhdev has quit IRC | 19:43 | |
*** tumbarka_ has quit IRC | 20:12 | |
*** Sukhdev has joined #openstack-dib | 20:13 | |
*** brault has quit IRC | 20:49 | |
*** farosas has quit IRC | 21:34 | |
*** brault has joined #openstack-dib | 22:49 | |
*** brault has quit IRC | 22:54 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!