puppetlabs-toy-chest/puppetlabs-openstack

Missing packages

Closed this issue · 2 comments

Oyabi commented

Hi,
there is some package missing with the latest version of your module installed with r10k (network node):
CentOS Linux release 7.1.1503 (Core):

Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list openstack-neutron-lbaas' returned 1: Error: No matching Packages to list
Error: /Stage[main]/Neutron::Agents::Lbaas/Package[neutron-lbaas-agent]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list openstack-neutron-lbaas' returned 1: Error: No matching Packages to list
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/use_ssl]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/rabbit_userid]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/use_syslog]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/ssl_ca_file]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/kombu_ssl_ca_certs]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/dhcp_agent_notification]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/rabbit_virtual_host]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/kombu_reconnect_delay]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/log_dir]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Agents::Lbaas/Neutron_lbaas_agent_config[DEFAULT/use_namespaces]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/log_file]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[agent/root_helper]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/rpc_backend]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/rabbit_use_ssl]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Agents::Lbaas/Neutron_lbaas_agent_config[haproxy/user_group]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/state_path]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/service_plugins]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/ssl_cert_file]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/rabbit_ha_queues]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/control_exchange]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/memcached_servers]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Agents::Lbaas/Neutron_lbaas_agent_config[DEFAULT/debug]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/core_plugin]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[agent/report_interval]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/auth_strategy]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/allow_overlapping_ips]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/kombu_ssl_certfile]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/debug]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/verbose]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/ssl_key_file]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/bind_host]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/kombu_ssl_keyfile]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/allow_sorting]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/mac_generation_retries]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/dhcp_agents_per_network]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/lock_path]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/allow_bulk]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Agents::Lbaas/Neutron_lbaas_agent_config[DEFAULT/interface_driver]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/bind_port]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/kombu_ssl_version]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Agents::Lbaas/Neutron_lbaas_agent_config[DEFAULT/device_driver]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/network_device_mtu]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/rabbit_hosts]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/api_extensions_path]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/allow_pagination]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/dhcp_lease_duration]: Skipping because of failed dependencies
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list openstack-neutron-fwaas' returned 1: Error: No matching Packages to list
Error: /Stage[main]/Neutron::Services::Fwaas/Package[openstack-neutron-fwaas]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list openstack-neutron-fwaas' returned 1: Error: No matching Packages to list
Warning: /Stage[main]/Neutron::Services::Fwaas/Neutron_fwaas_service_config[fwaas/driver]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Services::Fwaas/Neutron_fwaas_service_config[fwaas/enabled]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/rabbit_password]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron/Neutron_config[DEFAULT/base_mac]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Server/Neutron_config[keystone_authtoken/admin_user]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Server/Neutron_config[keystone_authtoken/auth_host]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Server/Neutron_config[DEFAULT/router_scheduler_driver]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Server/Neutron_config[keystone_authtoken/auth_port]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Server/Neutron_config[keystone_authtoken/admin_tenant_name]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Server/Neutron_config[database/min_pool_size]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Server/Neutron_config[keystone_authtoken/auth_protocol]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Server/Neutron_config[keystone_authtoken/identity_uri]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Server/Neutron_config[DEFAULT/allow_automatic_l3agent_failover]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Server/Neutron_config[keystone_authtoken/admin_password]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Server/Neutron_config[database/connection]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Server/Neutron_config[database/max_pool_size]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Server/Neutron_config[DEFAULT/rpc_workers]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Server/Neutron_config[keystone_authtoken/auth_uri]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Server/Neutron_config[DEFAULT/api_workers]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Server/Neutron_config[DEFAULT/agent_down_time]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Server/Neutron_config[keystone_authtoken/auth_admin_prefix]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Server/Neutron_config[database/max_overflow]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Server/Neutron_config[database/max_retries]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Server/Neutron_config[DEFAULT/router_distributed]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Server/Neutron_config[database/retry_interval]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Server/Neutron_config[database/idle_timeout]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Agents::Ml2::Ovs/Service[neutron-ovs-agent-service]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Server/Neutron_config[DEFAULT/l3_ha]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Agents::Metering/Service[neutron-metering-service]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Agents::Dhcp/Service[neutron-dhcp-service]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Agents::L3/Service[neutron-l3]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Agents::Lbaas/Service[neutron-lbaas-service]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Agents::Metadata/Service[neutron-metadata]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Agents::Vpnaas/Service[neutron-vpnaas-service]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Server/Service[neutron-server]: Skipping because of failed dependencies
  • Missing packages:
    • openstack-neutron-lbaas
    • openstack-neutron-fwaas

