Coder Social home page Coder Social logo

esri / arcgis-cookbook Goto Github PK

View Code? Open in Web Editor NEW
297.0 62.0 116.0 2.09 MB

Chef cookbooks for ArcGIS

License: Apache License 2.0

Ruby 91.14% Shell 4.42% HTML 4.25% Python 0.19%
ruby cookbook chef chef-cookbook esri arcgis arcgis-cookbook arcgis-enterprise arcgis-desktop arcgis-pro

arcgis-cookbook's Introduction

Gitter chat

Chef Cookbooks for ArcGIS

This repository contains ArcGIS Chef cookbooks used to help simplify and automate ArcGIS installation and configuration using IT automation tool Chef.

Included cookbooks:

  • arcgis-license-manager - installs and configures ArcGIS License Manager.
  • arcgis-egdb - creates enterprise geodatabases in SQL Server or PostgreSQL DBMS and registers them with ArcGIS Server.
  • arcgis-enterprise - installs and configures ArcGIS Server, ArcGIS Data Store, Portal for ArcGIS, ArcGIS WebAdaptor.
  • arcgis-geoevent - installs and configures ArcGIS GeoEvent Server.
  • arcgis-insights - installs and configures Insights for ArcGIS.
  • arcgis-mission - installs and configures ArcGIS Mission Server.
  • arcgis-notebooks - installs and configures ArcGIS Notebook Server.
  • arcgis-pro - installs and configures ArcGIS Pro.
  • arcgis-repository - downloads ArcGIS software setups from remote to local repositories.
  • arcgis-workflow-manager - installs and configures ArcGIS Workflow Manager Server.
  • arcgis-video - installs and configures ArcGIS Video Server.
  • esri-iis - enables IIS features required by ArcGIS Web Adaptor (IIS) and configures HTTPS binding.
  • esri-tomcat - installs and configures Apache Tomcat for using with ArcGIS Web Adaptor.

Included ArcGIS deployment templates:

See wiki pages and cookbooks' README.md files for more information about using ArcGIS cookbooks.

Issues

Find a bug or want to request a new feature? Please let us know by submitting an issue.

Contributing

Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.

Licensing

Copyright 2015-2024 Esri

