Jira (PUP-8901) Puppet5 server does not work with Puppet4 termini

2019-04-10 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-8901  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Puppet5 server does not work with Puppet4 termini   
 

  
 
 
 
 

 
 Jean Bond sounds good to resolve it.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-8901) Puppet5 server does not work with Puppet4 termini

2019-04-10 Thread Jean Bond (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jean Bond commented on  PUP-8901  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Puppet5 server does not work with Puppet4 termini   
 

  
 
 
 
 

 
 Josh Cooper, I've updated the doc, and the change should be live on the next docs build. Can I resolve this ticket when that's done, or is there engineering or other work on this ticket still?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-8901) Puppet5 server does not work with Puppet4 termini

2019-04-10 Thread Jean Bond (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jean Bond assigned an issue to Jean Bond  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-8901  
 
 
  Puppet5 server does not work with Puppet4 termini   
 

  
 
 
 
 

 
Change By: 
 Jean Bond  
 
 
Assignee: 
 Jean Bond  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-8901) Puppet5 server does not work with Puppet4 termini

2019-04-04 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-8901  
 
 
  Puppet5 server does not work with Puppet4 termini   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Component/s: 
 PuppetDB  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-8901) Puppet5 server does not work with Puppet4 termini

2019-03-29 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-8901  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Puppet5 server does not work with Puppet4 termini   
 

  
 
 
 
 

 
 Let's upgrade the docs as Garrett Guillotte suggested. /cc Jean Bond, Heston Hoffman  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-8901) Puppet5 server does not work with Puppet4 termini

2018-06-26 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-8901  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Puppet5 server does not work with Puppet4 termini   
 

  
 
 
 
 

 
 Jake Yip unfortunately I don't think you'll be able to get 5.x servers able to talk to 4.x pdb, because the serialization formats changed for catalogs, when passed from puppetserver to the terminus. For example, https://github.com/puppetlabs/puppetdb/commit/be634126f8a16bc79e16d6227dd872339c21d6b6#diff-af5e1b6bc26e077e1da4e4d942fcf2de and https://github.com/puppetlabs/puppetdb/commit/c6651feadd7396c8d347b81c7c4cb5b8506c8422#diff-af5e1b6bc26e077e1da4e4d942fcf2de. So you need a 5.x puppetserver with a 5.x pdb terminus. However, I believe the 5.x pdb terminus is not compatible with 4.x pdb, because the wire format changed, e.g. job_id. I believe the upgrade from 3.x to 4.x coincidentally worked, but wasn't explicitly planned that way. It would be possible to have the puppetdb terminus support multiple puppetdb wire formats, but I don't think that is planned. /cc Rob Browning  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-8901) Puppet5 server does not work with Puppet4 termini

