=== cpaelzer_ is now known as cpaelzer | ||
ezeh0001_ | Trying to change openstack single disk partition mounted to / with cloud-int to repartition to have multiple mountpoints (/var) at least | 16:09 |
---|---|---|
ezeh0001_ | Tried using disk_setup and fs_setup in user-data but that is not working | 16:11 |
ezeh0001_ | Is it even possible? | 16:11 |
ezeh0001_ | Have question about partitioning disk with cloud-init | 17:20 |
Odd_Bloke | ezeh0001_: That should be possible; what do you mean by "not working"? | 17:21 |
Odd_Bloke | (And what distro/version are you using?) | 17:21 |
ezeh0001_ | I am running on RHEL 7 | 17:22 |
ezeh0001_ | I used the disk_setup inside user-data, but when it runs the partition is not yet there | 17:22 |
Odd_Bloke | ezeh0001_: Can you paste your config somewhere? | 17:23 |
ezeh0001_ | Odd_Bloke: Config http://pastebin.com/yv7MKB7H | 17:27 |
Odd_Bloke | ezeh0001_: You have "ephmeral" not "ephemeral" under disk_setup; I don't know if that's causing the problem. | 17:29 |
Odd_Bloke | ezeh0001_: If that doesn't fix it, /var/log/cloud-init.log is also extremely useful for debugging problems. | 17:29 |
Odd_Bloke | ezeh0001_: So either have a look at that yourself, or pastebin it and I can have a look. | 17:29 |
Odd_Bloke | (Though I'm about to go to lunch, so I won't be able to help for 90-120 minutes) | 17:29 |
harlowja_at_home | 120 minute lunch, questionable | 17:31 |
harlowja_at_home | lol | 17:31 |
ezeh0001_ | Obb_Bloke: Thanks. Will try that. | 17:33 |
ezeh0001_ | The error I get for disk_setup can be seen here: http://pastebin.com/pWYJ7fbJ | 17:59 |
manuq | hi! how can I enable debug logging to cloud-init ? version is 0.7.5 | 18:27 |
ezeh0001_ | Odd_Bloke: Looking at the error, the partition table is not changed before cloud-init gets to it. I am trying to repartition the boot disk. Is that possible with cloud-init | 18:38 |
Odd_Bloke | harlowja: I had a call as well! | 19:27 |
Odd_Bloke | harlowja: NO YOU SHUT UP | 19:27 |
Odd_Bloke | ezeh0001_: Cool, having a quick look now. | 19:27 |
Odd_Bloke | ezeh0001_: Can you paste the full log? (Having context can sometimes make all the difference when debugging this sort of thing) | 19:28 |
ezeh0001_ | Odd_Bloke: whole log is at http://pastebin.com/ZsyNwmYb | 20:18 |
Odd_Bloke | ezeh0001_: Ohhhhh, I only just worked out you're trying to partition /. | 20:38 |
Odd_Bloke | ezeh0001_: I'm not sure we support that. | 20:38 |
Odd_Bloke | smoser: ^ ? | 20:38 |
smoser | whats going on ? | 20:40 |
Odd_Bloke | smoser: Is there anyway to partition the disk that is mounted on /? | 20:41 |
smoser | i dont think linux supports it really. | 20:42 |
smoser | hm.. i guess maybe if / was an lvm | 20:43 |
smoser | but if its a partitioned disk, then you can tell cloud-init not to resize and take the rest, but i dont know that you can add partitions wihtout unmounting | 20:43 |
smoser | i'd have to think more though | 20:43 |
ezeh0001_ | @smoser and Odd_Bloke: Thanks for your assistance | 21:01 |
corb00 | Hi is there any way to specify uid/gid for a user created in the cloud-init users: section? | 23:31 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!