Trouble getting software installed

118 views
Skip to first unread message

Grant Keiser

unread,
Jul 29, 2013, 12:31:09 PM7/29/13
to amin...@googlegroups.com
Hello,

I'm trying to create an AMI using rpm created with fpm.  After running the command 

sudo aminate --debug --boto-debug -b baseimage -n appname test-0.1.1-1.x86_64.rpm

I get output indicating the rpm successfully installed :
2013-07-29 16:20:22 [INFO] performing a local install of hlsserver-0.1.1-1.x86_64.rpm
2013-07-29 16:20:30 [INFO] Provisioning succeeded!

I expect that upon ssh'ing into an instance of the AMI created to see the software installed with the rpm.  This is not the case, as there is nothing in the directories I include in the rpm file int the root device/ebs volume.  When I install using 'sudo yum install' manually with this rpm file, it works as expected.  I think I may be something big here, and I appreciate any guidance anyone can offer.

Thanks!




Michael Tripoli

unread,
Jul 29, 2013, 1:00:24 PM7/29/13
to Grant Keiser, amin...@googlegroups.com
Can you attach all of the logs?




--
You received this message because you are subscribed to the Google Groups "Aminator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aminator+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Grant Keiser

unread,
Jul 29, 2013, 1:45:25 PM7/29/13
to amin...@googlegroups.com, Grant Keiser
From the log file:

stderr:

2013-07-29 12:52:03 [DEBUG] [aminator.util.linux(67):_run] status code: 0
2013-07-29 12:52:03 [DEBUG] [aminator.util.linux(63):_run] command: yum --nogpgcheck -y localinstall /tmp/hlsserver-0.1.1.x86_64.rpm
2013-07-29 12:52:04 [DEBUG] [aminator.util.linux(66):_run] stdout: Loaded plugins: priorities, security, update-motd, upgrade-helper
Setting up Local Package Process
Examining /tmp/hlsserver-0.1.1.x86_64.rpm: hlsserver-0.1.1-1.x86_64
/tmp/hlsserver-0.1.1.x86_64.rpm: does not update installed package.
Nothing to do



Does this mean the base image believes this package is installed already?

I have attached the aminator log file as requested.

Thanks!
aminateproject.log

Brian Moyles

unread,
Jul 29, 2013, 2:08:10 PM7/29/13
to Grant Keiser, amin...@googlegroups.com
That's what it would indicate to me...
When you say it works fine with a sudo yum install, are you doing it on an instance launched from the same foundation you're aminating against?
What's the output from a manual sudo yum install look like? Did you also try a sudo yum localinstall with the rpm available on the local FS?

Grant Keiser

unread,
Jul 29, 2013, 2:28:59 PM7/29/13
to amin...@googlegroups.com, Grant Keiser
Yes, it turns out my base image had the software installed already, as I had made the mistake of testing the package on the instance which was the source of the base AMI!  Thanks for your replies, and thanks for open sourcing this and your other tools!
Reply all
Reply to author
Forward
0 new messages