Licensed under the Apache License, Version 2.0 (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's License.txt file.

arcgis-cookbook's People

Contributors

cameronkroeker avatar cherrygit avatar iennae avatar jgravois avatar jiriteach avatar joalvarez avatar jonathanan avatar knu2xs avatar mtrameau avatar pbobov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

arcgis-cookbook's Issues

why federate always fail

dear sir:
this code is my run log,
In the process of installation without error,but federation always fail
I hope you can help me。
Detailed as follows:

  • windows_service[Portal for ArcGIS] action restart
    • restart service windows_service[Portal for ArcGIS]
    • ruby_block[Wait until Portal and Web Adaptor are available] action run
      • execute the ruby block Wait until Portal and Web Adaptor are available
    • execute[Configure Web Adaptor with Portal] action run
    • ruby_block[Wait until portal is available] action run
      • execute the ruby block Wait until portal is available
        Recipe: arcgis::federation
    • arcgis_portal[Federate Server] action federate_server

Running handlers:
Running handlers complete

Deprecated features used!
config_store_connection_secret nil currently does not overwrite the value of config_store_connection_secret. This will change in Chef 13, and the value will be set to nil instead. Please change your code to explicitly accept nil using "property :config_store_connection_secret, [MyType, nil]", or stop setting this value to nil. at 1 location:
- C:\chef\cookbooks\arcgis\recipes\server.rb:55:in block in from_file' web_context_url nil currently does not overwrite the value of web_context_url. This will change in Chef 13, and the value will be set to nil instead. Please change your code to explicitly accept nil using "property :web_context_url, [MyType, nil]", or stop setting this value to nil. at 1 location: - C:\chef\cookbooks\arcgis\recipes\portal.rb:41:inblock in from_file'
Using an LWRP provider by its name (WindowsFeatureDism) directly is no longer supported in Chef 12 and will be removed. Use Chef::ProviderResolver.new(node, resource, action) instead. at 1 location:
- C:\chef\cookbooks\windows\resources\feature.rb:32:in `initialize'

Chef Client finished, 54/72 resources updated in 45 minutes 28 seconds

Portal RAM specs and renaming a Portal

Two questions:

  1. specs I saw somewhere mention 16GB ram minimum.
    I noticed that with a dev setup, at 10 or 12GB, I would show 65% RAM usage but have an awful lot of slow and buggy behavior.
    Is there a formula for # of users vs. needed RAM?
    What would you suggest for a good starting place or RAM. (16, 20?)
    And if we then add 100 named users?

My experience is that the RAM consumption depends mostly on number of services running, right?

  1. I have decent setup running now. But I had given it a name as a Development box (initial testing, learning setups, etc...) I can fairly easily just kick off a new VM with the correct name and build it up from scratch, thanks to the Chef cookbook.
    But I'm curious, can I rename this dev box, reboot, modify my json file to reflect the new name and rerun Chef and will that rename the correct settings?

Thanks

Installing Portal: Migration Error

I am using chef-client-12.2.1-1 on Windows 7.

I am having issue installing Portal for ArcGIS.(Using Valid Domain Certificate)

  • Portal is getting authorized (with an .ecp file) properly. After that
  • It gives an error in creating Portal site
    RuntimeError
    Migration failed.null

Thanks!
Shikhar Deep

Setting the root certificate

Is there a way to import a root/intermediate certificate? The keystore_file seems to be the Server certificate; can a root be imported as well?

Custom installation of ArcGIS for Desktop silently:

In chef arcgis-cookbook:
ADDLOCAL takes parameters through 'install_features': (Found in default.rb)

When I tried the following combinations: (I had issues with Python specially.)

  1. 'install_features':'ArcMap,Python' -->Only these two gets installed properly
  2. 'install_features':'Python' --> Only Python gets installed
  3. 'install_features':'ArcMap,Python,ArcCatalog' --> Error,
    Invalid command line argument.
    Consult the Windows Installer SDK
    for detailed command line help.

4.'install_features':'ArcMap,ArcCatalog,Ext_3D_Analyst,NetworkAnalyst'--> Proper Installation
of each mentioned with an exception of Python

Kindly let me know why the issue is with Python.

Thanks & Rgds
Shikhar Deep

Installation of Portal fails within Recipe 'portal.rb'

Hello,

I'm trying to install ArcGIS Server + Portal 10.4.1 with your Chef Cookbook.

Within the recipe 'portal.rb', the installation fails with "ArgumentError: File 'D:\Programs\ArcGIS\Portal/framework/runtime/ds/framework/etc/hostidentifier.properties' does not exist".

I've checked the file system, the directory "D:\Programs\ArcGIS\Portal/framework/runtime/ds" doesn't exist.
Any ideas how to resolve this?

Regards
mu88

GeoEvent Processor

About to install a geo event processor (GEP) into our test system.
Test Portal is not setup as an HA, thus the all in one box has the config folders set to be located on the local hard drive of that VM.

Looking at the GEP json file a few questions come to mind:

  1. ArcGIS Server gets installed but is done without IIS or a web adaptor. Which means this is a Windows environment (Win Srvr 2012 R2)
    I'm guessing then that the GEP Server runs out there on its own, no web adaptor needed.
    Hence one doesn't federated it into the Portal system. In essence, it's sort of an island on its own.
    Which I also assume means that you don't publish anything to the Server piece of the GEP box.
    It's strictly for running the GEP extension?
    In the talks I've attended, the GEP is said to be rather processor intensive so I assume you would never publish map or feature services to the box.
  2. How about when I introduce a GEP into my Production Portal environment?
    Anything different in that situation?
    For example, Prod Portal is setup to eventually become the primary in an HA environment.
    So the config folders are out there on a shared file server.
    Once again I'm guessing that GEP basically runs as an island, unaware of Portal and its Federated Servers? At least unaware in the sense that it is not part of Portal and is not sharing config files?

Thanks for your help.

Changing the licence file type

I am trying to specify *.ecp licence files for Portal and ArcGIS Server when running the 'webgis-windows' recipe. I get an error 'invalid char in json text .ecp'. Is there a way to specify ecp files instead of provisioning files?

Uninstall of Portal WA fails

When I run the uninstall script on a machine with portal and wa it fails on the uninstall of WA

Mixlib::ShellOut::ShellCommandFailed: arcgis_server_webadaptor[Uninstall Web Adaptor for Portal] (arcgis-server::webgis_uninstalled line 20) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1605'
---- Begin output of "msiexec" /qb /x {604CF558-B7E1-4271-8543-75E260080DFA} ----
STDOUT: T h i s   a c t i o n   i s   o n l y   v a l i d   f o r   p r o d u c t s   t h a t   a r e   c u r r e n t l y   i n s t a l l e d .
STDERR: 
---- End output of "msiexec" /qb /x {604CF558-B7E1-4271-8543-75E260080DFA} ----

This only happens with a Web Adapter installed for Portal if it is the Server WA install it uninstalls without problem. Seems it somehow getting the wrong product code when running this action

Reruning Chef on a current install

Trying to convince a colleague of the benefit of Chef, one of his concerns is that re-running Chef could wipe out an existing Portal's setup.
I took a snapshot of our Dev that has lots of data, maps, etc... and reran Chef.

Our Dev Portal is setup in https only mode which I'm thinking has led to the following failure of Chef to re-run?
Our server is now "https://dev-allInOne.ourdomain.org:6443/arcgis"
rather than the 6080 seen below.

Compiled Resource:

Declared in C:\chef\cookbooks\arcgis\recipes\server.rb:51:in `from_file'

arcgis_server("Create ArcGIS for Server Site") do
action [:create_site]
retries 5
retry_delay 30
default_guard_interpreter :default
declared_type :arcgis_server
cookbook_name :arcgis
recipe_name "server"
_ server_url "http://dev-allInOne.ourdomain.org:6080/arcgis"_
username "uname"
password "pword"
server_directories_root "C:\arcgisserver"
config_store_connection_string "C:\arcgisserver/config-store"
config_store_type "FILESYSTEM"
end

[2016-04-07T15:55:50-06:00] INFO: Running queued delayed notifications before re-raising exception
[2016-04-07T15:55:50-06:00] ERROR: Running exception handlers
[2016-04-07T15:55:50-06:00] ERROR: Exception handlers complete
[2016-04-07T15:55:50-06:00] FATAL: Stacktrace dumped to C:/chef/cache/chef-stacktrace.out

Is that correct? To rerun Chef do I need to adjust a recipe or set Portal back to the default of http ?

Error: Unable to download data from https://rubygems.org/

Windows Server 2012 R2
ArcGIS 10.4.1
Chef 12.12.15

When trying to execute the 'arcgis-server::system' recipe I am receiving an an error:

"Unable to download data from https://rubygems.org/ - Errno::ECONNABORTED: An established connection was aborted by the software in your host machine. - SSL_connect (https://api.rubygems.org/specs.4.8.gz)".

Do you know how I can resolve this error? More detailed output below.

Thanks
Matt

[2016-08-10T15:52:08+01:00] INFO: *** Chef 12.12.15 ***
[2016-08-10T15:52:08+01:00] INFO: Platform: x64-mingw32
[2016-08-10T15:52:08+01:00] INFO: Chef-client pid: 2464
[2016-08-10T15:52:16+01:00] INFO: Setting the run_list to ["recipe[arcgis-server::system]"] from CLI options
[2016-08-10T15:52:16+01:00] INFO: Run List is [recipe[arcgis-server::system]]
[2016-08-10T15:52:16+01:00] INFO: Run List expands to [arcgis-server::system]
[2016-08-10T15:52:16+01:00] INFO: Starting Chef Run for myserver.mydomain
[2016-08-10T15:52:16+01:00] INFO: Running start handlers
[2016-08-10T15:52:16+01:00] INFO: Start handlers complete.
[2016-08-10T15:52:16+01:00] INFO: HTTP Request Returned 404 Not Found: Object not found:
[2016-08-10T15:52:24+01:00] INFO: Loading cookbooks [[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]]
[2016-08-10T15:52:25+01:00] WARN: "method access to node attributes (node.foo.bar) is deprecated and will be removed in Chef 13, please use bracket syntax (node["foo"]["bar"]) at c:/chef/local-mode-cache/cache/cookbooks/chef_handler/attributes/default.rb:23:in from_file' at C:/opscode/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.12.15-universal-mingw32/lib/chef/event_dispatch/dispatcher.rb:43:incall'
[2016-08-10T15:52:25+01:00] INFO: Processing chef_gem[multipart-post] action install (arcgis-server::system line 20)
[2016-08-10T15:52:27+01:00] WARN: failed to find gem multipart-post (>= 0) from [https://rubygems.org/]
[2016-08-10T15:52:30+01:00] ERROR: chef_gem[multipart-post](arcgis-server::system line 20) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '2'
---- Begin output of C:/opscode/chef/embedded/bin/gem install "multipart-post" -q --no-rdoc --no-ri ----
STDOUT:
STDERR: ERROR: Could not find a valid gem 'multipart-post' (>= 0), here is why:

      Unable to download data from https://rubygems.org/ - Errno::ECONNABORTED: An established connection was aborted by the software in your host machine. - SSL_connect (https://api.rubygems.org/specs.4.8.gz)

IP Changes

Been dealing with an unusual issue: I created an all-in-one Portal/Server/DStore, etc... with the Chef cookbooks under Windows.
This was done on a VM Workstation virtual Win2012R2 server.
We then put it up onto VM Sphere.

Apparently, when this happened, the mac changed which then changed the IP address of the server.
Server and Portal were working after I re-imported the security cert.

But the DataStore was not accessible and kept giving me an error.
It kept trying to connect to the IP address of the original VM box.

I tried uninstalling and reinstalling Data Store and the Web Adaptors but no luck.
DataStore somewhere had something tied to the original IP.
I did all my work with URLs to try to avoid these problems.

I'm now uninstalling everything and thanks to Chef, hope it should be a fairly quick re-install.

Any idea how to fix this sort of issue?
Where might that IP be hard coded?
I searched all files under Program Files\ArcGIS and found it only in C:\Program Files\ArcGIS\Server\DatabaseSupport\dsconnections.lst and changing it there made difference.

A lot of googling and GeoNetting yielded no real answers to this.

Now that I'm aware of the issue, I think we can prevent this by keeping IPs and macs when we go from my VMWorkstation setups to the Sphere....

Thanks

Failed to open TCP connection to localhost:443

Hello,
I am attempting to provision a chef node with the arcgis-server cookbooks and am running into some problems with the web adaptor. For background, I am running CentOS 7 on VirtualBox and provisioning a Vagrant box (centos/7) with Chef Server. I receive the following error message:

==> default: ================================================================================
==> default: Error executing action configure_with_server on resource 'arcgis_server_webadaptor[Configure Web Adaptor with Server]'
==> default: ================================================================================
==> default:
==> default: Errno::ECONNREFUSED
==> default: -------------------
==> default: Failed to open TCP connection to localhost:443 (Connection refused - connect(2) for "localhost" port 443)
==> default:
==> default: Cookbook Trace:
==> default: ---------------
==> default: /var/chef/cache/cookbooks/arcgis-server/libraries/server_rest_client.rb:56:in available?' ==> default: /var/chef/cache/cookbooks/arcgis-server/providers/webadaptor.rb:130:in block in class_from_file'
==> default:
==> default: Resource Declaration:
==> default: ---------------------
==> default: # In /var/chef/cache/cookbooks/arcgis-server/recipes/server_wa.rb
==> default:
==> default: 46: arcgis_server_webadaptor 'Configure Web Adaptor with Server' do
==> default: 47: install_dir node['arcgis']['web_adaptor']['install_dir']
==> default: 48: server_wa_url node['arcgis']['server']['wa_url']
==> default: 49: server_url node['arcgis']['server']['url']
==> default: 50: username node['arcgis']['server']['admin_username']
==> default: 51: password node['arcgis']['server']['admin_password']
==> default: 52: admin_access node['arcgis']['web_adaptor']['admin_access']
==> default: 53: retries 5
==> default: 54: retry_delay 60
==> default: 55: action :configure_with_server
==> default: 56: end
==> default:
==> default: Compiled Resource:
==> default: ------------------
==> default: # Declared in /var/chef/cache/cookbooks/arcgis-server/recipes/server_wa.rb:46:in `from_file'
==> default:
==> default: arcgis_server_webadaptor("Configure Web Adaptor with Server") do
==> default: action [:configure_with_server]
==> default: retries 5
==> default: retry_delay 60
==> default: default_guard_interpreter :default
==> default: declared_type :arcgis_server_webadaptor
==> default: cookbook_name "arcgis-server"
==> default: recipe_name "server_wa"
==> default: install_dir "/"
==> default: server_wa_url "https://localhost/server"
==> default: server_url "https://localhost:6443/arcgis"
==> default: username "admin"
==> default: password "Newcent1"
==> default: end
==> default:
==> default: Platform:
==> default: ---------
==> default: x86_64-linux
==> default:

I have looked through firewalld (disabled), iptables (enabled), and ip6tables (disabled) and am not sure how to proceed.

I can provide further log files for your consideration as well.

Regards,
Jacob Nosal

403 error to Portal home

I have Portal and Server both setup to https only.

This is a development Portal, all in one box with the standard 5 users.
I created a user for one my programmers, set him to admin.

He keeps getting a 403 Error when he goes to:
https://ourallinonebox.ourdomain.org/portal/home.

403 - Forbidden: Access is denied
You do not have permission to view this directory or page using the credentials you supplied.

I used a domain account and a domain certificate to setup portal and activate SSL.
Will he need that domain Certificate on his PC ?
In the Personal folder?

Other ideas? We're starting to look at IIS settings, etc...

Setups for ArcGIS for Server, Portal, Web Adaptor

Hi,

I'm attempting to install ArcGIS Server, Portal, etc. on an Ubuntu 14.04 LTS (AWS) box and am getting an error related to the setup of AGS; here's the contents of my chef-stacktrace.out file:

Generated at 2015-08-13 20:12:47 +0000
Mixlib::ShellOut::ShellCommandFailed: execute[Install ArcGIS for Server] (/home/ubuntu/chef/cookbooks/arcgis/providers/server.rb line 68) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '126'
---- Begin output of sudo -H -u arcgis bash -c "/home/ubuntu/ags_binaries/ArcGIS_for_Server -m silent -l yes -d "/"" ----
STDOUT:
STDERR: sudo: unable to resolve host ip-172-30-1-71
bash: /home/ubuntu/ags_binaries/ArcGIS_for_Server: cannot execute binary file: Exec format error
---- End output of sudo -H -u arcgis bash -c "/home/ubuntu/ags_binaries/ArcGIS_for_Server -m silent -l yes -d "/"" ----
Ran sudo -H -u arcgis bash -c "/home/ubuntu/ags_binaries/ArcGIS_for_Server -m silent -l yes -d "/"" returned 126
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.1.0/lib/mixlib/shellout.rb:289:in `invalid!'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.1.0/lib/mixlib/shellout.rb:276:in `error!'
/opt/chef/embedded/apps/chef/lib/chef/mixin/shell_out.rb:56:in `shell_out!'
/opt/chef/embedded/apps/chef/lib/chef/provider/execute.rb:61:in `block in action_run'
/opt/chef/embedded/apps/chef/lib/chef/mixin/why_run.rb:52:in `call'
/opt/chef/embedded/apps/chef/lib/chef/mixin/why_run.rb:52:in `add_action'
/opt/chef/embedded/apps/chef/lib/chef/provider.rb:175:in `converge_by'
/opt/chef/embedded/apps/chef/lib/chef/provider/execute.rb:60:in `action_run'
/opt/chef/embedded/apps/chef/lib/chef/provider.rb:140:in `run_action'
/opt/chef/embedded/apps/chef/lib/chef/resource.rb:584:in `run_action'
/opt/chef/embedded/apps/chef/lib/chef/runner.rb:49:in `run_action'
/opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `block (2 levels) in converge'
/opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `each'
/opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `block in converge'
/opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:83:in `block in execute_each_resource'
/opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:81:in `execute_each_resource'
/opt/chef/embedded/apps/chef/lib/chef/runner.rb:80:in `converge'
/opt/chef/embedded/apps/chef/lib/chef/client.rb:654:in `block in converge'
/opt/chef/embedded/apps/chef/lib/chef/client.rb:649:in `catch'
/opt/chef/embedded/apps/chef/lib/chef/client.rb:649:in `converge'
/opt/chef/embedded/apps/chef/lib/chef/client.rb:688:in `converge_and_save'
/opt/chef/embedded/apps/chef/lib/chef/client.rb:269:in `run'
/opt/chef/embedded/apps/chef/lib/chef/application.rb:270:in `block in fork_chef_client'
/opt/chef/embedded/apps/chef/lib/chef/application.rb:258:in `fork'
/opt/chef/embedded/apps/chef/lib/chef/application.rb:258:in `fork_chef_client'
/opt/chef/embedded/apps/chef/lib/chef/application.rb:224:in `block in run_chef_client'
/opt/chef/embedded/apps/chef/lib/chef/local_mode.rb:39:in `with_server_connectivity'
/opt/chef/embedded/apps/chef/lib/chef/application.rb:212:in `run_chef_client'
/opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:280:in `block in interval_run_chef_client'
/opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:269:in `loop'
/opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:269:in `interval_run_chef_client'
/opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:247:in `run_application'
/opt/chef/embedded/apps/chef/lib/chef/application.rb:60:in `run'
/opt/chef/embedded/apps/chef/bin/chef-solo:25:in `<top (required)>'
/usr/bin/chef-solo:55:in `load'
/usr/bin/chef-solo:55:in `<main>'

For my setups I'm using binaries I've downloaded through MyESRI. The paths used in the example configs suggest that I should perhaps being using an image of the installation media. Is that's the case,
is there a way I can use the MyESRI binaries or is it best to use the installation media?

Thanks in advance.

Missing authbind

Trying to run the webgis-windows role using the latest master branch and get the following error. Everything works OK with the previous version.

[2016-08-26T09:46:56-05:00] FATAL: Stacktrace dumped to C:/chef/cache/chef-stacktrace.out
[2016-08-26T09:46:56-05:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2016-08-26T09:46:56-05:00] FATAL: Chef::Exceptions::CookbookNotFound: Cookbook authbind not found. If you're loading authbind from another cookbook, make sure
you configure the dependency in your metadata

I am wondering if something is in the wrong location with the new organization or the Cookbooks

-Joe

Permissions Issue with Creating the Portal Site When local_content_dir Specified

I have come across a permissions issue when the Portal site is being created. This is being run on Windows Server 2012 R2 and when I have specified a local_content_dir.

Portal installs OK but through the create site process, it needs to run xcopy which is failing due to a permissions issue.

I have chosen to modify things and follow a different approach. I have added support for a local_directories_root similar to Server and this arg is passed during the Portal installation process as per documentation here: http://server.arcgis.com/en/portal/latest/install/windows/silently-installing-portal-for-arcgis.htm CONTENTDIR.

This will install Portal's configuration and content into the directory specified. Still working on fixing the permissions issue. Trying to track down the exact problem.

Thanks

Error when running chef-solo -j C:\chef\node-windows_neu.json

I'm testing the ArcGIS Cookbook with Win8.1 and Server 2012 R2 and running into this error: [2015-08-04T14:02:07+02:00] FATAL: Chef::Exceptions::Win32APIError: user[ArcGISService](arcgis::system line 21) had an error: Chef::Exceptions::Win32APIError: Received unknown error code (2220)

I think that's the important part of the message.

Further, I'm totally new with Chef and have no idea how I could handle this error? Maybe something should be changed int the system.rb... or maybe some other small and basic adjustment...

If you need more Information, please let me know!

Thanks and with best regards,

Marko

Should the >>kitchen converge or >>vagrant up "just work"?

FIrst, it is awesome that this cookbook has appeared in the wild. Thank you.

I was so excited, I pulled it and tried to kitchen create, kitchen converge immediately without success but I was being lazy.
Next with the direct Vagrant up and that didn't go for me directly.

I notice the support platforms are Redhat and Window.... but the .kitchen.yml and Vagrant files don't list either of those.

Should I be having any success or is this a current limitation?

RAM allocation in VM-Sphere

Hi Pavel:
I believe you have suggested 16GB of RAM minimum for an all in one box?
Do you know if this applies to machines running in a VM environment?

We have a Development Portal running with the basic 5 user license.
We have this setup in a VMware Sphere environment with 4 cores and 12GB of RAM.
We recently have seen some performance issues when developing maps.
I asked our systems guys to bump us to 16GB.
But they said that when they looked at our RAM usage, over the past month, we're at only 5% of the 12GB. Of course, this is an average usage over time.
Based on just Windows Task Manager, at 12GB, we're running at about 60% consumption when we're in there doing development work on larger maps.

What the systems folks just told me though is that in a VM environment, they've been told that too much RAM can slow things down. That the VM guys say that unlike hard boxes, you want to have your RAM utilization up real high. We have seen on a virtualized IBM Maximo server that performance increased when we dropped the allocated RAM.

Do you have any experience or guidelines for defining how much RAM to allocate in a VM setting?
Thanks

10.3.1 to 10.4 with Chef

If we installed 10.3.1 (Portal, Hosting Server, Data Store, WebAdaptors, etc..) with the Chef Cookbook, do we need to uninstall and re-install 10.4 with the new Cookbook.

Or can we just download the Cookbook and json files for 10.4, massage as appropriate and rerun Chef?

I believe 10.4 is able to update 10.3.1 to 10.4 but can that be done using Chef?
I believe that's one of the Benefits of Chef, to re-provision easily?
But Portal is a bit more complicated than a MSoft Office installation.

Thanks for the info

Data Store question and SSl

Two questions:
Am I correct that that after running the chef cookbook I need to go into the system and setup the various security settings, install SSL and signed certs?

Since I layout the signd-cert in the json and give the pword, I was under the impression that the WA would be setup with SSL and the signed cert (it's a domain level cert)

I noticed that for hosting AGS I had to go in and bring in the signed cert.
(Is there a way to remove the self-signed cert? It seems to often get in the way and seems to think it's the primary cert.)

2ndly: I went to C:\Program Files\ArcGIS\DataStore\tools to run some of the batch files to change backup dates and times, etc... and it seems that all batch files I try run return the same error: "Error encountered: The data store machine may not have been initialized."

I can upload zipped file.gdbs and Feature Layers show up ok.
But when I try to delete them I get error messages.
And the backups of the data store appear to be working since they took up almost 70GB....

Should I consider a complete uninstall-reinstall?

This is a development Portal box that has everything running on the same VM under Win2012R2
Thanks

Install with Chef 2.2

We're having a failure with Software Authorization.
I've tried entering in what have been valid keys and the SA software says it has authorized fine but then it pops back up asking for a provisioning file.

Some of the Chef output:
[2016-02-24T18:49:11-07:00] INFO: ruby_block[Wait for 'ArcGIS Server' service to start] called
[2016-02-24T18:49:11-07:00] INFO: Processing arcgis_server[Authorize ArcGIS for Server] action authorize (arcgis::server line 33)
[2016-02-24T18:49:11-07:00] INFO: Processing execute[Authorize ArcGIS for Server] action run (C:\chef\cookbooks\arcgis\providers\server.rb line 171)
[2016-02-24T18:52:07-07:00] INFO: Retrying execution of execute[Authorize ArcGIS for Server], 2 attempt(s) left
[2016-02-24T18:59:33-07:00] INFO: Retrying execution of execute[Authorize ArcGIS for Server], 1 attempt(s) left
[2016-02-24T19:14:16-07:00] INFO: Retrying execution of execute[Authorize ArcGIS for Server], 0 attempt(s) left

Error executing action run on resource 'execute[Authorize ArcGIS for Server]'

However, when I opened the Server Manager, I was able to create a new site ok with the same admin name as in the json file..

Something odd is going on. One of my coders could not create a new site earlier today. He was doing things by hand.

I have an email in to our account rep.
And I seem to recall something similar going from 10.3 to 10.3.1, we had to have all new keys issued.

But this is odd that I could create the site in Server Manager. And the logs show no errors.
I'm re-running the cookbook now to see if this jumps us past this hurdle.
I do see ArcGISServer running and three ArcSOCs.

The wiki mentions running Chef twice during the install. Run the second time after a reboot.
But is that an automated reboot or do I wait for Chef to "finish" the first time, then reboot and then rerun it? Should that be after the above authorization issue stopped Chef?

I'm seeing in the log that it looks like now things took and that a Web Adaptor is being installed, then the Data Store, etc...

Should I reboot at the end and then rerun the cookbook again?

Installation questions

Gentlemen:
Great to find this cookbook.
Being new to Chef but having had it on my radar for sometime, this is truly awesome.
And thank you for all the work you've put into this delicious soup.

I have been having one stopper issue and a number of questions:

  1. Major issue: install fails at trying to Start ArcGIS Server.
    The issue here is easily fixed, I think, but it might helpful to have this documented.
    The ArcGIS runasuser account needs to be admin level and needs to already exist and you need to be logged in as this account, correct? I was just giving this the name of new account so when created it it was not given admin level perms. Which meant it could not access the C:\arcgisserver folders, etc...
    My next step is to restore a snapshot of the VM, build a new local admin user, log in as that user and let it rip. fingers crossed.
  2. I would prefer to use a domain level account because that's how we install all of our Arc Servers, etc...
    However, I haven't been able to figure out how to set that in the run as line:
    "arcgis" : {
    "run_as_password" : "somePW0rd",
    "run_as_user" : "domainName\userName"
    },
    doesn't work....
    I suspect it's related to the action:create which will fail since I am not a domain admin hence I cannot create a domain account. But it also just looks like the recipe is not setup for domain account usage.
    Anyway to pull that one off? And, yes, I've been rolling through the Chef.io docs but no luck so far. Too much a newbie I think to really have a clue even.
  3. When installing chef-client: do we want the powershell client and the service client?
    Powershell seems harmless so I put it in there. Service client.... I have an aversion to services.
    But I installed it since better to have it and not use it than need it and have the install crash again.
  4. At the end of system.rb recipe, there's talk about the Windows firewall port settings.
    These of course are clearly documented in the Esri install help files so it's nothing new.
    But since the Chef is configuring IIS, etc... I would have assumed it would be opening up ports.
    But after finding those comments, I assume we have to manually open the ports, or at least I did.
    Is it not possible to do that via Chef?
    Would be nice to see this documented. Not sure everyone will be digging around and not just running the Chef install based on your getting started guide. I know we like to keep those guides short, but maybe a more complete version for the OCD among us? No ports open, things won't work and now the poor installer is digging around to find the error as to why Portal is not doing its thing, instead of just praising the beauty of Chef. :-)
  5. Any chance you have worked out a Vagrant file for Windows Server 2012 R2 that uses these Recipes
  6. What's the purpose of the webgis-windows.json vs. node-windows.json Same run list, webgis is missing the iis definition and webgis is missing some info (so it's default to things like FQDN for domain name, right? is the webgis just a cut down version, or not setup to be https? Confusing for the newbie... But the docs clearly call out node-windows.json
  7. Regarding installation of desktop: I skipped it for now because we're on concurrent seating with license managers and unfortunately, the link for silent install you provided is down (503). So is your blog post for that matter. An Esri server maintenance period? (both are now backup again...)

I can probably piece together how to do it from other Issue posts. But it would be nice to see a block all laid out. Now that the silent install is back up, I believe this is the layout of a Concurrent, ArcInfo license with two license managers (for failover):
{
"desktop" : {
"setup" : "\OurInstallServer\ArcGIS10.3.1\Desktop\Setup.exe",
"esri_license_host" : "mylicSrvr1;mylicSrvr2",
"software_class" : "Professional",
"seat_preference" : "Float",
"desktop_config" : "True",
"install_features" : "ArcMap,Python,ArcCatalog"
},
"run_list":[
"recipe[arcgis::desktop]",
]
}

Also, in providers/desktop.rb, RENEWAL_CHECK is still in there.
And desktop_config still missing from desktop.rb as per your instructions in: #13
EDIT: looks like master branch has those gone....
Looks like I need to pull a new version

many thanks for your help and this tool.

authorization gets stuck if authorization file does not exist

platform: Windows server 2012 R2
software: Arcgis 10.4 server

If I set the authorization file to a path that does not exist, the provisioning process gets stuck on the authorize action (I had to terminate the process after waiting for over an hour). I logged into the machine and ran the authorization command manually and found that, even with the /S flag, the authorization dialog gets displayed, so I assume that the authorization software is stuck waiting for user input.

Can the recipe check if the authorization file exists before proceeding?

Installtion log errors

Ran the following as test to see how the setup is working.
This is a straight "chef-solo -j C:\chef\node-IIS-1.json"
Here's the json:
{
"iis" : {
"keystore_file":"C:\ArcGIS10.3.1\internalSHA.pfx",
"keystore_password":"somepassword"
},
"arcgis" : {
"run_as_password" : "pword34$",
"run_as_user" : "arcgis"
},
"run_list":[
"recipe[arcgis::system]",
"recipe[arcgis::iis]"
]
}

(actually, this had the datastore, server, etc... sections in the json, but since they weren't used to run, I pulled them out for clarity.

The log file is giving an error about a private key.
However, it looks like the process ran ok.
IIS has the imported CA cert in place.

Because the Client-Service is running, here's the C:\Chef\client.log file:

Logfile created on 2015-08-20 22:31:11 -0600 by logger.rb/41954

[2015-08-20T22:31:11-06:00] INFO: Chef Client Service initialized
[2015-08-20T22:31:16-06:00] INFO: Next chef-client run will happen in 0.5988767237930117 seconds
[2015-08-20T22:31:19-06:00] INFO: Reconfiguring with startup parameters
[2015-08-20T22:31:21-06:00] WARN: *****************************************
[2015-08-20T22:31:22-06:00] WARN: Did not find config file: C:/chef/client.rb, using command line options.
[2015-08-20T22:31:23-06:00] WARN: *****************************************
[2015-08-20T22:31:25-06:00] INFO: Chef-Client service is starting a chef-client run...
[2015-08-20T22:31:25-06:00] INFO: Starting chef-client in a new process
[2015-08-20T22:31:35-06:00] INFO: *** Chef 12.4.1 ***
[2015-08-20T22:31:35-06:00] INFO: Chef-client pid: 1088
[2015-08-20T22:31:56-06:00] INFO: Client key C:\chef\client.pem is not present - registering
[2015-08-20T22:31:56-06:00] WARN: Failed to read the private key C:\chef\validation.pem: #<Errno::ENOENT: No such file or directory - C:\chef\validation.pem>
[2015-08-20T22:31:56-06:00] ERROR: Running exception handlers
[2015-08-20T22:31:56-06:00] ERROR: Exception handlers complete
[2015-08-20T22:31:56-06:00] FATAL: Stacktrace dumped to C:/chef/cache/chef-stacktrace.out
[2015-08-20T22:31:56-06:00] FATAL: Chef::Exceptions::PrivateKeyMissing: I cannot read C:\chef\validation.pem, which you told me to use to sign requests!
[2015-08-20T22:32:07-06:00] INFO: Child process exited (pid: 2068)
[2015-08-20T22:32:08-06:00] INFO: Next chef-client run will happen in 1800.9550718265598 seconds

and the C:\Chef\cache\chef-stacktrace.out:
Generated at 2015-08-20 22:31:56 -0600
Chef::Exceptions::PrivateKeyMissing: I cannot read C:\chef\validation.pem, which you told me to use to sign requests!
C:/opscode/chef/embedded/apps/chef/lib/chef/http/authenticator.rb:86:in rescue in load_signing_key' C:/opscode/chef/embedded/apps/chef/lib/chef/http/authenticator.rb:76:inload_signing_key'
C:/opscode/chef/embedded/apps/chef/lib/chef/http/authenticator.rb:40:in initialize' C:/opscode/chef/embedded/apps/chef/lib/chef/rest.rb:71:innew'
C:/opscode/chef/embedded/apps/chef/lib/chef/rest.rb:71:in initialize' C:/opscode/chef/embedded/apps/chef/lib/chef/api_client/registration.rb:125:innew'
C:/opscode/chef/embedded/apps/chef/lib/chef/api_client/registration.rb:125:in http_api' C:/opscode/chef/embedded/apps/chef/lib/chef/api_client/registration.rb:93:increate'
C:/opscode/chef/embedded/apps/chef/lib/chef/api_client/registration.rb:84:in create_or_update' C:/opscode/chef/embedded/apps/chef/lib/chef/api_client/registration.rb:57:inrun'
C:/opscode/chef/embedded/apps/chef/lib/chef/client.rb:608:in register' C:/opscode/chef/embedded/apps/chef/lib/chef/client.rb:253:inrun'
C:/opscode/chef/embedded/apps/chef/lib/chef/application.rb:252:in run_with_graceful_exit_option' C:/opscode/chef/embedded/apps/chef/lib/chef/application.rb:229:inblock in run_chef_client'
C:/opscode/chef/embedded/apps/chef/lib/chef/local_mode.rb:39:in with_server_connectivity' C:/opscode/chef/embedded/apps/chef/lib/chef/application.rb:212:inrun_chef_client'
C:/opscode/chef/embedded/apps/chef/lib/chef/application/client.rb:375:in run_application' C:/opscode/chef/embedded/apps/chef/lib/chef/application.rb:60:inrun'
C:/opscode/chef/embedded/apps/chef/bin/chef-client:26:in <top (required)>' C:/opscode/chef/bin/chef-client:67:inload'
C:/opscode/chef/bin/chef-client:67:in `

'

Do I need to worry about these?
And where would I get the validation.pem to drop into C:\Chef to quiet down this error?

Running the rest of the install of ArcGIS Server, web adaptor, portal, etc.. now.
Looks like it might go fine now that I have created the local admin account, logged in as that account and put the account info and passwords into the json correctly.

BTW - I do get a lot of warning errors about:
[2015-08-20T22:32:12-06:00] WARN: Using an LWRP provider by its name (WindowsFeatureDism) directly is no longer supported in Chef 12 and will be removed. Use Chef::ProviderResolver.new(node, resource, action) instead.

I forgot to redirect & Tee the chef-solo output to a log file but it looks like the pkey error is not an issue. It's now past data store and into Portal.

I'm assuming that to turn this setup into HTTPS Only and federate it into WIA, I do that by hand via Manager, etc...?

Thanks... This tool is going to save a lot of folks a lot of time and headaches.

License Manager question

Does the lic mgr installer also open the required Ports on the Windows server firewall (the software firewall)?

Does it lock the port in the setup.txt file?

I looked briefly through the provider/recipe files and it didn't look like it does but Chef is new to me so I'm not even sure I'm looking in the right place.

Thanks...
If it did do those types of things, that's one reason to use the Chef installer.
I updated our LM the other night and forgot about the setup.txt part of the installed.
Finally remembered I had an install guide I'd written.

Don't allow ::clean to be run if software is installed

I think a good check in ::clean would be to not delete directories if the software is still installed. I accidentally ran this and it reported it cleaned up the content directories, but I had not yet run ::uninstall. It was my mistake, but perhaps a good addition to prevent this from happening to other users.

Error with publish a feature service

We're trying to setup the Water Isolation Trace solution from Esri to our Portal and we keep getting the following error:

Failed to create the service.: ERROR: code:500, Failed to create the service 'Hosted/OutageDetails.FeatureServer'.
The submitted field 'st_length(shape)' does not exist in the table 'db_oaosg.hsu_8yni3.outagedetails_outagearea'.
Internal server error.

There is also this error:
Error executing tool. Publish Portal Service Job ID: jb5f52409f57d4a6e904d66397aeae8c2 : ERROR 001369: Failed to create the service. Failed to execute (PublishServiceDefinition). Failed to execute (Publish Portal Service).

Any ideas?

Thanks

class or module required

Installing Cookbook Gems:
Compiling Cookbooks...
Recipe: arcgis-enterprise::system

  • chef_gem[multipart-post] action install[2017-03-17T08:44:05+08:00] INFO: Pro
    cessing chef_gem[multipart-post] action install (arcgis-enterprise::system line

(up to date)

==============================================================================

Recipe Compile Error in c:/chef/local-mode-cache/cache/cookbooks/arcgis-enterp
rise/recipes/portal.rb

==

I ran into the below after installing the latest 3.0 cookbook and dependencies. Any ideas

TypeError

class or module required

Platform:

x64-mingw32

Running handlers:
[2017-03-17T08:44:06+08:00] ERROR: Running exception handlers
Running handlers complete
[2017-03-17T08:44:06+08:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 37 seconds
[2017-03-17T08:44:06+08:00] FATAL: Stacktrace dumped to c:/chef/local-mode-cache
/cache/chef-stacktrace.out
[2017-03-17T08:44:06+08:00] FATAL: Please provide the contents of the stacktrace
.out file if you file a bug report
[2017-03-17T08:44:06+08:00] FATAL: TypeError: class or module required

Single unit installations

Gents:

  1. If I want to use these cookbooks to install the components in a setup where each component, Server, Portal, DataStore and IIS/wa are all on separate servers, is it correct that I would just change the run list?

In this case, does the run_list always need to include arcgis__system ?
For example, I just tried to run the datastore recipe with:
"run_list":[
"recipe[arcgis::system]",
"recipe[arcgis::datastore]"
]

I have assumed that we always need to have arcgis::system in the run_list?
But then I noticed it activates IIS, etc... which is ok but not needed for DataStore if on a separate machince, correct? I mean, I have a separate IIS server running two wa, one for Hosting Server and one for Portal.

1.b. I had a failure which looks to be due to a login failure or inability to start or stop the Data Store service (I cannot start it by hand with my domain account so there is some permission issue):

I believe the pertinent info is (I can give you everything if needed but this looks to be the issue):

- execute the ruby block Change 'ArcGIS Data Store' service logon account
  • windows_service[ArcGIS Data Store] action restart[2015-08-25T19:30:49-06:00]
    ERROR: The service did not start due to a logon failure. - StartService: The service did not start due to a logon failure.

    =====================================================================
    Error executing action restart on resource 'windows_service[ArcGIS Data Store]'

    Chef::Exceptions::Service

    Service windows_service[ArcGIS Data Store] did not start due to a logon failure (error 1069): possibly the specified user '' does not have the 'log on as a service' privilege, or the password is incorrect.

    Resource Declaration:

    In C:\chef\cookbooks\arcgis\providers\datastore.rb

    121: service "ArcGIS Data Store" do
    122: action [:restart]
    123: end
    124: else
    ............
    ...........

[2015-08-25T19:30:50-06:00] FATAL: Chef::Exceptions::Service: windows_service[ArcGIS Data Store](C:chefcookbooksarcgisprovidersdatastore.rb line 121) had an error: Chef::Exceptions::Service: Service windows_service[ArcGIS Data Store] did not start due to a logon failure (error 1069): possibly the specified user ' ' does not have the 'log on as a service' privilege, or the password is incorrect.

1.c. For a domain account, I am using "mydomain\username" is that correct? or should it be preceeded by a "\mydomain\username" ?

  1. Which raises another question, can Chef be setup to run off a single Server but to basically do a "run as" with remote execution to install the components across the network on the various servers?

I have not tried doing this with the specific server names coded into the node.json file.
I've just assumed these cookbooks are designed to be run on the Server on which the software is being installed.

Thanks...
I will try resetting the server and running with the different domain account naming convention and perhaps pulling arcgis::system out...
Late to a meeting...

Error when running IIS recipe

I am trying to script generating a domain certificate and then use chef's IIS recipe to create the HTTPS binding and tie the certificate to it. It works successfully if I generate the certificate in IIS manually, export out of the certificate store with private key and run the chef script pointing it at the certificate. When I point the chef script at the domain certificate generated programmatically, I get this error:

[2017-02-15T16:05:37+00:00] FATAL: OpenSSL::PKCS12::PKCS12Error: arcgis_server_i
is[Configure HTTPS Binding] (arcgis-server::iis line 71) had an error: OpenSSL::
PKCS12::PKCS12Error: PKCS12_parse: mac verify failure

The certificate is created with private key and looks fine if manually set against the HTTPS binding. I have noticed that Chef generates a domain certificate if one is not present in the keystore directory given but this does not seem to include the root certificate so the full certificate chain is not present.

Here is the stack trace:

Generated at 2017-02-15 16:05:37 +0000
OpenSSL::PKCS12::PKCS12Error: arcgis_server_iis[Configure HTTPS Binding] (arcgis-server::iis line 71) had an error: OpenSSL::PKCS12::PKCS12Error: PKCS12_parse: mac verify failure
c:/chef/local-mode-cache/cache/cookbooks/arcgis-server/providers/iis.rb:47:in initialize' c:/chef/local-mode-cache/cache/cookbooks/arcgis-server/providers/iis.rb:47:in new'
c:/chef/local-mode-cache/cache/cookbooks/arcgis-server/providers/iis.rb:47:in block in class_from_file' (eval):2:in block in action_configure_https'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/provider.rb:361:in instance_eval' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/provider.rb:361:in compile_and_converge_action'
(eval):2:in action_configure_https' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/provider.rb:145:in run_action'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/resource.rb:622:in run_action' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/runner.rb:69:in run_action'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/runner.rb:97:in block (2 levels) in converge' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/runner.rb:97:in each'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/runner.rb:97:in block in converge' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/resource_collection/resource_list.rb:94:in block in execute_each_resource'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/resource_collection/stepable_iterator.rb:114:in call_iterator_block' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/resource_collection/stepable_iterator.rb:85:in step'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/resource_collection/stepable_iterator.rb:103:in iterate' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/resource_collection/stepable_iterator.rb:55:in each_with_index'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/resource_collection/resource_list.rb:92:in execute_each_resource' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/runner.rb:96:in converge'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/client.rb:670:in block in converge' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/client.rb:665:in catch'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/client.rb:665:in converge' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/client.rb:704:in converge_and_save'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/client.rb:284:in run' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/application.rb:277:in run_with_graceful_exit_option'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/application.rb:253:in block in run_chef_client' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/local_mode.rb:44:in with_server_connectivity'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/application.rb:236:in run_chef_client' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/application/client.rb:464:in sleep_then_run_chef_client'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/application/client.rb:451:in block in interval_run_chef_client' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/application/client.rb:450:in loop'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/application/client.rb:450:in interval_run_chef_client' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/application/client.rb:434:in run_application'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/application.rb:59:in run' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/application/solo.rb:226:in run'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/bin/chef-solo:25:in <top (required)>' C:/opscode/chef/bin/chef-solo:68:in load'
C:/opscode/chef/bin/chef-solo:68:in `

'

Caused by OpenSSL::PKCS12::PKCS12Error: PKCS12_parse: mac verify failure
c:/chef/local-mode-cache/cache/cookbooks/arcgis-server/providers/iis.rb:47:in initialize' c:/chef/local-mode-cache/cache/cookbooks/arcgis-server/providers/iis.rb:47:in new'
c:/chef/local-mode-cache/cache/cookbooks/arcgis-server/providers/iis.rb:47:in block in class_from_file' (eval):2:in block in action_configure_https'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/provider.rb:361:in instance_eval' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/provider.rb:361:in compile_and_converge_action'
(eval):2:in action_configure_https' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/provider.rb:145:in run_action'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/resource.rb:622:in run_action' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/runner.rb:69:in run_action'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/runner.rb:97:in block (2 levels) in converge' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/runner.rb:97:in each'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/runner.rb:97:in block in converge' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/resource_collection/resource_list.rb:94:in block in execute_each_resource'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/resource_collection/stepable_iterator.rb:114:in call_iterator_block' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/resource_collection/stepable_iterator.rb:85:in step'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/resource_collection/stepable_iterator.rb:103:in iterate' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/resource_collection/stepable_iterator.rb:55:in each_with_index'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/resource_collection/resource_list.rb:92:in execute_each_resource' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/runner.rb:96:in converge'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/client.rb:670:in block in converge' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/client.rb:665:in catch'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/client.rb:665:in converge' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/client.rb:704:in converge_and_save'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/client.rb:284:in run' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/application.rb:277:in run_with_graceful_exit_option'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/application.rb:253:in block in run_chef_client' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/local_mode.rb:44:in with_server_connectivity'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/application.rb:236:in run_chef_client' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/application/client.rb:464:in sleep_then_run_chef_client'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/application/client.rb:451:in block in interval_run_chef_client' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/application/client.rb:450:in loop'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/application/client.rb:450:in interval_run_chef_client' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/application/client.rb:434:in run_application'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/application.rb:59:in run' C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/lib/chef/application/solo.rb:226:in run'
C:/opscode/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.18.31-universal-mingw32/bin/chef-solo:25:in <top (required)>' C:/opscode/chef/bin/chef-solo:68:in load'
C:/opscode/chef/bin/chef-solo:68:in `

'

HA and the NLB

We're on a pure VM system with lots of virtual "Windows Server 2012 R2" servers running around.
It's my understanding that we can use IIS 7.5 to basically build up a virtual NLB. For example:
https://technet.microsoft.com/en-us/library/cc740265(v=ws.10).aspx
http://virtuallyhyper.com/2013/04/load-balancing-iis-sites-with-nlb/

Basically looks like one can use the NLB now built into Microsoft's server software.
Will this type of setup work with your proposed HA setup?
Or do the tomcat, postgresql, etc... components prohibit IIS from controlling the balancing?
Does that even make sense?

It looks to me like we can we start by deploying just the primary ha site and then as we have time, introduce the secondary site. Looking over the Json, it looks like the primary site is basically the same as the standard webgis-windows.json file with the exception of adding in a domain name and of course a file server for sharing the config stores for ArcGIS server and Portal.
(That's the piece that has been giving new VM webGIS farms fits over the past year, isn't it?)

I also notice that the webgis-windows-ha-primary.json file does not have the final step to cook up federation. Is that an oversight or something that requires doing that by hand?

Many diagrams show the NLB as a separate VM "gateway" into the NLB'd system
http://dotnetcodr.com/2013/06/17/web-farms-in-net-and-iis-part-1-a-general-introduction/

and I've also heard the web adaptor referred to as an NLB in some contexts.
Would it be best to setup a separate VM and put 4 web adaptors on it, 2 for HA-Primary and 2 for HA-Secondary? Then install IIS there and use it as your NLB?
One could also put your fileserver on this box or is this going to overloading the VM (just toss more resources at it?)

Talking with our system guys, I guess one issue you face is that you have to keep Primary and Secondary boxes tuned identically. i.e. same map/feature services, layers, etc....

We weren't sure NLBs were even available for a Virtual setting (other than the obvious IIS software ones)
However, I did find some virtual NLBs:
https://kemptechnologies.com/server-load-balancing-appliances/virtual-load-balancers/vlm-overview/
http://loadbalancer.org//products/virtual

Curious as to your thoughts about all of this.
Not exactly a trivial thing to get going but looks quite powerful if it all comes together.

Running on Windows Server 2012 R2 NetFx3 Errors

Guys - Running node-windows.json on Windows Server 2012 R2 will return an error with NetFx3.
It requires a feature to be enabled first before it can install .NET 3.5.

The operation is complete but NetFx3 feature was not enabled. A required parent feature may not be enabled. You can use the /enable-feature /a ll option to automatically enable each parent feature from the following list. I f the parent feature(s) are already enabled, refer to the log file for further d iagnostics. NetFx3ServerFeatures

Replace line 64 in system.rb with this

features = ["NetFx3ServerFeatures", "NetFx3", "IIS-WebServerRole"]

Need to enable NetFx3ServerFeatures first before NetFx3 can be enabled.

Thanks

Accessing Esri Basemaps from AGOL

Our Test and Prod Portals don't appear to be able to access Esri Basemaps.
With the exception of the default basemap of Topographic.
That one is operational but trying to change the basemap just sits there and spins away.

Our Dev portal however, immediately pops up the AGOL basemap's window and we can change without a problem.
I noticed the Dev portal had more internal ports open on the Windows Firewall so I duplicated that on Prod but to no avail.

I'm going to reboot the Prod portal and see if that changes anything.
I've tried a few suggestions foudn via Google but nothing so far.

Any ideas on this one?
Since I can reach AGOL basemaps on my PC from the dev portal, it seems that it's neither a network nor a PC setting but rather something in the portal itself.

Thanks

HA json question

In the HA json files there is a domain_name entry for server and portal.
I guess this needs to be the FQDN of the server and portal as opposed to just the domain part of the name?

"server":{
  "domain_name":"myPortal.mydomain.com",

and not:
"server":{
"domain_name":"mydomain.com",

In the all on one box environment, both server and portal would have the same domain name, right?
"server":{
"domain_name":"myPortal.mydomain.com",
and
"portal":{
"domain_name":"myPortal.mydomain.com",

Some what of a head slapping moment....

Portal-Server provisioning with prvc files.

Just to possibly save others some time:
Our Chef cookbook was failing during the authorize Server with Software Authorization step.

Working with Esri support, we discovered that one needs to use two separate PRVC files.
One for Server authorization and one for Portal Authorization.
If you have just one PRVC file that has Server, Server Extensions and Portal ECP codes (like we had),
then make two copies of it.
For the Server one, remove the line with the Portal ECP file.
For the Portal file, remove the Server and Extensions ECP lines and leave just the Portal authorization.

Esri support thinks this might be a bug in 10.4 Software Authorization. It should probably work with just one file but it appears that during Server authorization, if the Portal ECP is there, then that is the final code SA tries to use and then fails.

Using a ecp file is probably preferable with Chef since it doesn't require Internet access to the Esri licensing servers. However, you can't get an ecp file until you have authorized successfully so that's a bit of a Catch 22.

I did uninstall Server, remove the keycodes file and reinstall with Chef using two separate PRVC files to verify that this cleans up the problem we had been having (errors in the Chef install about unable to activate server.) I had previously verified that using a keycodes.ecp file had also fixed the problem of authorization.

Add support for local ArcGIS API for JavaScript

Unless I missed it, the cookbook has no support for the following:

  • Installing and hosting the ArcGIS API for JavaScript locally
    • This might not matter, since Portal for ArcGIS includes the API for JavaScript.
  • Configuring ArcGIS Server to use an instance of the ArcGIS API for JavaScript other than the one on js.arcgis.com
    • This could be the instance of the API for JavaScript that Portal for ArcGIS provides.
    • It could be another instance that Chef installs and hosts.
    • Or it could be another instance running at an arbitrary URL.

This capability is important for those who want to view services through the Services Directory while not connected to the internet.

ArcGIS Desktop single use licence

I am trying to install ArcGIS Desktop and authorize it with a Standard/Editor SU licence. Desktop installs but is not authorized. Is this supported?

{
"arcgis":{
"version":"10.4",
"desktop":{
"setup":"C:\esri\Media\ArcGIS_Desktop_104_149411.exe",
"authorization_file":"C:\esri_SingleUse_436513.prvc",
"software_class":"Editor",
"seat_preference":"Fixed",
"desktop_config":true
}
},
"run_list":[
"recipe[arcgis::desktop]"
]
}

RE: No such cookbook: arcgis-enterprise

I have the following error during the installation:

C:\chef>chef-solo -j c:\chef\roles\webgis-windows.json
Starting Chef Client, version 12.19.36
[2017-03-14T14:26:14-04:00] INFO: *** Chef 12.19.36 ***
[2017-03-14T14:26:14-04:00] INFO: Platform: x64-mingw32
[2017-03-14T14:26:14-04:00] INFO: Chef-client pid: 5460
[2017-03-14T14:26:20-04:00] INFO: Setting the run_list to ["recipe[arcgis-enterp
rise::system]", "recipe[esri-iis]", "recipe[arcgis-enterprise::server]", "recipe
[arcgis-enterprise::server_wa]", "recipe[arcgis-enterprise::datastore]", "recipe
[arcgis-enterprise::portal]", "recipe[arcgis-enterprise::portal_wa]", "recipe[ar
cgis-enterprise::federation]"] from CLI options
[2017-03-14T14:26:20-04:00] INFO: Run List is [recipe[arcgis-enterprise::system]
, recipe[esri-iis], recipe[arcgis-enterprise::server], recipe[arcgis-enterprise:
:server_wa], recipe[arcgis-enterprise::datastore], recipe[arcgis-enterprise::por
tal], recipe[arcgis-enterprise::portal_wa], recipe[arcgis-enterprise::federation
]]
[2017-03-14T14:26:20-04:00] INFO: Run List expands to [arcgis-enterprise::system
, esri-iis, arcgis-enterprise::server, arcgis-enterprise::server_wa, arcgis-ente
rprise::datastore, arcgis-enterprise::portal, arcgis-enterprise::portal_wa, arcg
is-enterprise::federation]
[2017-03-14T14:26:20-04:00] INFO: Starting Chef Run for server1.statcan.ca
[2017-03-14T14:26:20-04:00] INFO: Running start handlers
[2017-03-14T14:26:20-04:00] INFO: Start handlers complete.
[2017-03-14T14:26:20-04:00] INFO: HTTP Request Returned 404 Not Found: Object no
t found:
resolving cookbooks for run list: ["arcgis-enterprise::system", "esri-iis", "arc
gis-enterprise::server", "arcgis-enterprise::server_wa", "arcgis-enterprise::dat
astore", "arcgis-enterprise::portal", "arcgis-enterprise::portal_wa", "arcgis-en
terprise::federation"]
[2017-03-14T14:26:20-04:00] INFO: HTTP Request Returned 412 Precondition Failed:
No such cookbook: arcgis-enterprise

================================================================================

Error Resolving Cookbooks for Run List:

Missing Cookbooks:

No such cookbook: arcgis-enterprise

Expanded Run List:

  • arcgis-enterprise::system
  • esri-iis
  • arcgis-enterprise::server
  • arcgis-enterprise::server_wa
  • arcgis-enterprise::datastore
  • arcgis-enterprise::portal
  • arcgis-enterprise::portal_wa
  • arcgis-enterprise::federation

Platform:

x64-mingw32

Running handlers:
[2017-03-14T14:26:20-04:00] ERROR: Running exception handlers
Running handlers complete
[2017-03-14T14:26:20-04:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 07 seconds
[2017-03-14T14:26:21-04:00] FATAL: Stacktrace dumped to c:/chef/local-mode-cache
/cache/chef-stacktrace.out
[2017-03-14T14:26:21-04:00] FATAL: Please provide the contents of the stacktrace
.out file if you file a bug report
[2017-03-14T14:26:21-04:00] FATAL: Net::HTTPServerException: 412 "Precondition F
ailed"

CentOS - same packages as redhat

system.rb

@@ -107,7 +108,7 @@

   #TODO: Test packages for each platform family 
   case node['platform']
-  when 'redhat'
+  when 'redhat', 'centos'
     ['mesa-libGLU', 'libXdmcp', 'xorg-x11-server-Xvfb'].each do |pckg|
       yum_package pckg do
         options '--enablerepo=*-optional'

Fully Qualified Domain Name

In Configuring Web Adaptor with Portal the Fully Qualified Domain Name is needed. I am running this in an EDN environment on Amazon Web Services. The FQDN and the CPU name are the same name with the addition of ".local". When the cookbook gets all the way to recipe[arcgis::portal_wa] and breaks because it thinks there is no FQDN. Is there any way this can be added as a variable? As in IF domain = "workspace" add .local to the CPU name?

Domain Name Attribute not in JSON?

I downloaded the cookbook today and it seems there is no domain_name attribute in the webgis-windows.json file. I'm assuming i can just copy/paste that line from the webgis-windows-ha-primary.json file?

Import certificate into secondary Portal for ArcGIS

The primary Portal for ArcGIS recipe (portal) has the following code to set the certificate in the Portal keystore. The secondary Portal for ArcGIS recipe (portal_standby) does not. Is a certificate not required because the Portals will be connected to using a load balancer and it is at this level that the certificate matters?

arcgis_server_portal 'Configure HTTPS' do
portal_url node['arcgis']['portal']['url']
username node['arcgis']['portal']['admin_username']
password node['arcgis']['portal']['admin_password']
keystore_file node['arcgis']['portal']['keystore_file']
keystore_password node['arcgis']['portal']['keystore_password']
cert_alias node['arcgis']['portal']['cert_alias']
not_if { node['arcgis']['portal']['keystore_file'].empty? }
action :configure_https
end

Error setting up HTTPS

I've been tinkering around with this for a bit now but keep getting stuck on the 'action :configure_https' section. It goes through the IIS setup, generates the personal certificate without any issues, goes through the Server install, and then...this:

================================================================================
    Error executing action `configure_https` on resource 'arcgis_server[Configure HTTPS]'
    ================================================================================

    Errno::ENOENT
    -------------
    No such file or directory -

    Cookbook Trace:
    ---------------
    C:\chef\cookbooks\arcgis\providers\server.rb:265:in `block in class_from_file'

    Resource Declaration:
    ---------------------
    # In C:\chef\cookbooks\arcgis\recipes\server.rb

     65: arcgis_server 'Configure HTTPS' do
     66:   server_url node['arcgis']['server']['local_url']
     67:   username node['arcgis']['server']['admin_username']
     68:   password node['arcgis']['server']['admin_password']
     69:   keystore_file node['arcgis']['server']['keystore_file']
     70:   keystore_password node['arcgis']['server']['keystore_password']
     71:   cert_alias node['arcgis']['server']['cert_alias']
     72:   retries 5
     73:   retry_delay 30
     74:   not_if { node['arcgis']['server']['keystore_file'].nil? }
     75:   action :configure_https
     76: end

    Compiled Resource:
    ------------------
    # Declared in C:\chef\cookbooks\arcgis\recipes\server.rb:65:in `from_file'

    arcgis_server("Configure HTTPS") do
      action [:configure_https]
      retries 5
      retry_delay 30
      default_guard_interpreter :default
      declared_type :arcgis_server
      cookbook_name :arcgis
      recipe_name "server"
      server_url "http://Training:6080/arcgis"
      username "siteadmin"
      password "password"
      cert_alias "Training"
      not_if { #code block }
    end


Running handlers:
[2016-03-17T16:07:56+11:00] ERROR: Running exception handlers
Running handlers complete
[2016-03-17T16:07:56+11:00] ERROR: Exception handlers complete
Chef Client failed. 20 resources updated in 03 minutes 52 seconds
[2016-03-17T16:07:56+11:00] FATAL: Stacktrace dumped to C:/chef/cache/chef-stacktrace.out
[2016-03-17T16:07:56+11:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2016-03-17T16:07:56+11:00] FATAL: Errno::ENOENT: arcgis_server[Configure HTTPS] (arcgis::server line 65) had an error: Errno::ENOENT: No such file or directory

Any ideas what I'm doing wrong?

Foodcritic is failing

FC017: LWRP does not notify when updated: /tmp/cook/6720b06bb57dcd79966bd25b/arcgis/providers/desktop.rb:19
FC017: LWRP does not notify when updated: /tmp/cook/6720b06bb57dcd79966bd25b/arcgis/providers/licensemanager.rb:19
FC048: Prefer Mixlib::ShellOut: /tmp/cook/6720b06bb57dcd79966bd25b/arcgis/providers/datastore.rb:107
FC048: Prefer Mixlib::ShellOut: /tmp/cook/6720b06bb57dcd79966bd25b/arcgis/providers/datastore.rb:108
FC048: Prefer Mixlib::ShellOut: /tmp/cook/6720b06bb57dcd79966bd25b/arcgis/providers/datastore.rb:109
FC048: Prefer Mixlib::ShellOut: /tmp/cook/6720b06bb57dcd79966bd25b/arcgis/providers/iis.rb:77
FC048: Prefer Mixlib::ShellOut: /tmp/cook/6720b06bb57dcd79966bd25b/arcgis/providers/iis.rb:119
FC048: Prefer Mixlib::ShellOut: /tmp/cook/6720b06bb57dcd79966bd25b/arcgis/providers/iis.rb:120
FC048: Prefer Mixlib::ShellOut: /tmp/cook/6720b06bb57dcd79966bd25b/arcgis/providers/iis.rb:144
FC048: Prefer Mixlib::ShellOut: /tmp/cook/6720b06bb57dcd79966bd25b/arcgis/providers/iis.rb:145
FC048: Prefer Mixlib::ShellOut: /tmp/cook/6720b06bb57dcd79966bd25b/arcgis/providers/portal.rb:54
FC048: Prefer Mixlib::ShellOut: /tmp/cook/6720b06bb57dcd79966bd25b/arcgis/providers/portal.rb:247

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.