Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Clicking "Load Datacenters" when creating VMWare compute resource complains: "String does not start with the prefix 'encrypted-', so Foreman::Model::Vmware VMWare-vCentre was not decrypted" and you can not save the compute resource. No error message is displayed.
Version-Release number of selected component (if applicable):
Satellite-6.0.3-RHEL-6-20140626.1
VMware-vCenter-Server-Appliance-5.5.0.10000-1624811_OVF10.ova + latest updates
How reproducible:
always
Steps to Reproduce:
1. Start VMware-vCenter-Server
2. Create compute profile with VMWare provider, IP adress set to vCenter server,
user "root" and password "vmware" (credentials I use to connect to "VMware
vCenter Server Appliance" webUI)
3. Click [Load Datacenters]
Actual results:
Nothing happens in webUI besides "Fingerprint" field being populated. Clicking on [Submit] do not save the compute resource
Expected results:
Either error message should appear or [Submit] should save the compute resource
Additional info:
==> /var/log/foreman/production.log <==
Processing by ComputeResourcesController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"<token>", "compute_resource"=>{"name"=>"VMWare-vCentre", "provider"=>"Vmware", "description"=>"", "server"=>"<ip>", "user"=>"root", "password"=>"[FILTERED]", "set_console_password"=>"[FILTERED]", "location_ids"=>["", "2"], "organization_ids"=>["", "1"]}, "commit"=>"Submit"}
String does not start with the prefix 'encrypted-', so Foreman::Model::Vmware VMWare-vCentre was not decrypted
String does not start with the prefix 'encrypted-', so Foreman::Model::Vmware VMWare-vCentre was not decrypted
String does not start with the prefix 'encrypted-', so Foreman::Model::Vmware VMWare-vCentre was not decrypted
Failed to save: Datacenter can't be blank
Rendered compute_resources/form/_vmware.html.erb (8.7ms)
Rendered taxonomies/_loc_org_tabs.html.erb (8.0ms)
Rendered compute_resources/_form.html.erb (333.2ms)
Rendered compute_resources/new.html.erb within layouts/application (333.8ms)
Rendered home/_submenu.html.erb (4.8ms)
Rendered home/_user_dropdown.html.erb (5.0ms)
Read fragment views/tabs_and_title_records-1 (0.1ms)
Rendered home/_organization_dropdown.html.erb (3.8ms)
Rendered home/_location_dropdown.html.erb (3.0ms)
Rendered home/_org_switcher.html.erb (7.4ms)
Rendered home/_submenu.html.erb (3.9ms)
Rendered home/_submenu.html.erb (3.9ms)
Rendered home/_submenu.html.erb (4.4ms)
Rendered home/_submenu.html.erb (3.0ms)
Rendered home/_submenu.html.erb (2.8ms)
Rendered home/_submenu.html.erb (4.2ms)
Write fragment views/tabs_and_title_records-1 (1.5ms)
Rendered home/_topbar.html.erb (46.2ms)
Rendered layouts/base.html.erb (47.8ms)
Completed 200 OK in 411ms (Views: 382.2ms | ActiveRecord: 4.3ms)
OK, when I have created some datacenter (I have created some cluster as well) in vSphere Web Client, it started to work. So please read this bug like "With no datacenters, error should be shown" - otherwise webUI just seems unresponsive.
Moving to POST since upstream bug http://projects.theforeman.org/issues/6540 has been closed
-------------
Shlomi Zadok
Applied in changeset commit:ebac69ceab851c6124d9fc167b3d58f8c559e1ae.
(In reply to Jan Hutař from comment #2)
> OK, when I have created some datacenter (I have created some cluster as
> well) in vSphere Web Client, it started to work. So please read this bug
> like "With no datacenters, error should be shown" - otherwise webUI just
> seems unresponsive.
I can add vmware vCenter sucessfully now and according to Comment 2:
1, leave "VCenter/Server *", "Username *", "Password *" blank, click "Load Datacenters", error is shown as "can't be blank"
2, fill in with not exist vCenter, time out and prompt:
Unable to save
execution expired
3, fill in with wrong user/password, it prompt:
Unable to save
InvalidLogin: Cannot complete login due to an incorrect user name or password.
So I thinks this bug has been fixed, thanks!
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2015:1592
Description of problem: Clicking "Load Datacenters" when creating VMWare compute resource complains: "String does not start with the prefix 'encrypted-', so Foreman::Model::Vmware VMWare-vCentre was not decrypted" and you can not save the compute resource. No error message is displayed. Version-Release number of selected component (if applicable): Satellite-6.0.3-RHEL-6-20140626.1 VMware-vCenter-Server-Appliance-5.5.0.10000-1624811_OVF10.ova + latest updates How reproducible: always Steps to Reproduce: 1. Start VMware-vCenter-Server 2. Create compute profile with VMWare provider, IP adress set to vCenter server, user "root" and password "vmware" (credentials I use to connect to "VMware vCenter Server Appliance" webUI) 3. Click [Load Datacenters] Actual results: Nothing happens in webUI besides "Fingerprint" field being populated. Clicking on [Submit] do not save the compute resource Expected results: Either error message should appear or [Submit] should save the compute resource Additional info: ==> /var/log/foreman/production.log <== Processing by ComputeResourcesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"<token>", "compute_resource"=>{"name"=>"VMWare-vCentre", "provider"=>"Vmware", "description"=>"", "server"=>"<ip>", "user"=>"root", "password"=>"[FILTERED]", "set_console_password"=>"[FILTERED]", "location_ids"=>["", "2"], "organization_ids"=>["", "1"]}, "commit"=>"Submit"} String does not start with the prefix 'encrypted-', so Foreman::Model::Vmware VMWare-vCentre was not decrypted String does not start with the prefix 'encrypted-', so Foreman::Model::Vmware VMWare-vCentre was not decrypted String does not start with the prefix 'encrypted-', so Foreman::Model::Vmware VMWare-vCentre was not decrypted Failed to save: Datacenter can't be blank Rendered compute_resources/form/_vmware.html.erb (8.7ms) Rendered taxonomies/_loc_org_tabs.html.erb (8.0ms) Rendered compute_resources/_form.html.erb (333.2ms) Rendered compute_resources/new.html.erb within layouts/application (333.8ms) Rendered home/_submenu.html.erb (4.8ms) Rendered home/_user_dropdown.html.erb (5.0ms) Read fragment views/tabs_and_title_records-1 (0.1ms) Rendered home/_organization_dropdown.html.erb (3.8ms) Rendered home/_location_dropdown.html.erb (3.0ms) Rendered home/_org_switcher.html.erb (7.4ms) Rendered home/_submenu.html.erb (3.9ms) Rendered home/_submenu.html.erb (3.9ms) Rendered home/_submenu.html.erb (4.4ms) Rendered home/_submenu.html.erb (3.0ms) Rendered home/_submenu.html.erb (2.8ms) Rendered home/_submenu.html.erb (4.2ms) Write fragment views/tabs_and_title_records-1 (1.5ms) Rendered home/_topbar.html.erb (46.2ms) Rendered layouts/base.html.erb (47.8ms) Completed 200 OK in 411ms (Views: 382.2ms | ActiveRecord: 4.3ms)