Bug 1581385
| Summary: | Neutron-sriov-agent container missing when using OpenDaylight + SRIOV environment file | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Ricardo Noriega <rnoriega> | ||||||
| Component: | documentation | Assignee: | Joanne O'Flynn <joflynn> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | RHOS Documentation Team <rhos-docs> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 13.0 (Queens) | CC: | aadam, aschultz, dbecker, dcadzow, itbrown, joflynn, mburns, mkolesni, morazi, rnoriega, sbandyop, srevivo | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2018-11-13 17:02:17 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Ricardo Noriega
2018-05-22 15:36:35 UTC
Itzik, can you please check if you hit this? Created attachment 1440540 [details]
THT
Created attachment 1440548 [details]
New THT
(undercloud) [stack@undercloud13 ~]$ cat deploy_overcloud.sh
#!/bin/bash
time openstack overcloud deploy \
--templates ~/templates/ \
-t 60 \
--ntp-server clock.corp.redhat.com \
-e ~/templates/node-info.yaml \
-e ~/templates/environments/docker.yaml \
-e ~/templates/overcloud_images.yaml \
-e ~/templates/environments/network-isolation.yaml \
-e ~/templates/environments/network-environment.yaml \
-e ~/templates/environments/services-docker/neutron-opendaylight.yaml \
-e ~/templates/environments/services-docker/neutron-opendaylight-sriov.yaml \
-e ~/templates/environments/services-docker/neutron-l2gw-opendaylight.yaml \
-r ~/templates/roles_data.yaml \
--log-file overcloud_install.log
Finally I've figured out what was the issue. It doesn't look like a bug, but a lack of documentation around creating the local registry.
Creating the container repository takes into account, not only the services that the user picks via environment files, but also if those services are present in any of the roles located in roles_data.yaml.
In my environment, I created a single custom role (all-in-one). That role file can be passed as argument when creating the local registry like this:
openstack overcloud container image prepare --namespace=192.168.24.1:8787/rhosp13 --prefix=openstack- --tag=2018-05-07.2 -e /home/stack/templates/environments/services-docker/neutron-opendaylight.yaml -e /home/stack/templates/environments/services-docker/neutron-opendaylight-sriov.yaml --output-env-file=/home/stack/templates/overcloud_images.yaml --roles-file /home/stack/templates/roles_data.yaml
If the roles that are defined in this file --roles-file /home/stack/templates/roles_data.yaml, contain the following services:
- OS::TripleO::Services::NeutronSriovAgent
- OS::TripleO::Services::NeutronSriovHostConfig
The container neutron-sriov-agent will be pulled into the local registry, and deployed.
This argument should be explained in the official documentation.
Removing the Needinfo. Doc issue. |