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

  • 1
  • Problem
  • Updated 10 months ago

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

Photo of Stefan Marold

Stefan Marold

  • 100 Points 100 badge 2x thumb

Posted 10 months ago

  • 1
Photo of Barry Peddycord III

Barry Peddycord III, Customer Engineer

  • 290 Points 250 badge 2x thumb
Hi Stefan! You can actually skip that step - it was needed in older versions of the demo, but it's obsolete now.
Photo of Pete B

Pete B, Official Rep

  • 2,786 Points 2k badge 2x thumb
Thanks for reporting this Stefan. The honorable Mr Peddycord has just removed that step from GitHub. Sorry about the trouble.
Photo of Stefan Marold

Stefan Marold

  • 100 Points 100 badge 2x thumb
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!