Hi Marty, Thanks for your inputs. We have upgraded the puppet master from 2019.1.0 to 2019.5.0. End the end of the up gradation process its thrown the below error:
2020-07-03T12:47:37.374+01:00 [ERROR]: !! There were problems during the application of the installation catalog. !! 2020-07-03T12:47:37.392+01:00 [ERROR]: !! Review the logs at /var/log/puppetlabs/installer/2020-07-03T12.36.28+0100.install.log and resolve any issues you can find. !! 2020-07-03T12:47:37.397+01:00 [ERROR]: !! After fixing any errors, re-run the installer to complete the installation or upgrade. !! On further verification in logs observed the below error in the log: ^[[1;31m2020-07-03T12:44:38.972+01:00 - [Error]: 'curl -f -L -o puppet-agent-ubuntu-18.04-amd64.tar.gz https://pm.puppetlabs.com/puppet-agent/2019.5.0/6.14.0/repos/puppet-agent-ubuntu-18.04-amd64.tar.gz' returned 35 instead of one of [0]^[[0m ^[[1;31m2020-07-03T12:44:38.973+01:00 - [Error]: /Stage[main]/Pe_repo::Platform::Ubuntu_1804_amd64/Pe_repo::Debian[ubuntu-18.04-amd64]/Pe_repo::Repo[ubuntu-18.04-amd64 2019.5.0]/Pe_staging::Deploy[puppet-agent-ubuntu-18.04-amd64.tar.gz]/Pe_staging::File[puppet-agent-ubuntu-18.04-amd64.tar.gz]/Exec[/opt/puppetlabs/server/data/staging/pe_repo-puppet-agent-6.14.0/puppet-agent-ubuntu-18.04-amd64.tar.gz]/returns: change from 'notrun' to ['0'] failed: 'curl -f -L -o puppet-agent-ubuntu-18.04-amd64.tar.gz https://pm.puppetlabs.com/puppet-agent/2019.5.0/6.14.0/repos/puppet-agent-ubuntu-18.04-amd64.tar.gz' returned 35 instead of one of [0]^[[0m Kindly assist me to address this issue. Regards Vinay On Thursday, July 2, 2020 at 9:00:37 PM UTC+5:30, Marty Ewings wrote: > > The agent you need should be here: > > /opt/puppetlabs/server/data/packages/public/current/ubuntu-18.04-amd64/puppet-agent-6.14* > > downgrade to that version using the command above. > > > Downgrading in PE is not possible, as there is no way to bring the DB > schema backwards. > > You would need to recover from backup or snapshot, i believe if you ensure > you install the correct agent as above, and make sure you don't have an > open source repo in referenced by apt-get you should be ok > > However if you have a support contract i recommend opening a case > > On Thursday, July 2, 2020 at 4:21:24 PM UTC+1 [email protected] wrote: > >> Hi Team, >> >> Is there any way to downgrade the puppet master (other than backup and >> restore process ) ? >> >> Regards >> Vinay >> >> >> On Thursday, July 2, 2020 at 7:43:43 PM UTC+5:30, Vinay Korrapati wrote: >>> >>> Hi Marty, >>> >>> Thanks for your quick response. No packages are available under >>> opt/puppetlabs/server/data/packages/public/(*current/2019.5.0* >>> )/ubuntu-18.04-amd64-6.16.0. >>> >>> ubuntu-18.04-amd64-6.14.0 contains all the expected (*2019.5.0*) >>> packages. >>> >>> Kindly suggest further. >>> >>> Regards >>> Vinay >>> >>> >>> >>> On Thursday, July 2, 2020 at 7:25:16 PM UTC+5:30, Marty Ewings wrote: >>>> >>>> I would downgrade your installation of the agent with the command: >>>> >>>> sudo dpkg -i >>>> /opt/puppetlabs/server/data/packages/public/latest/<os>/<package_name/ >>>> >>>> Filling in the appropriate os and package names >>>> >>>> And ensure your OS does not have any repositories installed that would >>>> allow Puppet to upgrade to the lastest opensource version when you run >>>> apt-get >>>> >>>> As this is Puppet Enterprise, if you have a support contract i >>>> recommend opening a ticket with support for full details >>>> >>>> >>>> >>>> On Thursday, July 2, 2020 at 2:25:49 PM UTC+1 [email protected] wrote: >>>> >>>>> Hi Marty, >>>>> >>>>> Thanks for your response. No , we are installed the latest version of >>>>> Puppet Enterprise 2019.5.0. Even same we can see from the puppet console. >>>>> >>>>> Post up gradation, unfortunately ran the : sudo apt update && sudo >>>>> apt upgrade Which causes to take the PE master infrastructure (agent) >>>>> to the latest version 6.16.0. >>>>> >>>>> In >>>>> opt/puppetlabs/server/data/packages/public/2019.5.0/Puppet_enterprise >>>>> contains the 2019.5.0 packages only. >>>>> >>>>> Kindly suggest further. >>>>> >>>>> >>>>> On Thursday, July 2, 2020 at 6:34:50 PM UTC+5:30, Marty Ewings wrote: >>>>>> >>>>>> Hi There, >>>>>> >>>>>> datadog-agent isnt the Puppet agent, this is a separate telemetry >>>>>> product >>>>>> >>>>>> This sounds like you may have installed the latest open source puppet >>>>>> repository which is overwriting the one Puppet enterprise requires to >>>>>> function >>>>>> >>>>>> `dpkg-query --show --showformat '${Package}\n' | grep >>>>>> --extended-regexp '^pe-|^puppet'` >>>>>> >>>>>> Check the list for the presence of an >>>>>> open-source puppet6-release package, >>>>>> >>>>>> remove it if present, and then install the appropriate version from >>>>>> the local path: >>>>>> >>>>>> sudo dpkg -i >>>>>> /opt/puppetlabs/server/data/packages/public/latest/<os>/<package_name/ >>>>>> >>>>>> >>>>>> On Thursday, July 2, 2020 at 1:49:38 PM UTC+1 [email protected] >>>>>> wrote: >>>>>> >>>>>>> Hi Team, >>>>>>> >>>>>>> We have upgrade our PE to 2019.5.0 from 2019.1.0. We could observe >>>>>>> the Puppet console showing the correct version which is 2019.5.0. >>>>>>> >>>>>>> But when we ran the puppet --version we are getting the 6.16.0 >>>>>>> rather than 6.14.0. >>>>>>> >>>>>>> we are unable to downgrade the puppet agent version from 6.16.0 to >>>>>>> 6.14.0. when we use the below command we are getting *"unable to >>>>>>> locate package datadog-agent". * But the package is existing and we >>>>>>> tried to execute the command from the root & package location, no luck. >>>>>>> >>>>>>> sudo apt-get update && sudo apt-get install --allow-downgrades >>>>>>> datadog-agent=1:6.14.0-1 >>>>>>> >>>>>>> Requesting to provide inputs to address this issue. >>>>>>> >>>>>>> Regards >>>>>>> Vinay >>>>>>> >>>>>>> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/b40ae5dd-25cb-4ff2-96ad-e862a40127dao%40googlegroups.com.
