Advertisement
dfarrell07

need_no_pup_templates_irc

Jan 16th, 2017
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.69 KB | None | 0 0
  1. <NikoHermannsEric> purple trozet: ping
  2. 11:55:55 AM dfarrell07: ping
  3. 11:56:03 AM D<dfarrell07> Daniel Farrell NikoHermannsEric: pong, hello :)
  4. 11:56:16 AM N<NikoHermannsEric> purple hey guys I have a small question to the puppet installation of odl
  5. 11:56:24 AM I am using your repo dfarrell07
  6. 11:56:34 AM D<dfarrell07> Daniel Farrell NikoHermannsEric: cool, /me hopes can help
  7. 11:56:49 AM N<NikoHermannsEric> purple the thing is when I do puppet apply EVERYthing changes in opendaylight/etc
  8. 11:57:11 AM and the features are not correctly loaded
  9. 11:57:28 AM I get > Network CRUD InterfaceService is not available. Could be down for > maintanence
  10. 11:57:54 AM I am using the puppet scripts which are inside apes
  11. 11:57:56 AM apex
  12. 11:58:03 AM but might not be the latest once
  13. 11:58:15 AM I can run my things with SR2
  14. 11:58:20 AM but not on latest master
  15. 11:58:22 AM of odl
  16. 11:58:34 AM ⇐ itzikb quit (itbrown@nat/redhat/x-ipocncsbkugilujh) Ping timeout: 245 seconds
  17. 11:58:49 AM D<dfarrell07> Daniel Farrell NikoHermannsEric: ack, humm, okay
  18. 11:58:51 AM N<NikoHermannsEric> purple So I think the issue is that the files are uncorrectly created in the etc
  19. 11:59:12 AM do I need to update some file in the puppet
  20. 11:59:24 AM are there some erb files which needs to have update?
  21. 11:59:46 AM D<dfarrell07> Daniel Farrell NikoHermannsEric: so you already have a version of ODL deployed and you just want to modify the config with puppet?
  22. 11:59:54 AM NikoHermannsEric: it might be related to templates that need to be updated
  23. 12:00:08 PM NikoHermannsEric: https://github.com/dfarrell07/puppet-opendaylight/tree/master/templates
  24. 12:00:24 PM N<NikoHermannsEric> purple oh! ok shit
  25. 12:00:29 PM I never look into that
  26. 12:00:31 PM D<dfarrell07> Daniel Farrell NikoHermannsEric: https://trello.com/c/RcA5llKb/401-don-t-use-templates-in-puppet-opendaylight
  27. 12:00:34 PM <NikoHermannsEric> purple so this is how you do it
  28. 12:01:20 PM I thought since this is a config file that you change only the config you need to change...
  29. 12:01:29 PM ok then I know my issue now
  30. 12:01:49 PM D<dfarrell07> Daniel Farrell NikoHermannsEric: yeah, we want to move to that, using something puppet version of sed, vs templates
  31. 12:01:54 PM N<NikoHermannsEric> purple how to find the match between the puppet-opendaylight repo and the odl version
  32. 12:02:16 PM isn't there a way to do it with puppet functions
  33. 12:02:22 PM wait let me search for it
  34. 12:02:31 PM D<dfarrell07> Daniel Farrell NikoHermannsEric: https://github.com/dfarrell07/puppet-opendaylight/blob/master/manifests/params.pp#L16
  35. 12:02:47 PM NikoHermannsEric: http://cbs.centos.org/repos/nfv7-opendaylight-5-testing/x86_64/os/Packages/
  36. 12:03:18 PM NikoHermannsEric: the first one sets which repo to search for, finds the second (wrt to "how to find the match between the puppet-opendaylight repo and the odl version")
  37. 12:03:23 PM N<NikoHermannsEric> purple cannot we use this:
  38. 12:03:24 PM ini_setting { '[DEFAULT] service_plugins':
  39. 12:03:24 PM ensure => present,
  40. 12:03:24 PM section => 'DEFAULT',
  41. 12:03:24 PM setting => 'service_plugins',
  42. 12:03:24 PM value => 'networking_odl.l3.l3_odl.OpenDaylightL3RouterPlugin',
  43. 12:03:25 PM path => $neutron_conf_file,
  44. 12:03:25 PM }
  45. 12:03:51 PM D<dfarrell07> Daniel Farrell NikoHermannsEric: yeah, it looks like we could for ini files
  46. 12:04:17 PM file_line { 'featuresBoot':
  47. 12:04:17 PM path => '/opt/opendaylight/etc/org.apache.karaf.features.cfg',
  48. 12:04:17 PM line => "featuresBoot=${features_csv}",
  49. 12:04:17 PM match => '^featuresBoot=.*$',
  50. 12:04:17 PM }
  51. 12:04:28 PM N<NikoHermannsEric> purple ok
  52. 12:04:32 PM D<dfarrell07> Daniel Farrell NikoHermannsEric: can also do something like^^, for more generic stuff
  53. 12:04:43 PM https://github.com/dfarrell07/puppet-opendaylight/blob/master/manifests/config.pp#L16-L20
  54. 12:05:16 PM N<NikoHermannsEric> purple our whole odl pipline testing from opnfv will not work cause of that, since we will always have a not up to date odl deployment in apex where we want to install the newer version on
  55. 12:05:33 PM when will actually the new non template version come?
  56. 12:05:41 PM do you need help woth that?
  57. 12:07:14 PM D<dfarrell07> Daniel Farrell NikoHermannsEric: no one is working on it, but ack at being a prio. I can drop things and take a stab at it, or contributions welcome.
  58. NikoHermannsEric> purple ok
  59. 12:10:21 PM I will have a look
  60. 12:10:33 PM I will look at the puppet files
  61. 12:10:47 PM could you help me lateron in merging it into apex?
  62. 12:13:21 PM D<dfarrell07> Daniel Farrell NikoHermannsEric: I'm not a committer to Apex, but I can help you merge into puppet-opendaylight, which is where I think the changes need to be made
  63. 12:13:31 PM NikoHermannsEric: thanks :)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement