*** gyee has quit IRC | 00:05 | |
*** tosky has quit IRC | 00:10 | |
*** gyee has joined #openstack-glance | 00:19 | |
*** k_mouza has joined #openstack-glance | 00:35 | |
*** k_mouza has quit IRC | 00:39 | |
*** baojg has joined #openstack-glance | 01:21 | |
*** hamalq has quit IRC | 01:25 | |
*** udesale has quit IRC | 01:27 | |
*** baojg has quit IRC | 01:29 | |
*** baojg has joined #openstack-glance | 01:29 | |
*** rcernin has quit IRC | 01:46 | |
*** rcernin has joined #openstack-glance | 01:51 | |
*** zzzeek has quit IRC | 02:18 | |
*** zzzeek has joined #openstack-glance | 02:22 | |
*** udesale has joined #openstack-glance | 03:54 | |
*** gyee has quit IRC | 04:12 | |
*** whoami-rajat_ has joined #openstack-glance | 04:21 | |
*** ricolin has quit IRC | 04:47 | |
*** whoami-rajat_ is now known as whoami-rajat | 04:56 | |
*** ratailor has joined #openstack-glance | 05:02 | |
*** m75abrams has joined #openstack-glance | 05:17 | |
*** ajitha has joined #openstack-glance | 05:25 | |
*** m75abrams has quit IRC | 05:49 | |
*** m75abrams has joined #openstack-glance | 05:51 | |
*** lpetrut has joined #openstack-glance | 06:12 | |
*** ralonsoh has joined #openstack-glance | 06:17 | |
*** k_mouza has joined #openstack-glance | 06:40 | |
*** k_mouza has quit IRC | 06:45 | |
*** k_mouza has joined #openstack-glance | 07:17 | |
*** baojg has quit IRC | 07:20 | |
*** baojg has joined #openstack-glance | 07:21 | |
*** k_mouza has quit IRC | 07:22 | |
*** Luzi has joined #openstack-glance | 07:23 | |
*** rcernin has quit IRC | 07:30 | |
*** ricolin has joined #openstack-glance | 07:52 | |
*** k_mouza has joined #openstack-glance | 07:56 | |
*** tosky has joined #openstack-glance | 08:12 | |
*** rcernin has joined #openstack-glance | 08:12 | |
*** smcginnis has quit IRC | 08:14 | |
*** smcginnis has joined #openstack-glance | 08:14 | |
*** rcernin has quit IRC | 08:33 | |
*** ratailor_ has joined #openstack-glance | 08:42 | |
*** ratailor has quit IRC | 08:44 | |
*** baojg has quit IRC | 09:01 | |
*** baojg has joined #openstack-glance | 09:01 | |
*** baojg has quit IRC | 09:10 | |
*** ratailor__ has joined #openstack-glance | 09:27 | |
*** rcernin has joined #openstack-glance | 09:29 | |
*** ratailor_ has quit IRC | 09:30 | |
*** rcernin has quit IRC | 09:43 | |
*** k_mouza has quit IRC | 09:49 | |
*** k_mouza has joined #openstack-glance | 09:49 | |
*** rcernin has joined #openstack-glance | 10:32 | |
*** rcernin has quit IRC | 10:32 | |
*** rcernin has joined #openstack-glance | 10:33 | |
*** ratailor_ has joined #openstack-glance | 10:33 | |
*** Luzi has quit IRC | 10:34 | |
*** ratailor__ has quit IRC | 10:36 | |
*** ratailor_ has quit IRC | 10:51 | |
*** ratailor_ has joined #openstack-glance | 11:12 | |
*** openstackgerrit has quit IRC | 11:21 | |
*** rcernin has quit IRC | 11:22 | |
*** ratailor__ has joined #openstack-glance | 11:43 | |
*** ratailor_ has quit IRC | 11:46 | |
*** Luzi has joined #openstack-glance | 12:00 | |
*** k_mouza has quit IRC | 12:54 | |
*** k_mouza_ has joined #openstack-glance | 12:54 | |
*** ratailor__ has quit IRC | 12:56 | |
*** spotz has joined #openstack-glance | 13:30 | |
*** Luzi has quit IRC | 13:31 | |
*** ralonsoh has quit IRC | 14:18 | |
*** ralonsoh has joined #openstack-glance | 14:19 | |
*** lpetrut has quit IRC | 14:30 | |
*** tosky has quit IRC | 14:39 | |
*** tosky has joined #openstack-glance | 14:39 | |
*** m75abrams has quit IRC | 14:52 | |
*** k_mouza_ has quit IRC | 15:02 | |
*** k_mouza has joined #openstack-glance | 15:02 | |
* abhishekk dinner break | 15:14 | |
*** tosky has quit IRC | 15:36 | |
*** gyee has joined #openstack-glance | 15:50 | |
*** hamalq has joined #openstack-glance | 16:15 | |
*** hamalq_ has joined #openstack-glance | 16:19 | |
*** hamalq has quit IRC | 16:20 | |
*** udesale has quit IRC | 16:37 | |
*** k_mouza has quit IRC | 16:38 | |
*** ralonsoh has quit IRC | 16:50 | |
*** lpetrut has joined #openstack-glance | 17:28 | |
*** lpetrut has quit IRC | 18:15 | |
*** k_mouza has joined #openstack-glance | 18:39 | |
*** k_mouza has quit IRC | 18:43 | |
hamalq_ | hi how are u , i was following the doc https://docs.openstack.org/nova/rocky/admin/migrate-instance-with-snapshot.html to create a snapshot for an instance it works fine but i wonder if i can create another instance with it without taking the hostname , network ip as the instance snapshot created from | 20:29 |
---|---|---|
hamalq_ | so if i create a snapshot from instance that have the hostname host1, and net ip 10.0.0.1 i want the instance from that snapshot to have the hostname host2 and net ip 10.0.0.2 | 20:31 |
hamalq_ | as now when i ssh to the machine it will have host1, ip 10.0.0.1 as the instance the snapshot was created from | 20:32 |
*** k_mouza has joined #openstack-glance | 20:59 | |
*** k_mouza has quit IRC | 21:03 | |
*** rcernin has joined #openstack-glance | 21:10 | |
*** zzzeek has quit IRC | 21:13 | |
*** zzzeek has joined #openstack-glance | 21:15 | |
dansmith | hamalq_: depends on your configuration, but glance and nova won't copy the IP or name as part of a snapshot/deploy | 21:19 |
dansmith | hamalq_: you probably have those hard-coded in the instance before you snapshot, which nova and glance won't touch | 21:20 |
hamalq_ | they are done through cloud init ( nova config drive ) | 21:24 |
hamalq_ | dansmith: ^^ | 21:24 |
dansmith | hamalq_: okay well, it should be different then, although maybe the config drive is somehow being snapshotted or copied into the main root disk and thus being preserved? | 21:25 |
hamalq_ | is there a way to avoid that | 21:27 |
hamalq_ | ? | 21:27 |
*** k_mouza has joined #openstack-glance | 21:27 | |
dansmith | hamalq_: it's not normal or expected is my point, so I would have assumed it was something local/custom | 21:27 |
dansmith | hamalq_: can you look in the new instance you created to see if the configdrive is stale? | 21:28 |
hamalq_ | yeah i see the old ip | 21:28 |
hamalq_ | and hostname | 21:29 |
dansmith | hamalq_: is the configdrive mounted on a dedicated disk in there? | 21:29 |
hamalq_ | u mean in hypeervisor | 21:31 |
hamalq_ | ? | 21:31 |
dansmith | I mean does df -h show configdrive mounted on a different disk than root? | 21:31 |
*** k_mouza has quit IRC | 21:32 | |
hamalq_ | yes another disk | 21:37 |
dansmith | can you pastebin your df -h? | 21:38 |
*** rcernin has quit IRC | 21:38 | |
hamalq_ | no sorry i cant , just give me 1 min | 21:46 |
hamalq_ | i just checked the configdrive the new data is there the new hostname and ip but not taken | 21:47 |
dansmith | ah okay good, so maybe you're not running cloud-init on the second run, or something was taking the initial config and making it permanent before snapshot | 21:48 |
dansmith | https://cloudinit.readthedocs.io/en/latest/topics/boot.html#first-boot-determination | 21:50 |
*** whoami-rajat has quit IRC | 21:51 | |
dansmith | looks like it caches after the first boot, so maybe you need to clean that? tbh, I've not noticed that behavior before, at least in relation to the network config... | 21:51 |
hamalq_ | mmm so by default the snapshot should no take the ip, hostname ( is that behavior began in a specific version or always beeign the case) | 21:51 |
hamalq_ | u answered already | 21:52 |
dansmith | ah, reading in there more, it attempts to determine when a "new instance" has been created and invalidates the cache, but maybe that gives you something to go on | 21:52 |
hamalq_ | ok thanks i will check on that | 21:53 |
hamalq_ | that really helped thanks | 21:53 |
dansmith | hamalq_: correct, the ip and hostname should not be captured across snapshot, unless something inside the guest is persisting it, as you noted that the config drive data is fresh on the new instance | 21:53 |
dansmith | cool, good luck! | 21:53 |
hamalq_ | reading the doc a little does that make it a bug for snapshot since that fail the desired behavior? | 21:56 |
dansmith | neither glance nor nova do anything with what is inside the instance during snapshot, | 21:59 |
dansmith | so it might be a bug against cloud-init, but not nova or glance, IMHO | 21:59 |
hamalq_ | yeah it seem so | 22:00 |
dansmith | my guess would be that it's actually a cloud-init configuration issue or something | 22:00 |
*** ajitha has quit IRC | 22:04 | |
*** rcernin has joined #openstack-glance | 22:18 | |
*** rcernin has quit IRC | 22:19 | |
*** rcernin has joined #openstack-glance | 22:19 | |
*** openstackstatus has quit IRC | 22:42 | |
*** openstack has joined #openstack-glance | 22:42 | |
*** ChanServ sets mode: +o openstack | 22:42 | |
*** spotz has quit IRC | 22:43 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!