Tuesday, 2021-03-30

*** gyee has quit IRC00:05
*** tosky has quit IRC00:10
*** gyee has joined #openstack-glance00:19
*** k_mouza has joined #openstack-glance00:35
*** k_mouza has quit IRC00:39
*** baojg has joined #openstack-glance01:21
*** hamalq has quit IRC01:25
*** udesale has quit IRC01:27
*** baojg has quit IRC01:29
*** baojg has joined #openstack-glance01:29
*** rcernin has quit IRC01:46
*** rcernin has joined #openstack-glance01:51
*** zzzeek has quit IRC02:18
*** zzzeek has joined #openstack-glance02:22
*** udesale has joined #openstack-glance03:54
*** gyee has quit IRC04:12
*** whoami-rajat_ has joined #openstack-glance04:21
*** ricolin has quit IRC04:47
*** whoami-rajat_ is now known as whoami-rajat04:56
*** ratailor has joined #openstack-glance05:02
*** m75abrams has joined #openstack-glance05:17
*** ajitha has joined #openstack-glance05:25
*** m75abrams has quit IRC05:49
*** m75abrams has joined #openstack-glance05:51
*** lpetrut has joined #openstack-glance06:12
*** ralonsoh has joined #openstack-glance06:17
*** k_mouza has joined #openstack-glance06:40
*** k_mouza has quit IRC06:45
*** k_mouza has joined #openstack-glance07:17
*** baojg has quit IRC07:20
*** baojg has joined #openstack-glance07:21
*** k_mouza has quit IRC07:22
*** Luzi has joined #openstack-glance07:23
*** rcernin has quit IRC07:30
*** ricolin has joined #openstack-glance07:52
*** k_mouza has joined #openstack-glance07:56
*** tosky has joined #openstack-glance08:12
*** rcernin has joined #openstack-glance08:12
*** smcginnis has quit IRC08:14
*** smcginnis has joined #openstack-glance08:14
*** rcernin has quit IRC08:33
*** ratailor_ has joined #openstack-glance08:42
*** ratailor has quit IRC08:44
*** baojg has quit IRC09:01
*** baojg has joined #openstack-glance09:01
*** baojg has quit IRC09:10
*** ratailor__ has joined #openstack-glance09:27
*** rcernin has joined #openstack-glance09:29
*** ratailor_ has quit IRC09:30
*** rcernin has quit IRC09:43
*** k_mouza has quit IRC09:49
*** k_mouza has joined #openstack-glance09:49
*** rcernin has joined #openstack-glance10:32
*** rcernin has quit IRC10:32
*** rcernin has joined #openstack-glance10:33
*** ratailor_ has joined #openstack-glance10:33
*** Luzi has quit IRC10:34
*** ratailor__ has quit IRC10:36
*** ratailor_ has quit IRC10:51
*** ratailor_ has joined #openstack-glance11:12
*** openstackgerrit has quit IRC11:21
*** rcernin has quit IRC11:22
*** ratailor__ has joined #openstack-glance11:43
*** ratailor_ has quit IRC11:46
*** Luzi has joined #openstack-glance12:00
*** k_mouza has quit IRC12:54
*** k_mouza_ has joined #openstack-glance12:54
*** ratailor__ has quit IRC12:56
*** spotz has joined #openstack-glance13:30
*** Luzi has quit IRC13:31
*** ralonsoh has quit IRC14:18
*** ralonsoh has joined #openstack-glance14:19
*** lpetrut has quit IRC14:30
*** tosky has quit IRC14:39
*** tosky has joined #openstack-glance14:39
*** m75abrams has quit IRC14:52
*** k_mouza_ has quit IRC15:02
*** k_mouza has joined #openstack-glance15:02
* abhishekk dinner break15:14
*** tosky has quit IRC15:36
*** gyee has joined #openstack-glance15:50
*** hamalq has joined #openstack-glance16:15
*** hamalq_ has joined #openstack-glance16:19
*** hamalq has quit IRC16:20
*** udesale has quit IRC16:37
*** k_mouza has quit IRC16:38
*** ralonsoh has quit IRC16:50
*** lpetrut has joined #openstack-glance17:28
*** lpetrut has quit IRC18:15
*** k_mouza has joined #openstack-glance18:39
*** k_mouza has quit IRC18: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 from20: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.220: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 from20:32
*** k_mouza has joined #openstack-glance20:59
*** k_mouza has quit IRC21:03
*** rcernin has joined #openstack-glance21:10
*** zzzeek has quit IRC21:13
*** zzzeek has joined #openstack-glance21:15
dansmithhamalq_: depends on your configuration, but glance and nova won't copy the IP or name as part of a snapshot/deploy21:19
dansmithhamalq_: you probably have those hard-coded in the instance before you snapshot, which nova and glance won't touch21:20
hamalq_they are done through cloud init ( nova config drive )21:24
hamalq_dansmith: ^^21:24
dansmithhamalq_: 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 that21:27
hamalq_?21:27
*** k_mouza has joined #openstack-glance21:27
dansmithhamalq_: it's not normal or expected is my point, so I would have assumed it was something local/custom21:27
dansmithhamalq_: can you look in the new instance you created to see if the configdrive is stale?21:28
hamalq_yeah i see the old ip21:28
hamalq_and hostname21:29
dansmithhamalq_: is the configdrive mounted on a dedicated disk in there?21:29
hamalq_u mean in hypeervisor21:31
hamalq_?21:31
dansmithI mean does df -h show configdrive mounted on a different disk than root?21:31
*** k_mouza has quit IRC21:32
hamalq_yes another disk21:37
dansmithcan you pastebin your df -h?21:38
*** rcernin has quit IRC21:38
hamalq_no sorry i cant , just give me 1 min21:46
hamalq_i just checked the configdrive the new data is there the new hostname and ip but not taken21:47
dansmithah 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 snapshot21:48
dansmithhttps://cloudinit.readthedocs.io/en/latest/topics/boot.html#first-boot-determination21:50
*** whoami-rajat has quit IRC21:51
dansmithlooks 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 already21:52
dansmithah, 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 on21:52
hamalq_ok thanks i will check on that21:53
hamalq_that really helped thanks21:53
dansmithhamalq_: 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 instance21:53
dansmithcool, 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
dansmithneither glance nor nova do anything with what is inside the instance during snapshot,21:59
dansmithso it might be a bug against cloud-init, but not nova or glance, IMHO21:59
hamalq_yeah it seem so22:00
dansmithmy guess would be that it's actually a cloud-init configuration issue or something22:00
*** ajitha has quit IRC22:04
*** rcernin has joined #openstack-glance22:18
*** rcernin has quit IRC22:19
*** rcernin has joined #openstack-glance22:19
*** openstackstatus has quit IRC22:42
*** openstack has joined #openstack-glance22:42
*** ChanServ sets mode: +o openstack22:42
*** spotz has quit IRC22:43

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