2018-06-19 Thread Jake Yip (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jake Yip commented on  PUP-8901  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Puppet5 server does not work with Puppet4 termini   
 

  
 
 
 
 

 
 Thanks for the reply. Is there any way for 5.x servers to talk to 4.x puppetdb? That has been the way with the 3.x to 4.x upgrade, why the change in behaviour? https://puppet.com/docs/puppet/4.10/upgrade_major_server.html#optional-upgrade-puppetdb The old way was good because you can upgrade one server at a time. Now, it seems like we need to upgrade all servers + puppetdb at the same time, which is very likely to incur a disruption.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-8901) Puppet5 server does not work with Puppet4 termini

2018-06-18 Thread Garrett Guillotte (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Garrett Guillotte commented on  PUP-8901  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Puppet5 server does not work with Puppet4 termini   
 

  
 
 
 
 

 
 After talking to Rob Braden on this, I think the docs need to state that PDB and Server are best upgraded across major versions in lockstep. Specifically: > Always upgrade puppetserver on your masters before you upgrade agents. You can upgrade PuppetDB before or after you upgrade other nodes. should instead read: > Always upgrade your Puppet Server and PuppetDB nodes simultaneously, including the puppetdb-termini package on Puppet Server nodes, and always upgrade them before you upgrade agent nodes. Don't run different major versions on your Puppet masters (including Server) and PuppetDB nodes. The above is especially more relevant now than when this doc was first written, because we since aligned Puppet, Server, and DB major versions with the Puppet Platform version (all 5). Does that sound accurate? CC Eric Sorenson Justin Stoller Josh Cooper (knowing some are on PTO)  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-8901) Puppet5 server does not work with Puppet4 termini

2018-06-05 Thread Jake Yip (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jake Yip commented on  PUP-8901  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Puppet5 server does not work with Puppet4 termini   
 

  
 
 
 
 

 
 We are following Puppet docs at https://puppet.com/docs/puppet/5.3/upgrade_minor.html > Upgrade PuppetDB nodes independently of masters and agents. > When you upgrade PuppetDB, you must also upgrade the puppetdb-termini package on all Puppet masters. That is the same sequence we used when we upgraded from 3 to 4. Puppet Server, then PuppetDB, then Puppet agent. This is a reasonable upgrade path because we could bring up new Puppet 4 servers first, and switchover a few agents at a time to make sure Puppet 4 server works similarly to Puppet 3 server. After all agents are hitting the Puppet 4 servers we then upgraded the Puppet DB and termini. We have 8 load balanced servers and over 1600 agents handled by multiple teams. We would appreciate a minimal disruption upgrade path, and I am wary of the risk with a big bang upgrade (8 puppetservers and puppetdb and puppetdb-termini all at once). Also, I am not sure how we can roll back from such an upgrade?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-8901) Puppet5 server does not work with Puppet4 termini

2018-06-04 Thread Eric Sorenson (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Eric Sorenson commented on  PUP-8901  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Puppet5 server does not work with Puppet4 termini   
 

  
 
 
 
 

 
 you can't have mixed major versions among puppet db/server/agent (agent package installed on master, i mean - you can have older agents checking in to newer masters, of course). if the docs don't explicitly call that out they ought to.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-8901) Puppet5 server does not work with Puppet4 termini

2018-06-04 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-8901  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Puppet5 server does not work with Puppet4 termini   
 

  
 
 
 
 

 
 Puppetserver 5 is not 100% compatible with puppetdb 4 termini. See PDB-3620, PDB-3527 and https://github.com/puppetlabs/puppetdb/commit/a79b4a795966c45b91dacfa79ec8eafab150756f#diff-af5e1b6bc26e077e1da4e4d942fcf2de. My understanding is that puppetdb, puppetdb termini and puppetserver need to upgraded in tandem. Is there something preventing you from upgrading to puppetdb 5, then the puppetdb termini and puppetserver packages?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-8901) Puppet5 server does not work with Puppet4 termini

2018-06-01 Thread Justin Stoller (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Justin Stoller commented on  PUP-8901  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Puppet5 server does not work with Puppet4 termini   
 

  
 
 
 
 

 
 Is it possible for you to upgrade your PuppetDB installation as well?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-8901) Puppet5 server does not work with Puppet4 termini

2018-06-01 Thread Jake Yip (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jake Yip created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-8901  
 
 
  Puppet5 server does not work with Puppet4 termini   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Affects Versions: 
 PUP 5.5.1  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 DOCS, Puppet Server, PuppetDB  
 
 
Created: 
 2018/05/31 11:28 PM  
 
 
Environment: 
 Ubuntu Xenial puppetserver-5.3.1-1xenial puppetdb-termini-4.4.0-1puppetlabs1 puppetdb-4.4.0-1puppetlabs1  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Jake Yip  
 

  
 
 
 
 

 
 We are trying to upgrade our infrastructure on Puppet4 to Puppet5. We get this error with a fresh Puppet5 server with Puppet4 termini. ```undefined method `key_attributes' for nil:NilClass``` Seems like this is related to PUP-7654, which has been closed. We have tried the solution (use Puppet5 termini), but there is a problem (PDB-3743). In detail, although the puppet agent run seems successful, reports are not being uploaded to PuppetDB. PuppetDB throws error about wrong schema. Additionally, the upgrade instructions on the website is misleading - upgrading to puppet5 with puppet4 termini does not work. We would appreciate some clarity on what is the correct way to upgrade to puppet 5. P.S. Due to this, we are currently stuck on Xenial and Puppet 4. 
 
We cannot upgrade to Bionic because there are no Puppet 4 packages for Bionic - https://tickets.puppetlabs.com/browse/PA-1869?focusedCommentId=558667=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-558667 
We cannot