13 Replies Latest reply on Oct 12, 2018 2:21 AM by Ray_handels

    App Volumes 2.13.3

    Lakshman Virtuoso
    VMware EmployeesvExpert
        • 1. Re: App Volumes 2.13.3
          SummaCollege Enthusiast

          I have just installed 2.13.3 as an upgrade from 2.12 but right after logging in we only see the message on a white page: "Server Error"

          Any ideas?

          • 2. Re: App Volumes 2.13.3
            techguy129 Expert
            vExpert

            Great. Send my thanks to the App Volumes team for getting this update out there.

             

            Thank you for letting us know its available!

            • 3. Re: App Volumes 2.13.3
              SummaCollege Enthusiast

              In production.log i found the following:

              As far as i know SSL verification was disabled before upgrade.

              [2018-03-16 12:05:32 UTC]     P5232R17  INFO   Rendered text template (0.0ms)

              [2018-03-16 12:05:32 UTC]     P5232R17  INFO Completed 500 Internal Server Error in 125.0ms (Views: 0.4ms | ActiveRecord: 31.3ms)

              [2018-03-16 12:05:32 UTC]     P5232R17  INFO

              [2018-03-16 12:05:45 UTC]     P2856R51  INFO Started GET "/login" for 127.0.0.1 at 2018-03-16 13:05:45 +0100

              [2018-03-16 12:05:45 UTC]     P2856R51  INFO Processing by LoginController#login as HTML

              [2018-03-16 12:05:45 UTC]     P2856R51  INFO   Rendered login/login.html.erb (0.0ms)

              [2018-03-16 12:05:45 UTC]     P2856R51  INFO Completed 200 OK in 0.0ms (Views: 1.5ms | ActiveRecord: 0.0ms)

              [2018-03-16 12:05:45 UTC]     P2856R51  INFO

              [2018-03-16 12:05:45 UTC]     P5232R18  INFO Started GET "/cv_api/version" for 127.0.0.1 at 2018-03-16 13:05:45 +0100

              [2018-03-16 12:05:45 UTC]     P5232R18  INFO Processing by CvApi::VersionsController#show as JSON

              [2018-03-16 12:05:45 UTC]     P5232R18  INFO Completed 200 OK in 31.2ms (Views: 0.2ms | ActiveRecord: 31.2ms)

              [2018-03-16 12:05:45 UTC]     P5232R18  INFO

              [2018-03-16 12:05:51 UTC]     P2856R52  INFO Started POST "/login" for 127.0.0.1 at 2018-03-16 13:05:51 +0100

              [2018-03-16 12:05:51 UTC]     P2856R52  INFO Processing by LoginController#login as HTML

              [2018-03-16 12:05:51 UTC]     P2856R52  INFO   Parameters: {"utf8"=>"...", "authenticity_token"=>"fjiPhHIUESjv1LtEl0z/peLQS4ZPGPm3T7NYKRxsk4U=", "user"=>{"account_name"=>"appvladmin", "password"=>"[FILTERED]", "domain_name"=>"SUMMACOLLEGE"}}

              [2018-03-16 12:05:51 UTC]     P2856R52 ERROR    Manager: Unhandled request exception: undefined method `ssl_verify' for #<LdapDomain:0x000000021b11e0>

              [2018-03-16 12:05:51 UTC]     P2856R52 ERROR    Manager: Inspecting Array (10691660) (from log block)

              • 4. Re: App Volumes 2.13.3
                techguy129 Expert
                vExpert

                This you see this setting that was mention in the release notes? SummaCollege

                 

                There is a new Disable certificate validation (insecure) checkbox that has been added to make it easier to upgrade App Volumes. The new checkbox enables you to choose whether or not to validate the Active Directory certificate. This option is available when you connect securely from Active Directory to App Volumes Manager using LDAPS or LDAP over TLS.

                • 5. Re: App Volumes 2.13.3
                  SummaCollege Enthusiast

                  techguy129

                  I did see that new setting, but that checkbox wasn't shown when upgrading. We also did not have certificate validation enabled before upgrade so i didn't think it would matter.

                  • 6. Re: App Volumes 2.13.3
                    julatoski Novice
                    VMware Employees

                    Our support team would need to understand the specific version that you upgraded from, how the upgrade was performed and if the database was ever modified/reset for any reason.  My recommendation would to be to file an SR for this issue and our support team can assist you further.

                    • 7. Re: App Volumes 2.13.3
                      julatoski Novice
                      VMware Employees

                      Thank you, techguy129.  I'll pass on your gratitude to the team.

                      • 8. Re: App Volumes 2.13.3
                        oliii Novice

                        I see a similar error log when trying to upgrade from 2.13.1 to 2.13.3.

                        and also right after logging in we only see the message on a white page: "Server Error"


                        We don't have LDAPS or LDAP over TLS configured, just normal LDAP (insecure).

                         

                        That checkbox "Disable certificate validation (insecure)" wasn't shown when upgrading.

                         

                        Header 1

                        [2018-03-28 10:32:31 UTC] P2284DJ3017689 ERROR        Cvo: Unknown exception (undefined method `ssl_verify' for #<LdapDomain:0x000000017f04f8>): undefined method `ssl_verify' for #<LdapDomain:0x000000017f04f8>

                        [2018-03-28 10:32:31 UTC] P2284DJ3017689 ERROR        Cvo: Job error: Attach Computer #<Thread:0x00000000b1cec0> undefined method `ssl_verify' for #<LdapDomain:0x000000017f04f8>

                         

                         

                        [2018-03-28 10:33:43 UTC]      P2404R5  INFO Processing by LoginController#login as HTML

                        [2018-03-28 10:33:43 UTC]      P2404R5  INFO   Parameters: {"utf8"=>"✓", "authenticity_token"=>"2WYMQ9RnaPPdbnsKc4ceM7QBBzJhnVnhM9/lzFbcSI0=", "user"=>{"account_name"=>"admerismann", "password"=>"[FILTERED]", "domain_name"=>"NTGFRAG001"}}

                        [2018-03-28 10:33:43 UTC]      P2404R5 ERROR    Manager: Unhandled request exception: undefined method `ssl_verify' for #<LdapDomain:0x000000013b7ee0>

                        [2018-03-28 10:33:43 UTC]      P2404R5 ERROR    Manager: Inspecting Array (9754780) (from log block)

                        [

                            [ 0] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/activemodel-3.2.22.5/lib/active_model/attribute_methods.rb:407:in `method_missing'",

                            [ 1] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/attribute_methods.rb:149:in `method_missing'",

                            [ 2] "C:/Program Files (x86)/CloudVolumes/Manager/app/models/ldap_domain.rb:115:in `verify_certificates?'",

                            [ 3] "C:/Program Files (x86)/CloudVolumes/Manager/app/models/cvo/ldap/configuration.rb:72:in `set_attrs_via_ldap_domain'",

                            [ 4] "C:/Program Files (x86)/CloudVolumes/Manager/app/models/cvo/ldap/configuration.rb:32:in `initialize'",

                            [ 5] "C:/Program Files (x86)/CloudVolumes/Manager/app/models/cvo/ldap/proxy.rb:1217:in `new'",

                            [ 6] "C:/Program Files (x86)/CloudVolumes/Manager/app/models/cvo/ldap/proxy.rb:1217:in `block in domain_configs'",

                            [ 7] "C:/Program Files (x86)/CloudVolumes/Manager/app/models/cvo/ldap/proxy.rb:1217:in `collect'",

                            [ 8] "C:/Program Files (x86)/CloudVolumes/Manager/app/models/cvo/ldap/proxy.rb:1217:in `domain_configs'",

                            [ 9] "C:/Program Files (x86)/CloudVolumes/Manager/app/models/cvo/ldap/proxy.rb:548:in `configurations'",

                            [10] "C:/Program Files (x86)/CloudVolumes/Manager/app/models/cvo/ldap/proxy.rb:1059:in `configuration_from_netbios'",

                            [11] "C:/Program Files (x86)/CloudVolumes/Manager/app/models/cvo/ldap/proxy.rb:113:in `connected?'",

                            [12] "C:/Program Files (x86)/CloudVolumes/Manager/app/controllers/login_controller.rb:63:in `login'",

                            [13] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_controller/metal/implicit_render.rb:4:in `send_action'",

                            [14] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/abstract_controller/base.rb:167:in `process_action'",

                            [15] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_controller/metal/rendering.rb:10:in `process_action'",

                            [16] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/abstract_controller/callbacks.rb:18:in `block in process_action'",

                            [17] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:448:in `block in _run__752904377__process_action__680488965__callbacks'",

                            [18] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_1916'",

                            [19] "C:/Program Files (x86)/CloudVolumes/Manager/app/controllers/application_controller.rb:207:in `wrap_request'",

                            [20] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_1916'",

                            [21] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:414:in `_run__752904377__process_action__680488965__callbacks'",

                            [22] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:405:in `__run_callback'",

                            [23] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'",

                            [24] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb:81:in `run_callbacks'",

                            [25] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/abstract_controller/callbacks.rb:17:in `process_action'",

                            [26] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_controller/metal/rescue.rb:29:in `process_action'",

                            [27] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'",

                            [28] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/notifications.rb:123:in `block in instrument'",

                            [29] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'",

                            [30] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/activesupport-3.2.22.5/lib/active_support/notifications.rb:123:in `instrument'",

                            [31] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_controller/metal/instrumentation.rb:29:in `process_action'",

                            [32] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'",

                            [33] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/activerecord-3.2.22.5/lib/active_record/railties/controller_runtime.rb:18:in `process_action'",

                            [34] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/abstract_controller/base.rb:121:in `process'",

                            [35] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/abstract_controller/rendering.rb:46:in `process'",

                            [36] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_controller/metal.rb:203:in `dispatch'",

                            [37] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'",

                            [38] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_controller/metal.rb:246:in `block in action'",

                            [39] "C:/Program Files (x86)/CloudVolumes/Manager/vendor/bundle/ruby/2.2.0/gems/actionpack-3.2.22.5/lib/action_dispatch/routing/route_set.rb:73:in `call'"

                        ]

                        [2018-03-28 10:33:43 UTC]      P2404R5  INFO   Rendered text template (0.0ms)

                        [2018-03-28 10:33:43 UTC]      P2404R5  INFO Completed 500 Internal Server Error in 156.3ms (Views: 0.4ms | ActiveRecord: 46.9ms)

                        • 9. Re: App Volumes 2.13.3
                          oliii Novice

                          With the environment variable AVM_DISABLE_LDAP_SSL_VALIDATION = 1 everything works fine.

                          1 person found this helpful
                          • 10. Re: App Volumes 2.13.3
                            alsmk2 Enthusiast

                            Terrifying - I wonder what this release will break! Already quite a lot judging by the posts above.

                            • 11. Re: App Volumes 2.13.3
                              julatoski Novice
                              VMware Employees

                              Hi oliii,

                               

                              Glad you were able to get your environment going. The log you provided is not enough information for us and we have yet to have an official report of this issue.  Would you mind reporting this to VMware support or connect with me directly?

                               

                              Thank you!

                              • 12. Re: App Volumes 2.13.3
                                MattVicos Novice

                                We're getting server code 500 after upgrading from 2.12.1 to 2.14.2, where should the below setting be and do we need to role back then apply this setting?

                                 

                                AVM_DISABLE_LDAP_SSL_VALIDATION = 1

                                • 13. Re: App Volumes 2.13.3
                                  Ray_handels Master
                                  vExpertCommunity Warriors

                                  This is a system variable that needs to be set on the appvolumes host itself.

                                  You could try adding this and then rebooting the appvolumes manager to see if it works. Otherwise you could (not 100% sure though) just install a new server and point it to the current database. The Appvolumes manager is mostly just software that connects to the database. The database is where all the magic happens.