Closed apsraps closed 6 years ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/156507448
The labels on this github issue will be updated when the story is started.
@apsraps An admin user should have been created for you during the cf-deployment deploy. Your deployment-vars should include a value called cf_admin_password
. This is the password of a user called admin
that you should be able to log in with. If that's all you wanted to do with the uaac, you may not even need to do anything.
Is there a reason you need to run uaac from inside this AMI? You might want to consider instead installing the gem locally and targeting the UAA on AWS.
Thanks for your quick help! Yes, thats what we want to do with uaa. And got it working now. We have several firewall restrictions in our org, hence have created an instance on AMI and working from there.
Hi,
We have installed CF on AWS using BBL and cf-deployment. We now need to create the admin user for which we are trying to install the UAA CLI. This gives an error
$ gem install cf-uaa
Building native extensions. This could take a while... ERROR: Error installing cf-uaac: ERROR: Failed to build gem native extension. /usr/bin/ruby2.0 extconf.rb mkmf.rb can't find header files for ruby at /usr/share/ruby/include/ruby.h
Gem files will remain installed in /usr/local/share/ruby/gems/2.0/gems/eventmachine-1.2.5 for inspection. Results logged to /usr/local/share/ruby/gems/2.0/gems/eventmachine-1.2.5/ext/gem_make.out
1) Ruby version 2.0
2) OS is on AWS and version is given below
NAME="Amazon Linux AMI" VERSION="2017.09" ID="amzn" ID_LIKE="rhel fedora" VERSION_ID="2017.09"
3) Gem version - 2.0.14.1
No Ruby updates are available for this OS, so we are not able to update Ruby to a higher version.
Can you please help?
Thanks,