Error: could not find a distribution template for Cumulus Linux/jessie


I followed the instructions at https://github.com/CumulusNetworks/cldemo-automation-ansible but when it comes to command 'sudo apt-add-repository ppa:ansible/ansible -y' I get the following error:

cumulus@oob-mgmt-server:~$ sudo apt-add-repository ppa:ansible/ansible -y

Traceback (most recent call last):

File "/usr/bin/apt-add-repository", line 167, in
sp = SoftwareProperties(options=options)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 105, in __init__
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 595, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources
(self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Cumulus Linux/jessie
regards
Stefan

3 replies

Userlevel 1
Hi Stefan! You can actually skip that step - it was needed in older versions of the demo, but it's obsolete now.
Userlevel 3
Thanks for reporting this Stefan. The honorable Mr Peddycord has just removed that step from GitHub. Sorry about the trouble.
Thanks for the quick replies. The demo is working now. 🙂

I like the cldemos and especially the topology-converter very much. This will help us a lot in enhancing our network. Really great work. Thanks!

Reply