psadmin-io / ps-vagabond

PeopleSoft Image management with Vagrant
MIT License
26 stars 10 forks source link

8.56-based Images fail to build #53

Closed iversond closed 6 years ago

iversond commented 7 years ago

HR Image 23 (and ELM Image 16) are based on PeopleTools 8.56 and the DPK has changed so the images fail to build (Windows and Linux).

iversond commented 7 years ago

Read the bs-manifest file under DPK_INSTALL\setup to determine which DPK commands to use? Or make it an option in config.rb?

iversond commented 7 years ago

Here is a powershell command to capture the PeopleTools version from the bs-manifest file

(((select-string -path .\bs-manifest -Pattern "version=(.*)").matches.groups[1].value).replace('.','')).substring(0,3)
jrbing commented 7 years ago

OK, I was finally able to get this sorted out for the Linux provisioning script. Here's a rundown of what's changed.

I tried using the --no_puppet_run option for the 8.56 DPK (which is basically the same as --no_env_setup), but it looks like there's a bug in the psft_environment.py script at line 108 which causes it to error out. It appears to be attempting to generate and execute a DMS script which modifies the PS_PTIASPDMPARAM table (multilingual settings). Since puppet apply hasn't been run, the database doesn't yet exist and the script fails. This wouldn't otherwise be an issue (prior 8.55 PUM images appear to fail on this step as well), except that it prevents the script from deploying Elasticsearch (which is now included in 8.56 DPK releases).

iversond commented 6 years ago

This has been resolved and working well.