Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <NikoHermannsEric> purple trozet: ping
- 11:55:55 AM dfarrell07: ping
- 11:56:03 AM D<dfarrell07> Daniel Farrell NikoHermannsEric: pong, hello :)
- 11:56:16 AM N<NikoHermannsEric> purple hey guys I have a small question to the puppet installation of odl
- 11:56:24 AM I am using your repo dfarrell07
- 11:56:34 AM D<dfarrell07> Daniel Farrell NikoHermannsEric: cool, /me hopes can help
- 11:56:49 AM N<NikoHermannsEric> purple the thing is when I do puppet apply EVERYthing changes in opendaylight/etc
- 11:57:11 AM and the features are not correctly loaded
- 11:57:28 AM I get > Network CRUD InterfaceService is not available. Could be down for > maintanence
- 11:57:54 AM I am using the puppet scripts which are inside apes
- 11:57:56 AM apex
- 11:58:03 AM but might not be the latest once
- 11:58:15 AM I can run my things with SR2
- 11:58:20 AM but not on latest master
- 11:58:22 AM of odl
- 11:58:34 AM ⇐ itzikb quit (itbrown@nat/redhat/x-ipocncsbkugilujh) Ping timeout: 245 seconds
- 11:58:49 AM D<dfarrell07> Daniel Farrell NikoHermannsEric: ack, humm, okay
- 11:58:51 AM N<NikoHermannsEric> purple So I think the issue is that the files are uncorrectly created in the etc
- 11:59:12 AM do I need to update some file in the puppet
- 11:59:24 AM are there some erb files which needs to have update?
- 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?
- 11:59:54 AM NikoHermannsEric: it might be related to templates that need to be updated
- 12:00:08 PM NikoHermannsEric: https://github.com/dfarrell07/puppet-opendaylight/tree/master/templates
- 12:00:24 PM N<NikoHermannsEric> purple oh! ok shit
- 12:00:29 PM I never look into that
- 12:00:31 PM D<dfarrell07> Daniel Farrell NikoHermannsEric: https://trello.com/c/RcA5llKb/401-don-t-use-templates-in-puppet-opendaylight
- 12:00:34 PM <NikoHermannsEric> purple so this is how you do it
- 12:01:20 PM I thought since this is a config file that you change only the config you need to change...
- 12:01:29 PM ok then I know my issue now
- 12:01:49 PM D<dfarrell07> Daniel Farrell NikoHermannsEric: yeah, we want to move to that, using something puppet version of sed, vs templates
- 12:01:54 PM N<NikoHermannsEric> purple how to find the match between the puppet-opendaylight repo and the odl version
- 12:02:16 PM isn't there a way to do it with puppet functions
- 12:02:22 PM wait let me search for it
- 12:02:31 PM D<dfarrell07> Daniel Farrell NikoHermannsEric: https://github.com/dfarrell07/puppet-opendaylight/blob/master/manifests/params.pp#L16
- 12:02:47 PM NikoHermannsEric: http://cbs.centos.org/repos/nfv7-opendaylight-5-testing/x86_64/os/Packages/
- 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")
- 12:03:23 PM N<NikoHermannsEric> purple cannot we use this:
- 12:03:24 PM ini_setting { '[DEFAULT] service_plugins':
- 12:03:24 PM ensure => present,
- 12:03:24 PM section => 'DEFAULT',
- 12:03:24 PM setting => 'service_plugins',
- 12:03:24 PM value => 'networking_odl.l3.l3_odl.OpenDaylightL3RouterPlugin',
- 12:03:25 PM path => $neutron_conf_file,
- 12:03:25 PM }
- 12:03:51 PM D<dfarrell07> Daniel Farrell NikoHermannsEric: yeah, it looks like we could for ini files
- 12:04:17 PM file_line { 'featuresBoot':
- 12:04:17 PM path => '/opt/opendaylight/etc/org.apache.karaf.features.cfg',
- 12:04:17 PM line => "featuresBoot=${features_csv}",
- 12:04:17 PM match => '^featuresBoot=.*$',
- 12:04:17 PM }
- 12:04:28 PM N<NikoHermannsEric> purple ok
- 12:04:32 PM D<dfarrell07> Daniel Farrell NikoHermannsEric: can also do something like^^, for more generic stuff
- 12:04:43 PM https://github.com/dfarrell07/puppet-opendaylight/blob/master/manifests/config.pp#L16-L20
- 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
- 12:05:33 PM when will actually the new non template version come?
- 12:05:41 PM do you need help woth that?
- 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.
- NikoHermannsEric> purple ok
- 12:10:21 PM I will have a look
- 12:10:33 PM I will look at the puppet files
- 12:10:47 PM could you help me lateron in merging it into apex?
- 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
- 12:13:31 PM NikoHermannsEric: thanks :)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement