Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-28 Thread Michael Smith (JIRA)
Title: Message Title










 

 Michael Smith commented on an issue











 






  Re: Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










I'm going to try to do a Solaris 10 acceptance run manually (since automated runs are broken). If that passes I think that's sufficient for Functional Review.












   

 Add Comment











 













 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 







 The {{ip}}, {{dataset}} and {{inherit}} properties of the Zone type each have [insync methods|https://github.com/puppetlabs/puppet/blob/3.6.2/lib/puppet/type/zone.rb#L252-L253] that respond with {{true}} when passed a {{nil}} property value. When a zone resource is first created, the property hash looks like:   {code}  {    ensure => :absent  }  {code}  ...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/pupp

Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-28 Thread Michael Smith (JIRA)
Title: Message Title










 

 Michael Smith commented on an issue











 






  Re: Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










2. Test dataset property
Used examples from acceptance/tests/resource/zone/dataset.rb. Worked correctly.
4. Solaris 11 acceptance tests cover this.












   

 Add Comment











 













 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 







 The {{ip}}, {{dataset}} and {{inherit}} properties of the Zone type each have [insync methods|https://github.com/puppetlabs/puppet/blob/3.6.2/lib/puppet/type/zone.rb#L252-L253] that respond with {{true}} when passed a {{nil}} property value. When a zone resource is first created, the property hash looks like:   {code}  {    ensure => :absent  }  {code}  ...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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-b

Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-28 Thread Rahul Gopinath (JIRA)
Title: Message Title










 

 Rahul Gopinath commented on an issue











 






  Re: Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










This behavior needs to be investigated further since we shouldn't be leaving the system in an inconsistent state. Since this behavior is unrelated to the current bug, we will track it in a separate ticket PUP-3152.












   

 Add Comment











 













 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 







 The {{ip}}, {{dataset}} and {{inherit}} properties of the Zone type each have [insync methods|https://github.com/puppetlabs/puppet/blob/3.6.2/lib/puppet/type/zone.rb#L252-L253] that respond with {{true}} when passed a {{nil}} property value. When a zone resource is first created, the property hash looks like:   {code}  {    ensure => :absent  }  {code}  ...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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

Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-27 Thread Michael Smith (JIRA)
Title: Message Title










 

 Michael Smith commented on an issue











 






  Re: Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










Found a weird set of circumstances where zoneadm doesn't behave well: https://gist.github.com/MikaelSmith/66952db17447f51bed45
If creating a zone fails, trying to do it again after just changing the dataset property still uses the original dataset property. I had to change the name and path as well to get the new dataset property used.












   

 Add Comment











 













 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 







 The {{ip}}, {{dataset}} and {{inherit}} properties of the Zone type each have [insync methods|https://github.com/puppetlabs/puppet/blob/3.6.2/lib/puppet/type/zone.rb#L252-L253] that respond with {{true}} when passed a {{nil}} property value. When a zone resource is first created, the property hash looks like:   {code}  {    ensure => :absent  }  {code}  ...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this

Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-27 Thread Michael Smith (JIRA)
Title: Message Title










 

 Michael Smith commented on an issue











 






  Re: Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










2. Test dataset property.
Verified adding and removing zones with the inherit property, as in



zone {"test":
  path => "/zones/test",
  inherit => ['/lib','/opt/puppet','/sbin','/usr'],
}



Trying to change the zone after creation results in an error, which is frustrating but better than the alternative (silently deleting the zone and recreating it).












   

 Add Comment











 













 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 







 The {{ip}}, {{dataset}} and {{inherit}} properties of the Zone type each have [insync methods|https://github.com/puppetlabs/puppet/blob/3.6.2/lib/puppet/type/zone.rb#L252-L253] that respond with {{true}} when passed a {{nil}} property value. When a zone resource is first created, the property hash looks like:   {code}  {    ensure => :absent  }  {code}  ...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 

  

Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-27 Thread Charlie Sharpsteen (JIRA)
Title: Message Title










 

 Charlie Sharpsteen commented on an issue











 






  Re: Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










A note for Solaris 11: Sparse zones were removed from that version of the OS, so inherit won't work.












   

 Add Comment











 













 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 







 The {{ip}}, {{dataset}} and {{inherit}} properties of the Zone type each have [insync methods|https://github.com/puppetlabs/puppet/blob/3.6.2/lib/puppet/type/zone.rb#L252-L253] that respond with {{true}} when passed a {{nil}} property value. When a zone resource is first created, the property hash looks like:   {code}  {    ensure => :absent  }  {code}  ...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.googl

Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-27 Thread Michael Smith (JIRA)
Title: Message Title










 

 Michael Smith commented on an issue











 






  Re: Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










FR Plan
1. Test ip property (done). 2. Test dataset property. 3. Test inherit property. 4. Repeat on Solaris 11.












   

 Add Comment











 













 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 







 The {{ip}}, {{dataset}} and {{inherit}} properties of the Zone type each have [insync methods|https://github.com/puppetlabs/puppet/blob/3.6.2/lib/puppet/type/zone.rb#L252-L253] that respond with {{true}} when passed a {{nil}} property value. When a zone resource is first created, the property hash looks like:   {code}  {    ensure => :absent  }  {code}  ...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/puppet

Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-27 Thread Michael Smith (JIRA)
Title: Message Title










 

 Michael Smith commented on an issue











 






  Re: Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










Verified adding and removing zones with eba493d on Solaris 10. Didn't work with PE 3.3 install on the same system.












   

 Add Comment











 













 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 







 The {{ip}}, {{dataset}} and {{inherit}} properties of the Zone type each have [insync methods|https://github.com/puppetlabs/puppet/blob/3.6.2/lib/puppet/type/zone.rb#L252-L253] that respond with {{true}} when passed a {{nil}} property value. When a zone resource is first created, the property hash looks like:   {code}  {    ensure => :absent  }  {code}  ...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://gro

Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-27 Thread Michael Smith (JIRA)
Title: Message Title










 

 Michael Smith assigned an issue to Michael Smith











 






 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










Change By:

 Michael Smith




Assignee:

 Michael Smith












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-26 Thread Eric Thompson (JIRA)
Title: Message Title










 

 Eric Thompson updated an issue











 






 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










Change By:

 Eric Thompson




Assignee:

 Eric Thompson












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-25 Thread Eric Thompson (JIRA)
Title: Message Title










 

 Eric Thompson updated an issue











 






 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










Change By:

 Eric Thompson




QA Contact:

 Erik Dasher Eric Thompson












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-25 Thread Eric Thompson (JIRA)
Title: Message Title










 

 Eric Thompson assigned an issue to Eric Thompson











 






 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










Change By:

 Eric Thompson




Assignee:

 Eric Thompson












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-21 Thread Kylo Ginsberg (JIRA)
Title: Message Title










 

 Kylo Ginsberg commented on an issue











 






  Re: Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










Merged to master in 5010aba to be released in 3.7.0.












   

 Add Comment











 













 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 







 The {{ip}}, {{dataset}} and {{inherit}} properties of the Zone type each have [insync methods|https://github.com/puppetlabs/puppet/blob/3.6.2/lib/puppet/type/zone.rb#L252-L253] that respond with {{true}} when passed a {{nil}} property value. When a zone resource is first created, the property hash looks like:   {code}  {    ensure => :absent  }  {code}  ...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-21 Thread Kylo Ginsberg (JIRA)
Title: Message Title










 

 Kylo Ginsberg assigned an issue to Kylo Ginsberg











 






 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










Change By:

 Kylo Ginsberg




Assignee:

 Kylo Ginsberg












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-20 Thread Kylo Ginsberg (JIRA)
Title: Message Title










 

 Kylo Ginsberg updated an issue











 






 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










Change By:

 Kylo Ginsberg




Sprint:

 2014-08-20 , 2014-09-03












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-20 Thread Michael Smith (JIRA)
Title: Message Title










 

 Michael Smith assigned an issue to Unassigned











 






 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










Change By:

 Michael Smith




Assignee:

 Michael Smith












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-20 Thread Michael Smith (JIRA)
Title: Message Title










 

 Michael Smith assigned an issue to Michael Smith











 






 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










Change By:

 Michael Smith




Assignee:

 Michael Smith












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-18 Thread Kylo Ginsberg (JIRA)
Title: Message Title










 

 Kylo Ginsberg commented on an issue











 






  Re: Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










Based on the above, this appears to fix the issue, so moving this to Ready for Merge.












   

 Add Comment











 













 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 







 The {{ip}}, {{dataset}} and {{inherit}} properties of the Zone type each have [insync methods|https://github.com/puppetlabs/puppet/blob/3.6.2/lib/puppet/type/zone.rb#L252-L253] that respond with {{true}} when passed a {{nil}} property value. When a zone resource is first created, the property hash looks like:   {code}  {    ensure => :absent  }  {code}  ...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-18 Thread Charlie Sharpsteen (JIRA)
Title: Message Title










 

 Charlie Sharpsteen commented on an issue











 






  Re: Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










Ah! Good catch! The create_args line was totally the culprit. Didn't inspect the manifest closely after pasting it in 












   

 Add Comment











 













 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 







 The {{ip}}, {{dataset}} and {{inherit}} properties of the Zone type each have [insync methods|https://github.com/puppetlabs/puppet/blob/3.6.2/lib/puppet/type/zone.rb#L252-L253] that respond with {{true}} when passed a {{nil}} property value. When a zone resource is first created, the property hash looks like:   {code}  {    ensure => :absent  }  {code}  ...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit ht

Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-18 Thread Rahul Gopinath (JIRA)
Title: Message Title










 

 Rahul Gopinath commented on an issue











 






  Re: Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










Could you remove the create_args? it essentially creates a new interface (though it shouldn't have created one with the same name, but that would be a bug in solaris) Here is what should be used:


 class monitise_zone {
  zone { 'myzone1':
ensure => 'running',
path => '/zones/myzone1',
ip => 'ixgbe0:172.16.12.68:172.16.13.254',
iptype => 'shared',
  }
}
include monitise_zone















   

 Add Comment











 













 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 







 The {{ip}}, {{dataset}} and {{inherit}} properties of the Zone type each have [insync methods|https://github.com/puppetlabs/puppet/blob/3.6.2/lib/puppet/type/zone.rb#L252-L253] that respond with {{true}} when passed a {{nil}} property value. When a zone resource is first created, the property hash looks like:   {code}  {    ensure => :absent  }  {code}  ...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 

   

Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-18 Thread Charlie Sharpsteen (JIRA)
Title: Message Title










 

 Charlie Sharpsteen commented on an issue











 






  Re: Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










I am using the same puppet manifest you ran your tests with:



class monitise_zone {
  zone { 'myzone1':
ensure => 'running',
path => '/zones/myzone1',
ip => 'ixgbe0:172.16.12.68:172.16.13.254',
create_args => "\nadd net\nset address=172.16.12.6\nset physical=ixgbe0\nend",
#create_args => "add net set address=172.16.12.6 set physical=ixgbe0",
iptype => 'shared',
  }
}
include monitise_zone



Here's the output of the commands. I can't get a clean run with --debug due to the "undefined method tags" error mentioned in ENTERPRISE-273, so I just left it at --verbose:


bash-4.3# zoneadm list
global


bash-4.3# zonecfg -z myzone1 info
myzone1: No such zone configured


bash-4.3# /opt/puppet/bin/puppet apply --verbose --trace zone_with_ip.pp 
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/concat_basedir.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/custom_auth_conf.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/ip6tables_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/iptables_persistent_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/iptables_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_build.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_postgres_default_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_puppetdb_server_status.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/platform_tag.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/postgres_default_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/root_home.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/staging_http_get.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/windows.rb
Notice: Compiled catalog for pe-331-agent-solaris.puppetdebug.vlan in environment production in 0.05 seconds
Info: Applying configuration version '1408402484'
Notice: /Stage[main]/Monitise_zone/Zone[myzone1]/ensure: created
Notice: Finished catalog run in 168.53 seconds


bash-4.3# zoneadm list
global
myzone1


bash-4.3# zonecfg -z myzone1 info
zonename: myzone1
zonepath: /zones/myzone1
brand: native
autoboot: true
bootargs: 
pool: 
limitpriv: 
scheduling-class: 
ip-type: shared
hostid: 
net:
	address: 172.16.12.6
	physical: ixgbe0
	defrouter not specified
net:
	address: 172.16.12.68
	physical: ixgbe0
	defrouter: 172.16.13.254















   

 Add

Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-18 Thread Rahul Gopinath (JIRA)
Title: Message Title










 

 Rahul Gopinath commented on an issue











 






  Re: Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










That is really odd, since it is creating two interfaces with the same name ixgbe0 , can you provide your puppet file? Also, could you give me the output of these commands


# before running puppet
zoneadm list
zonecfg -z myzone1 info
puppet apply --debug --verbose --trace puppet.pp
zoneadm list
zonecfg -z myzone1 info















   

 Add Comment











 













 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 







 The {{ip}}, {{dataset}} and {{inherit}} properties of the Zone type each have [insync methods|https://github.com/puppetlabs/puppet/blob/3.6.2/lib/puppet/type/zone.rb#L252-L253] that respond with {{true}} when passed a {{nil}} property value. When a zone resource is first created, the property hash looks like:   {code}  {    ensure => :absent  }  {code}  ...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 





  

Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-18 Thread Charlie Sharpsteen (JIRA)
Title: Message Title










 

 Charlie Sharpsteen commented on an issue











 






  Re: Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










After applying the patch, I get the following when after applying the manifest given above:


# zonecfg -z myzone1 info
zonename: myzone1
zonepath: /zones/myzone1
brand: native
autoboot: true
bootargs: 
pool: 
limitpriv: 
scheduling-class: 
ip-type: shared
hostid: 
net:
	address: 172.16.12.6
	physical: ixgbe0
	defrouter not specified
net:
	address: 172.16.12.68
	physical: ixgbe0
	defrouter: 172.16.13.254



So, the IP interface declared in the catalog getting added on zone creation, but we still have an interface getting created that was not declared in the manifest. Running a second catalog application destroys the 172.16.12.6 interface, but it should not be created during the initial sync.
The patch does appear to resolve the issue with sparse zones. After patching, the catalog below no longer tries to reset inherited directories on each catalog application:



zone {"test":
  path => "/zones/test",
  inherit => ['/lib','/opt/puppet','/sbin','/usr'],
}















   

 Add Comment











 













 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 







 The {{ip}}, {{dataset}} and {{inherit}} properties of the Zone type each have [insync methods|https://github.com/puppetlabs/puppet/blob/3.6.2/lib/puppet/type/zone.rb#L252-L253] that respond with {{true}} when passed a {{nil}} property value. When 

Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-18 Thread Charlie Sharpsteen (JIRA)
Title: Message Title










 

 Charlie Sharpsteen commented on an issue











 






  Re: Solaris Zone properties ip, dataset and inherit are not set upon zone creation 











what should I see here instead?

The IP and router specified in the manifest aren't being set on the zone. Instead of 172.16.12.6, you should be seeing the following after Puppet creates the zone:


net:
	address: 172.16.12.68
	physical: ixgbe0
	defrouter: 172.16.13.254



I'll take a look at the patch and if it resolves these issues.












   

 Add Comment











 













 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 







 The {{ip}}, {{dataset}} and {{inherit}} properties of the Zone type each have [insync methods|https://github.com/puppetlabs/puppet/blob/3.6.2/lib/puppet/type/zone.rb#L252-L253] that respond with {{true}} when passed a {{nil}} property value. When a zone resource is first created, the property hash looks like:   {code}  {    ensure => :absent  }  {code}  ...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




  

Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-16 Thread Kylo Ginsberg (JIRA)
Title: Message Title










 

 Kylo Ginsberg commented on an issue











 






  Re: Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










Gerrard Geldenhuis or Charlie Sharpsteen will you have a chance to try out the patch and see if it solves the issue? We're mulling over whether this will make it into Puppet 3.7 (hence PE 3.4). Since there was some ambiguity over desired results (see comments above) it would be great to get confirmation.












   

 Add Comment











 













 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 







 The {{ip}}, {{dataset}} and {{inherit}} properties of the Zone type each have [insync methods|https://github.com/puppetlabs/puppet/blob/3.6.2/lib/puppet/type/zone.rb#L252-L253] that respond with {{true}} when passed a {{nil}} property value. When a zone resource is first created, the property hash looks like:   {code}  {    ensure => :absent  }  {code}  ...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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+unsub

Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-14 Thread Kylo Ginsberg (JIRA)
Title: Message Title










 

 Kylo Ginsberg updated an issue











 






 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










Change By:

 Kylo Ginsberg




Sprint:

 2014-08-20












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-13 Thread Rahul Gopinath (JIRA)
Title: Message Title










 

 Rahul Gopinath assigned an issue to Rahul Gopinath











 






 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










Change By:

 Rahul Gopinath




Assignee:

 Kylo Ginsberg Rahul Gopinath












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-13 Thread Rahul Gopinath (JIRA)
Title: Message Title










 

 Rahul Gopinath commented on an issue











 






  Re: Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










Could you please provide a test case (a puppet fragment + script/steps) that demonstrates the issue? I am having some trouble with reproducing it.












   

 Add Comment











 













 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 







 The {{ip}}, {{dataset}} and {{inherit}} properties of the Zone type each have [insync methods|https://github.com/puppetlabs/puppet/blob/3.6.2/lib/puppet/type/zone.rb#L252-L253] that respond with {{true}} when passed a {{nil}} property value. When a zone resource is first created, the property hash looks like:   {code}  {    ensure => :absent  }  {code}  ...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/puppet-bugs.
Fo

Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-11 Thread Rahul Gopinath (JIRA)
Title: Message Title










 

 Rahul Gopinath commented on an issue











 






  Re: Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










I seem to be able to run the init.pp from ENTERPRISE 273 ticket


class monitise_zone {
  zone { 'myzone1':
ensure => 'running',
path => '/zones/myzone1',
ip => 'ixgbe0:172.16.12.68:172.16.13.254',
create_args => "\nadd net\nset address=172.16.12.6\nset physical=ixgbe0\nend",
#create_args => "add net set address=172.16.12.6 set physical=ixgbe0",
iptype => 'shared',
  }
}
include monitise_zone



resulting in


# zonecfg -z myzone1 info
zonename: myzone1
zonepath: /zones/myzone1
brand: native
autoboot: true
bootargs: 
pool: 
limitpriv: 
scheduling-class: 
ip-type: shared
hostid: 
net:
address: 172.16.12.6
physical: ixgbe0
defrouter not specified



what should I see here instead?












   

 Add Comment











 













 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 







 The {{ip}}, {{dataset}} and {{inherit}} properties of the Zone type each have [insync methods|https://github.com/puppetlabs/puppet/blob/3.6.2/lib/puppet/type/zone.rb#L252-L253] that respond with {{true}} when passed a {{nil}} property value. When a zone resource is first created, the property hash looks like:   {code}  {    ensure => :absent  }  {code}  ...

  

Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-07 Thread Kylo Ginsberg (JIRA)
Title: Message Title










 

 Kylo Ginsberg updated an issue











 






 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










Change By:

 Kylo Ginsberg




Fix Version/s:

 4.x




Fix Version/s:

 3.7.0












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-07 Thread Kylo Ginsberg (JIRA)
Title: Message Title










 

 Kylo Ginsberg updated an issue











 






 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










Change By:

 Kylo Ginsberg




Story Points:

 2












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-08-07 Thread Kylo Ginsberg (JIRA)
Title: Message Title










 

 Kylo Ginsberg commented on an issue











 






  Re: Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










Okay if this was merely an oversight and there's a straightforward fix, perhaps we can fix in 3.7.0. I'll bump it to 3.7 and assign to Rahul Gopinath since he seems to know what's involved.












   

 Add Comment











 













 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 







 The {{ip}}, {{dataset}} and {{inherit}} properties of the Zone type each have [insync methods|https://github.com/puppetlabs/puppet/blob/3.6.2/lib/puppet/type/zone.rb#L252-L253] that respond with {{true}} when passed a {{nil}} property value. When a zone resource is first created, the property hash looks like:   {code}  {    ensure => :absent  }  {code}  ...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http

Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-07-28 Thread Rahul Gopinath (JIRA)
Title: Message Title










 

 Rahul Gopinath commented on an issue











 






  Re: Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










I agree, insync is wrong for inherit. (I was trying to trace back why insync was added, and it seems to have been an oversight, especially because sparse zones were taken out in solaris 11, and so resulted in less attention paid to it when we cleaned up Solaris zones previously ).












   

 Add Comment











 













 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 







 The {{ip}}, {{dataset}} and {{inherit}} properties of the Zone type each have [insync methods|https://github.com/puppetlabs/puppet/blob/3.6.2/lib/puppet/type/zone.rb#L252-L253] that respond with {{true}} when passed a {{nil}} property value. When a zone resource is first created, the property hash looks like:   {code}  {    ensure => :absent  }  {code}  ...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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

Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-07-28 Thread Charlie Sharpsteen (JIRA)
Title: Message Title










 

 Charlie Sharpsteen commented on an issue











 






  Re: Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










In this case, we have attributes that are being marked as "in synch" during resource creation when they are actually not synched. Thus the Puppet agent skips over them instead of taking action. Finding a way to mark properties as "can only be synched during creation" is a good design question, but I think this issue can be reduced to a case of broken logic.












   

 Add Comment











 













 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 







 The {{ip}}, {{dataset}} and {{inherit}} properties of the Zone type each have [insync methods|https://github.com/puppetlabs/puppet/blob/3.6.2/lib/puppet/type/zone.rb#L252-L253] that respond with {{true}} when passed a {{nil}} property value. When a zone resource is first created, the property hash looks like:   {code}  {    ensure => :absent  }  {code}  ...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop r

Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-07-27 Thread Kylo Ginsberg (JIRA)
Title: Message Title










 

 Kylo Ginsberg updated an issue











 






 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










Change By:

 Kylo Ginsberg




Fix Version/s:

 4.x












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-07-27 Thread Kylo Ginsberg (JIRA)
Title: Message Title










 

 Kylo Ginsberg commented on an issue











 






  Re: Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










I haven't sorted out what the solution would look like, but two thoughts/questions: 1) Offhand, I don't know if there's precedent in puppet types for a property that must be set at resource creation time. So fixing this might reach up into the transaction layer. (Otoh, if we know of any precedents, please point them out.) 2) We should spec out the desired behavior if these properties are specified and the resource already exists. I assume it should be a failed catalog application?
Those questions aside, this certainly seems worth fixing, in no small part to suss generic answers to the above questions.
The payload for 3.7 and 4.0 is spoken for, so I'll mark this 4.x and it can be further triaged once we sort out the payload of the individual 4.x releases.












   

 Add Comment











 













 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 







 The {{ip}}, {{dataset}} and {{inherit}} properties of the Zone type each have [insync methods|https://github.com/puppetlabs/puppet/blob/3.6.2/lib/puppet/type/zone.rb#L252-L253] that respond with {{true}} when passed a {{nil}} property value. When a zone resource is first created, the property hash looks like:   {code}  {    ensure => :absent  }  {code}  ...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)

   

Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-06-27 Thread Nick Walker (JIRA)
Title: Message Title










 

 Nick Walker updated an issue











 






 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










Change By:

 Nick Walker




Labels:

 customer solaris  support  type_zone












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2817) Solaris Zone properties ip, dataset and inherit are not set upon zone creation

2014-06-20 Thread Charlie Sharpsteen (JIRA)
Title: Message Title










 

 Charlie Sharpsteen created an issue











 






 Puppet /  PUP-2817



  Solaris Zone properties ip, dataset and inherit are not set upon zone creation 










Issue Type:

  Bug




Affects Versions:


 3.6.2




Assignee:

 Kylo Ginsberg




Components:


 Client




Created:


 20/Jun/14 2:59 PM




Environment:


Solaris 10u11 Puppet 3.4.3 (PE 3.2.3)




Labels:


 solaris type_zone customer




Priority:

  Major




Reporter:

 Charlie Sharpsteen










The ip, dataset and inherit properties of the Zone type each have insync methods that respond with true when passed a nil property value. When a zone resource is first created, the property hash looks like:



{
  ensure => :absent
}