Ubuntu 14.04:

Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install neutron-fwaas' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package neutron-fwaas
Error: /Stage[main]/Neutron::Services::Fwaas/Package[neutron-fwaas]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install neutron-fwaas' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package neutron-fwaas
Warning: /Stage[main]/Neutron::Services::Fwaas/Neutron_fwaas_service_config[fwaas/driver]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Services::Fwaas/Neutron_fwaas_service_config[fwaas/enabled]: Skipping because of failed dependencies
Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install neutron-plugin-openvswitch-agent' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  neutron-plugin-openvswitch-agent
0 upgraded, 1 newly installed, 0 to remove and 84 not upgraded.
Need to get 3872 B of archives.
After this operation, 76.8 kB of additional disk space will be used.
Err http://ubuntu-cloud.archive.canonical.com/ubuntu/ trusty-updates/juno/main neutron-plugin-openvswitch-agent all 1:2014.2.3-0ubuntu1~cloud0
  Could not resolve 'ubuntu-cloud.archive.canonical.com'
E: Failed to fetch http://ubuntu-cloud.archive.canonical.com/ubuntu/pool/main/n/neutron/neutron-plugin-openvswitch-agent_2014.2.3-0ubuntu1~cloud0_all.deb  Could not resolve 'ubuntu-cloud.archive.canonical.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Error: /Stage[main]/Neutron::Agents::Ml2::Ovs/Package[neutron-ovs-agent]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install neutron-plugin-openvswitch-agent' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  neutron-plugin-openvswitch-agent
0 upgraded, 1 newly installed, 0 to remove and 84 not upgraded.
Need to get 3872 B of archives.
After this operation, 76.8 kB of additional disk space will be used.
Err http://ubuntu-cloud.archive.canonical.com/ubuntu/ trusty-updates/juno/main neutron-plugin-openvswitch-agent all 1:2014.2.3-0ubuntu1~cloud0
  Could not resolve 'ubuntu-cloud.archive.canonical.com'
E: Failed to fetch http://ubuntu-cloud.archive.canonical.com/ubuntu/pool/main/n/neutron/neutron-plugin-openvswitch-agent_2014.2.3-0ubuntu1~cloud0_all.deb  Could not resolve 'ubuntu-cloud.archive.canonical.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Warning: /Stage[main]/Neutron::Agents::Ml2::Ovs/Neutron_agent_ovs[ovs/local_ip]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Agents::Ml2::Ovs/Neutron_agent_ovs[agent/enable_distributed_routing]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Agents::Ml2::Ovs/Neutron_agent_ovs[ovs/tunnel_bridge]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Agents::Ml2::Ovs/Neutron_agent_ovs[ovs/enable_tunneling]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Agents::Ml2::Ovs/Neutron_agent_ovs[ovs/integration_bridge]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Agents::Ml2::Ovs/Neutron_agent_ovs[securitygroup/firewall_driver]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Agents::Ml2::Ovs/Neutron_agent_ovs[agent/arp_responder]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Agents::Ml2::Ovs/Neutron_agent_ovs[agent/polling_interval]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Agents::Ml2::Ovs/Neutron_agent_ovs[agent/l2_population]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Agents::Ml2::Ovs/Neutron_agent_ovs[agent/tunnel_types]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Agents::Ml2::Ovs/Service[neutron-ovs-agent-service]: Skipping because of failed dependencies
Error: /Stage[main]/Keystone::Db::Sync/Exec[keystone-manage db_sync]: Failed to call refresh: keystone-manage db_sync returned 1 instead of one of [0]
Error: /Stage[main]/Keystone::Db::Sync/Exec[keystone-manage db_sync]: keystone-manage db_sync returned 1 instead of one of [0]
Error: /Stage[main]/Neutron::Keystone::Auth/Keystone::Resource::Service_identity[neutron]/Keystone_service[neutron]: Could not evaluate: undefined method `collect' for nil:NilClass
Error: /Stage[main]/Neutron::Keystone::Auth/Keystone::Resource::Service_identity[neutron]/Keystone_user[neutron]: Could not evaluate: undefined method `collect' for nil:NilClass
Warning: /Stage[main]/Neutron::Keystone::Auth/Keystone::Resource::Service_identity[neutron]/Keystone_endpoint[openstack/neutron]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Keystone::Auth/Keystone::Resource::Service_identity[neutron]/Keystone_user_role[neutron@services]: Skipping because of failed dependencies
Warning: /Stage[main]/Neutron::Server/Service[neutron-server]: Skipping because of failed dependencies
Error: Could not send report: No route to host - connect(2)
  • Missing packages:
    • neutron-fwaas
    • neutron-plugin-openvswitch-agent

Debian 8:

Error: Could not apply complete catalog: Found 1 dependency cycle:
(Anchor[apt::source::debian_wheezy] => Apt::Source[debian_wheezy] => Apt::Source[debian_wheezy_backports] => File[debian_wheezy_backports.list] => Exec[apt_update] => Class[Apt::Update] => Anchor[apt::source::debian_wheezy])
Try the '--graph' option and opening the resulting '.dot' file in OmniGraffle or GraphViz

I haven't change anything in my source.list
You can take a look at my neutron config:

######## Neutron

openstack::neutron::password: 'whi-rtuz'
openstack::neutron::shared_secret: 'by-sa-bo'
openstack::neutron::core_plugin: 'ml2'
openstack::neutron::service_plugins: ['router', 'firewall', 'lbaas', 'vpnaas', 'metering']

My package version:

forge "http://forge.puppetlabs.com"

## The core OpenStack modules

mod "openstack",
  :git => "git://github.com/puppetlabs/puppetlabs-openstack",
  :ref => "master"

mod "keystone",
  :git => "git://github.com/stackforge/puppet-keystone",
  :ref => "master"

mod "swift",
  :git => "git://github.com/stackforge/puppet-swift",
  :ref => "master"

mod "glance",
  :git => "git://github.com/stackforge/puppet-glance",
  :ref => "master"

mod "cinder",
  :git => "git://github.com/stackforge/puppet-cinder",
  :ref => "master"

mod "neutron",
  :git => "git://github.com/stackforge/puppet-neutron",
  :ref => "master"

mod "nova",
  :git => "git://github.com/stackforge/puppet-nova",
  :ref => "master"

mod "heat",
  :git => "git://github.com/stackforge/puppet-heat",
  :ref => "master"

mod "ceilometer",
  :git => "git://github.com/stackforge/puppet-ceilometer",
  :ref => "master"

mod "horizon",
  :git => "git://github.com/stackforge/puppet-horizon",
  :ref => "master"

mod "openstacklib",
  :git => "git://github.com/stackforge/puppet-openstacklib",
  :ref => "master"

mod "openstack_extras",
  :git => "git://github.com/stackforge/puppet-openstack_extras",
  :ref => "master"

mod "tempest",
  :git => "git://github.com/stackforge/puppet-tempest",
  :ref => "master"

mod "vswitch",
  :git => "git://github.com/stackforge/puppet-vswitch",
  :ref => "master"

## R10K doesn't handle dependencies, so let's handle them here
# pointing to as many stable projects as possible
# TODO automate this dependency list

mod "apache",
  :git => "git://github.com/puppetlabs/puppetlabs-apache",
  :ref => "1.2.x"

mod "epel",
  :git => "git://github.com/stahnma/puppet-module-epel",
  :ref => "master"

mod "erlang",
  :git => "git://github.com/garethr/garethr-erlang",
  :ref => "master"

mod "inifile",
  :git => "git://github.com/puppetlabs/puppetlabs-inifile",
  :ref => "1.1.x"

mod "mysql",
  :git => "git://github.com/puppetlabs/puppetlabs-mysql",
  :ref => "3.3.x"

mod "stdlib",
  :git => "git://github.com/puppetlabs/puppetlabs-stdlib",
  :ref => "4.3.x"

mod "rsync",
  :git => "git://github.com/puppetlabs/puppetlabs-rsync",
  :ref => "0.2.0"

mod "xinetd",
  :git => "git://github.com/puppetlabs/puppetlabs-xinetd",
  :ref => "1.2.0"

mod "concat",
  :git => "git://github.com/puppetlabs/puppetlabs-concat",
  :ref => "1.1.x"

mod "memcached",
  :git => "git://github.com/saz/puppet-memcached",
  :ref => "658374848a6d2cf07f0bf714bc34709e9d0ee109"

mod "ssh",
  :git => "git://github.com/saz/puppet-ssh",
  :ref => "a0f5d5da20c91775c76c77d3b57b41f4245a260a"

mod "qpid",
  :git => "git://github.com/dprince/puppet-qpid",
  :ref => "1.0.2"

mod "sysctl",
  :git => "git://github.com/duritong/puppet-sysctl"

mod "rabbitmq",
  :git => "git://github.com/puppetlabs/puppetlabs-rabbitmq",
  :ref => "master" # 3.0.0

mod "staging",
  :git => "git://github.com/nanliu/puppet-staging",
  :ref => "1.0.2"

mod "vcsrepo",
  :git => "git://github.com/puppetlabs/puppetlabs-vcsrepo",
  :ref => "0.2.0"

# indirect dependencies

mod "firewall",
  :git => "git://github.com/puppetlabs/puppetlabs-firewall",
  :ref => "master"

mod "apt",
  :git => "git://github.com/puppetlabs/puppetlabs-apt",
  :ref => "1.4.x"

mod "mongodb",
  :git => "git://github.com/puppetlabs/puppetlabs-mongodb",
  :ref => "0.10.0"

mod "ntp",
  :git => "git://github.com/puppetlabs/puppetlabs-ntp",
  :ref => "3.0.x"

mod "postgresql",
  :git => "git://github.com/puppetlabs/puppetlabs-postgresql",
  :ref => "4.0.x"

mod "puppetdb",
  :git => "git://github.com/puppetlabs/puppetlabs-puppetdb",
  :ref => "4.0.0"

Thank you.

For your Ubuntu example, it appears you have a networking issue: "Could not resolve 'ubuntu-cloud.archive.canonical.com'", "Error: Could not send report: No route to host - connect(2)", which we cannot help with.

For your CentOS example, openstack-neutron-lbaas and openstack-neutron-fwaas appear to be the correct packages from https://repos.fedorapeople.org/repos/openstack/openstack-kilo/el7/ . It may be another networking issue. It may be that your package repositories are not configured correctly. Try examining your yum repos and running yum install by hand. If you believe this is an issue with the repositories, please file a bug against the puppet-openstack_extras module. If you believe it is an issue with the puppet-neutron module's package naming, please file a bug against the puppet-neutron module

For your Debian example, this looks like either an issue with the puppetlabs-apt module or the puppet-openstack_extras module. Try upgrading your apt module to 1.8.0. If that does not fix the problem, file a bug against the puppet-openstack_extras module.

Closing this, please file a bug against the appropriate module (puppet-neutron or puppet-openstack_extras) if your problem is not resolved.