Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Integrating with Cisco ACI - Need to install lldpd during deployment

Hello I am attempting to integrate ACI with Mirantis Openstack, however I am running into some errors in my deployment as I do not have external internet access. In order to get around that I use the fuel-mirror command to create a local repo. However this does not contain the LLDPD package, which in turn causes my Deployment to fail. So my question is how can I add the lldpd package to my local distribution.

First Error

2016-09-18 16:00:31 +0000 /Package[lldpd] (info): Starting to evaluate the resource 2016-09-18 16:00:31 +0000 Puppet (debug): Executing '/usr/bin/dpkg-query -W --showformat '${Status} ${Package} ${Version}\n' lldpd' 2016-09-18 16:00:31 +0000 Puppet (debug): Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install lldpd' 2016-09-18 16:00:31 +0000 Puppet (err): Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install lldpd' returned 100: Reading package lists... Package lldpd is not available, but is referred to by another package. E: Package 'lldpd' has no installation candidate 2016-09-18 16:00:31 +0000 /Stage[main]/Lldp/Package[lldpd]/ensure (err): change from purged to latest failed: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install lldpd' returned 100: Reading package lists... Package lldpd is not available, but is referred to by another package. E: Package 'lldpd' has no installation candidate

Second Error Messages

2016-09-18 16:05:40 +0000 /Stage[main]/Opflex::Opflex_agent/Exec[ifup_opflex_interface] (info): Evaluated in 0.01 seconds 2016-09-18 16:05:40 +0000 /Stage[main]/Opflex::Opflex_agent/Exec[brctl_add_p_opflex] (info): Starting to evaluate the resource 2016-09-18 16:05:40 +0000 Execbrctl_add_p_opflex (debug): Executing check '/sbin/brctl show ${br_to_patch} | /bin/grep -q p_opflex' 2016-09-18 16:05:40 +0000 Puppet (debug): Executing '/sbin/brctl show ${br_to_patch} | /bin/grep -q p_opflex' 2016-09-18 16:05:40 +0000 /Stage[main]/Opflex::Opflex_agent/Exec[brctl_add_p_opflex] (info): Evaluated in 0.01 seconds Depends: neutron-opflex-agent but it is not going to be installed Depends: neutron-opflex-agent but it is not going to be installed

Integrating with Cisco ACI - Need to install lldpd during deployment

Hello I am attempting to integrate ACI with Mirantis Openstack, however I am running into some errors in my deployment as I do not have external internet access. In order to get around that I use the fuel-mirror command to create a local repo. However this does not contain the LLDPD package, which in turn causes my Deployment to fail. So my question is how can I add the lldpd package to my local distribution.

First Error

2016-09-18 16:00:31 +0000 /Package[lldpd] (info): Starting to evaluate the resource
2016-09-18 16:00:31 +0000 Puppet (debug): Executing '/usr/bin/dpkg-query -W --showformat '${Status} ${Package} ${Version}\n' lldpd'
2016-09-18 16:00:31 +0000 Puppet (debug): Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install lldpd'
2016-09-18 16:00:31 +0000 Puppet (err): Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install lldpd' returned 100: Reading package lists...
Package lldpd is not available, but is referred to by another package.
E: Package 'lldpd' has no installation candidate
2016-09-18 16:00:31 +0000 /Stage[main]/Lldp/Package[lldpd]/ensure (err): change from purged to latest failed: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install lldpd' returned 100: Reading package lists...
Package lldpd is not available, but is referred to by another package.
E: Package 'lldpd' has no installation candidate

candidate

Second Error Messages

2016-09-18 16:05:40 +0000 /Stage[main]/Opflex::Opflex_agent/Exec[ifup_opflex_interface] (info): Evaluated in 0.01 seconds
2016-09-18 16:05:40 +0000 /Stage[main]/Opflex::Opflex_agent/Exec[brctl_add_p_opflex] (info): Starting to evaluate the resource
2016-09-18 16:05:40 +0000 Execbrctl_add_p_opflex Exec[brctl_add_p_opflex](provider=posix) (debug): Executing check '/sbin/brctl show ${br_to_patch} | /bin/grep -q p_opflex'
2016-09-18 16:05:40 +0000 Puppet (debug): Executing '/sbin/brctl show ${br_to_patch} | /bin/grep -q p_opflex'
2016-09-18 16:05:40 +0000 /Stage[main]/Opflex::Opflex_agent/Exec[brctl_add_p_opflex] (info): Evaluated in 0.01 seconds
                           Depends: neutron-opflex-agent but it is not going to be installed
                           Depends: neutron-opflex-agent but it is not going to be installed

installed

Integrating with Cisco ACI - Need to install lldpd during deployment

Hello I am attempting to integrate ACI with Mirantis Openstack, however I am running into some errors in my deployment as I do not have external internet access. In order to get around that I use the fuel-mirror command to create a local repo. However this does not contain the LLDPD package, which in turn causes my Deployment to fail. So my question is how can I add the lldpd package to my local distribution.

First Error

2016-09-18 16:00:31 +0000 /Package[lldpd] (info): Starting to evaluate the resource
2016-09-18 16:00:31 +0000 Puppet (debug): Executing '/usr/bin/dpkg-query -W --showformat '${Status} ${Package} ${Version}\n' lldpd'
2016-09-18 16:00:31 +0000 Puppet (debug): Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install lldpd'
2016-09-18 16:00:31 +0000 Puppet (err): Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install lldpd' returned 100: Reading package lists...
Package lldpd is not available, but is referred to by another package.
E: Package 'lldpd' has no installation candidate
2016-09-18 16:00:31 +0000 /Stage[main]/Lldp/Package[lldpd]/ensure (err): change from purged to latest failed: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install lldpd' returned 100: Reading package lists...
Package lldpd is not available, but is referred to by another package.
E: Package 'lldpd' has no installation candidate

Second Error Messages

2016-09-18 16:05:40 +0000 /Stage[main]/Opflex::Opflex_agent/Exec[ifup_opflex_interface] (info): Evaluated in 0.01 seconds
2016-09-18 16:05:40 +0000 /Stage[main]/Opflex::Opflex_agent/Exec[brctl_add_p_opflex] (info): Starting to evaluate the resource
2016-09-18 16:05:40 +0000 Exec[brctl_add_p_opflex](provider=posix) (debug): Executing check '/sbin/brctl show ${br_to_patch} | /bin/grep -q p_opflex'
2016-09-18 16:05:40 +0000 Puppet (debug): Executing '/sbin/brctl show ${br_to_patch} | /bin/grep -q p_opflex'
2016-09-18 16:05:40 +0000 /Stage[main]/Opflex::Opflex_agent/Exec[brctl_add_p_opflex] (info): Evaluated in 0.01 seconds
                           Depends: neutron-opflex-agent but it is not going to be installed
                           Depends: neutron-opflex-agent but it is not going to be installed

I have tried to build the package separately, and then do the following:

Copy the lldpd deb to /var/www/nailgun/plugins/aci*/repositories/ubuntu. And then regenerate the Packages.gz file. Change dir to the above directory and then run. “dpkg-scanpackages . /dev/null | gzip –9c > Packages.gz”