alestic / ec2-consistent-snapshot

[SUNSET] Initiate consistent EBS snapshots in Amazon EC2
http://alestic.com/2009/09/ec2-consistent-snapshot
Other
442 stars 109 forks source link

Ubuntu PPA does not support 18.04 #104

Closed markdwhite closed 6 years ago

markdwhite commented 6 years ago

Seems like this hasn't been added yet:

http://ppa.launchpad.net/alestic/ppa/ubuntu/dists/

Any plans to do this?

markstos commented 6 years ago

No.

Try the snap package on Ubuntu 18.04 instead:

  snap install ec2-consistent-snapshot --channel=edge --devmode
markdwhite commented 6 years ago

I've seen the thread at #76 now. However, I get nothing but segfaults from the snap package, and I believe it's being installed and run correctly

$ sudo snap install ec2-consistent-snapshot --channel=edge --devmode                    
ec2-consistent-snapshot (edge) 0.72 from Mark Stosberg (markstos) installed                                                           
$ sudo snap run ec2-consistent-snapshot                                                               
Segmentation fault                                                                                                                    
$ sudo snap run ec2-consistent-snapshot --debug                                                       
Segmentation fault                                                                                                                    
$ sudo snap run ec2-consistent-snapshot --version                                                     
Segmentation fault                                                                                                                    
$ snap run ec2-consistent-snapshot --debug                                                            
Segmentation fault (core dumped)                                                                                                      
$ snap run ec2-consistent-snapshot --version                                                          
Segmentation fault (core dumped)                                                                                                      
$ /usr/bin/ec2-consistent-snapshot ;#old version                                                      
ec2-consistent-snapshot: ERROR: Can't find AWS access key or secret access key at /usr/bin/ec2-consistent-snapshot line 134.          
$ /usr/bin/ec2-consistent-snapshot --debug ;#old version                                               
ec2-consistent-snapshot: ERROR: Can't find AWS access key or secret access key at /usr/bin/ec2-consistent-snapshot line 134.          
ec2-consistent-snapshot: Thu Aug 30 02:19:06 2018: done 
markstos commented 6 years ago

Ugh. Sorry to hear that. I built the snap on Ubuntu 18.04, and someone else tested it successfully already.

I've seen segfaults with it testing on Ubuntu 14.04, though.

Between packaging challenges and the "auth failure" issue, I'm about ready to throw in the towel on this project and start over with one that has fewer packaging challenges and uses an officially supported SDK, so we can get faster resolution on issues like this auth failure (So, not Perl).

See #97 for more context about packages challenges that also affect .deb files.

The problem is, there is no clear replacement project already.

The ruby port seems like a promising at first glance, but it turns out to three issues that need addressing:

I coded Perl professionally for 16 years, it's just doesn't seem likely that AWS is on the verge officially supporting it.

That said, I don't have a chunk of time available soon to get the Ruby port into shape, so help is much appreciated to improve the state of this project or the Ruby port.

markdwhite commented 6 years ago

It seems to be only IAM that's causing problems here, and that can be worked around with static credentials for a restricted IAM user. Though not ideal, it's better than needed a backup which isn't there.

Thanks anyway :-)