Closed MartinEtcheverry closed 4 years ago
Hi @MartinEtcheverry,
Would it be possible to show a (redacted) copy of your credentials .fog
file as it currently exists?
Hi Laura, this is fog file to connet against my testing vcloud director: yaml test_credentials: Vcloud_director_host: '192.168.1.32' vcloud_director_username: 'testuser' vcloud_director_password: 'password'
2016-11-07 9:00 GMT-03:00 Laura Martin notifications@github.com:
Hi @MartinEtcheverry https://github.com/MartinEtcheverry,
Would it be possible to show a (redacted) copy of your credentials .fog file as it currently exists?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gds-operations/vcloud-net_launcher/issues/69#issuecomment-258817931, or mute the thread https://github.com/notifications/unsubscribe-auth/AWDXZGetU5RyXIC-ujFfCAfmwCGfrucnks5q7xLQgaJpZM4KjjqH .
::: (\(\
*: (=' :') :*
... (,('')('')....
martin@etcheverri.com
Consultoria de sistemas
I note that you have a capital V
in Vcloud_director_host
- I recommend setting this to lowercase.
I also think our documentation on here may be formatted incorrectly.
As an example, your .fog
file should look like this:
~ cat ~/.fog
---
test_credentials:
vcloud_director_host: 'my_host.com'
vcloud_director_username: 'laura'
vcloud_director_password: ''
It should be yaml, but our docs look incorrect. I'll look into updating that.
Thanks, Laura
hi , thanks for your help , but now i have a new problem :
Something went wrong: error finding LoginUrl: API Error: 406: The request has invalid accept header.Supported API versions are: [1.5, 5.1, 5.5]
my config is:
provider "vcd" { user = "user" password = "password" org = "my_org" url = "https://192.168.1.32/api/sessions" vdc = "my_vdc" allow_unverified_ssl = "true" }
i think that the problem is that i didn´t say what api version use.
thanks in advance Martín
2016-11-08 15:57 GMT-03:00 Laura Martin notifications@github.com:
I note that you have a capital V in Vcloud_director_host - I recommend setting this to lowercase.
I also think our documentation on here http://gds-operations.github.io/vcloud-tools/usage/ may be formatted incorrectly.
As an example, your .fog file should look like this:
~ cat ~/.fog
test_credentials: vcloud_director_host: 'my_host.com' vcloud_director_username: 'laura' vcloud_director_password: ''
It should be yaml, but our docs look incorrect. I'll look into updating that.
Thanks, Laura
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gds-operations/vcloud-net_launcher/issues/69#issuecomment-259226161, or mute the thread https://github.com/notifications/unsubscribe-auth/AWDXZPF8qAz8NGv_bsJDSZrwYwYiNJOSks5q8MYQgaJpZM4KjjqH .
::: (\(\
*: (=' :') :*
... (,('')('')....
martin@etcheverri.com
Consultoria de sistemas
Hi Martin,
Sorry for the delay in getting back to you. Did you ever resolve this error?
Thanks, Laura
Hi Laura, all the project was put "on hold", i will restart the project in a couple of weeks.
By the way , are plans of the "gds suite" interact with nsx?
Thanks Best regards Martin
2017-06-16 13:29 GMT-03:00 Laura Martin notifications@github.com:
Hi Martin,
Sorry for the delay in getting back to you. Did you ever resolve this error?
Thanks, Laura
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gds-operations/vcloud-net_launcher/issues/69#issuecomment-309072157, or mute the thread https://github.com/notifications/unsubscribe-auth/AWDXZGcg6sZ_u-uPCEpZ7NcOIlWUJoBYks5sEq1ZgaJpZM4KjjqH .
--
::: (\(\
*: (=' :') :*
... (,('')('')....
martin@etcheverri.com
Consultoria de sistemas
Hi Martin,
We have recently declared the project feature complete, so won't be adding any new features to it I'm afraid. We will try to address any bugs with it, however.
It appears someone has done some work adding NSX as a provider to Terraform so would recommend investigating this option alongside Terraform for your deployments. The Terraform project will likely have more traction in the future than vCloud Tools.
Thanks, Laura
This tool is no longer in active use and the repository will be archived so we're closing this pull request. Thank you for your interest and involvement in this project.
Hi , i am completely new to ruby , but reading about the tool, i love their capabilities. The problem i dont´t know anything of ruby (i already started to learn). when i do the first steps in the instalation i have problems checking the authentication.
infra@ubuntu:~$ eval $(FOG_CREDENTIAL=test_credentials vcloud-login) /var/lib/gems/2.3.0/gems/psych-2.1.1/lib/psych.rb:379:in'
parse': (/home/infra/.fog): mapping values are not allowed in this context at line 1 column 44 (Psych::SyntaxError) from /var/lib/gems/2.3.0/gems/psych-2.1.1/lib/psych.rb:379:in
parse_stream' from /var/lib/gems/2.3.0/gems/psych-2.1.1/lib/psych.rb:327:inparse' from /var/lib/gems/2.3.0/gems/psych-2.1.1/lib/psych.rb:254:in
load' from /var/lib/gems/2.3.0/gems/psych-2.1.1/lib/psych.rb:475:inblock in load_file' from /var/lib/gems/2.3.0/gems/psych-2.1.1/lib/psych.rb:474:in
open' from /var/lib/gems/2.3.0/gems/psych-2.1.1/lib/psych.rb:474:inload_file' from /var/lib/gems/2.3.0/gems/fog-core-1.43.0/lib/fog/core/credentials.rb:70:in
credentials' from /var/lib/gems/2.3.0/gems/vcloud-core-2.0.0/lib/vcloud/core/fog.rb:42:infog_credentials_pass' from /var/lib/gems/2.3.0/gems/vcloud-core-2.0.0/lib/vcloud/core/fog.rb:59:in
check_plaintext_pass' from /var/lib/gems/2.3.0/gems/vcloud-core-2.0.0/lib/vcloud/core/fog.rb:33:incheck_credentials' from /var/lib/gems/2.3.0/gems/vcloud-core-2.0.0/lib/vcloud/core/fog.rb:69:in
<top (required)>' from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:inrequire' from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in
require' from /var/lib/gems/2.3.0/gems/vcloud-core-2.0.0/lib/vcloud/core.rb:3:in<top (required)>' from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in
require' from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:inrequire' from /var/lib/gems/2.3.0/gems/vcloud-core-2.0.0/bin/vcloud-login:3:in
<top (required)>' from /usr/local/bin/vcloud-login:23:inload' from /usr/local/bin/vcloud-login:23:in
the .fog file is exactly cut & paste. any idea?