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
Fresh Spinnaker Install, Unable to create application. Spinner keeps spinning... #1729
Comments
So, I am finding an error that basically is related to the fact that AWS is not finding the credentials, I have created the credentials file with the actual credentials inside the root and spinnaker home folders and it does not seem to be able to find them there, any ideas? |
Went back to start from scratch, fresh copy of Ububtu 14.04, the commands i"ve executed:
After this last command I get the following output.
What in the world am I missing? is something broken? some steps that I skipped? |
What user did you install halyard as? |
Answer First Question.
Second question.
But no
inside
|
What are the contents of |
root |
Can you share any stack traces in the |
I'll send you the log, Just added the .txt extention for it to load here. |
Thanks, this is very helpful. Logged in as root in that machine, are you able to create files/folders in the e.g. does |
I hope it is, I need help too. And Yes, I can create folders and files inside
|
What user were you when you ran |
Also, what's the output of |
I have always been root, As mentioned the second entry on the
|
Ah - looks like halyard is being run as user
and then attempt to use halyard again. |
There might be a little piece of information missing on the documentation, it is really not evident how I can specify the version I want to install, I got this message which is different (so I guess we've moved a bit forward).
So my new question is How to specify which spinnaker version to deploy I do not seem to find any obvious command when adding the |
This should do the trick: |
Ohhh boy, seems like I have a rights lockdown!, tried to run it as root. and I wasn't unable to create the config file.
|
You said earlier that the contents of |
yeap the only way that I managed to create the config file was to go against the laws of nature....and perform a Then it suceeded on the config file creation, after I performed a restart, I checked the output of the ps - aux, and it launched the service as my username instead of root, however the service halyard restart was performed on the console with the root user login. I am going bananas right here. |
Is |
Yes en is the username, Here's how
and the user in It is odd, obviously whan I changed to 777 the root directory then the .hal directory inside was accesible and the config file could be created. It seems that Spinnaker has installed however, I do not seem to have available the CloudDriver Service... |
I have (hopefully) a fix in the install behavior: spinnaker/halyard#546, once that's merged, can you try on a fresh VM the same install path? |
how often does the merges take place? |
It's merged |
OK, i will install in a fresh VM and get back to you after lunch time. |
Victorious! Ok, so I got it to work, but not without your valuable help! @lwander . So I'll leave the steps here for posterity. Each line is a separate command in the command line, I've installed this on a virtual machine with a freshly installed Ubuntu 14.04 copy with nothing else than SSH. Then SSH as root, You will need to configure sshd on your console to allow root access. https://askubuntu.com/questions/469143/how-to-enable-ssh-root-access-on-ubuntu-14-04
created a user account member of the then Install Halyard:
Verify that
Tell Hal that the deployment type will be as a local instance (this will publish all services in localhost which will be tricky later in order to access them, but I have a turnaround so keep reading)
Hal will complain that a version has not been selected, just tell
The tell
So now we need to add a cloud provider to
I created a user on Then you need to create a username relative or that will only concern you spinnaker installation however this will get related to you https://www.spinnaker.io/setup/providers/aws/ And to tell HAL of of the above here's the command:
And after all that and if everything went according to plan we can ask HAL to deploy our brand new spinnaker installation.
It will begin a long installation downloading and configuring all the services. Which can be launched on a recursive manner as this:
then to be able to access your local VM spinnaker copy you can either setup a reverse proxy with the proxy server of your choice to forward all the requests to localhost or you can simply ssh the SH** out of this redirecting the ports;
Where obviously the And finally to begin having fun with this cutie you have to go to your browser of choice and type into the address bar:
Hope this helps and saves some time to everybody!. Cheers. EN |
Thanks so much for the writeup :) |
useful doc...thanks! |
VERY useful doc; |
@ximbal I have struggled long time to spin up a full working spinnaker. This article i have followed and it helped me to spin a compete spinnaker. Thank you so much and very helpful |
Running on Ubuntu 14.04 on AWS, I run all the commands above as user ubuntu with sudo rights. The final install command I run: hal deploy apply. Further down the line I had problems running as root. This was with a fresh install, with hal version 0.35.0-20171002204641 |
When I followed above steps , I was able to launch spinnaker UI but when I tried to create new application, its just hanging there, nothing is happening. did somone had the same issue ? please let me know solution |
2 similar comments
When I followed above steps , I was able to launch spinnaker UI but when I tried to create new application, its just hanging there, nothing is happening. did somone had the same issue ? please let me know solution |
When I followed above steps , I was able to launch spinnaker UI but when I tried to create new application, its just hanging there, nothing is happening. did somone had the same issue ? please let me know solution |
@techqu Are you using Spinnaker with AWS ? |
@ayushri21 Still cloud driver service (with port 7002) is not running because of this new application i cant create |
@ximbal I have followed your doc for installation from scratch, but I get "WARNING No validation for the AWS provider has been implemented." every time. and if I deploy spinnaker clouddriver doesn't start. Manual start log is the same as yours, which you provided in the beginning of the issue. Can you provide steps to avoid this? |
@ayushri21 what type of corrections have you made in AWS Role? |
@Hayyk
Required EC2 Role: 'SpinnakerRole'
Attach following policies to the SpinnakerRole
1. Power user access
2. Inline policy - Inline policy through policy generator to provide
custom “PassRole” role from IAM. For creating this policy, select “AWS
Identity and Access Management” from the AWS Service pulldown and select
“PassRole” for Actions. Apply it to all resources.
Attach this role to Spinnaker instance and in below command as well for
adding aws account:
hal config provider aws account add myacc --account-id ACCOUNT_ID
--assume-role role/SpinnakerRole
…On Tue, Apr 10, 2018 at 3:38 PM, Hayyk ***@***.***> wrote:
@ayushri21 <https://github.com/ayushri21> what type of corrections have
you made in AWS Role?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1729 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ai2DhJb7I2Sv1LdPtHA8KFzaiUFsiul-ks5tnISogaJpZM4N0C-s>
.
|
@ayushri21 I've tried as you describe but without luck |
I ran into this issue and was able to fix it. Hopefully this helps someone because I found this issue googling and couldnt find any relevant info anywhere else 😄 . I installed spinnaker on my kubernetes cluster using halyard, my kubernetes is running on aws and we're using s3 as our storage. Once the halyard process completed I changed the gate and deck services to be LoadBalancer instead of ClusterIP I then logged into deck via my load balancer expecting it to work and instead i got the spinning icon when I went to create an application. I looked at the developer console in chrome and noticed that it was timing out when trying to access localhost:8084, presumably so that it could talk to gate. I re-read the docs and found that there is halyard config to change the base address of the ui and api components
i did
Notice this is probably a poor security practice (also not using tls above like Anyway hope this helps someone because it took me lots of time to figure out 😅 |
@chrisevett Thank you so much, I struggled so mcuh with it but the "hal config security ui edit configs" did the trick for me. thnx again! |
@chrisevett Thanks. I was struggling with this for a while. Fortunately, googling landed me here in no time and your suggestions helped me to resolve my issues. Thanks for that. Cheers!! |
I've just installed a fresh copy of Spinnaker, I can see that not all the services are up and running:
I am missing one of the key pieces, cloudriver.
So after navigating a bit on the other issues I decided to give it a spin manually and voilá, I believe I must have had missed something along the debianlocal installation, I am uploading the captured data with the hopes some one can point me on the right direction.
so here it is:
cloudriver-manual-start.log.txt
regards and thank you for the help.
EN
The text was updated successfully, but these errors were encountered: