Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu PPA does not support 18.04 #104

Closed
markdwhite opened this issue Aug 29, 2018 · 4 comments
Closed

Ubuntu PPA does not support 18.04 #104

markdwhite opened this issue Aug 29, 2018 · 4 comments

Comments

@markdwhite
Copy link

Seems like this hasn't been added yet:

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

Any plans to do this?

@markstos
Copy link
Collaborator

No.

Try the snap package on Ubuntu 18.04 instead:

  snap install ec2-consistent-snapshot --channel=edge --devmode

@markdwhite
Copy link
Author

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
Copy link
Collaborator

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:

  • xfs_freeze needs to be replaced with fs_freeze (easy)
  • IAM Role support needs to be added (should be straightforward to port from this module)
  • API calls should go through the official Ruby AWS SDK, not the deprecated module it currently uses (not too hard?)

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
Copy link
Author

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 :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants