Open aboschke opened 5 years ago
Hi @aboschke , There are two options to deploy RHOSP based cloud, First one is to use private RH repositories, that only available from RH network, we mostly use it in our CI. Second one is to use RedHat subscription, but for that you have to purchase license. You can try to use subscription for developers - https://developers.redhat.com/blog/2016/03/31/no-cost-rhel-developer-subscription-now-available/ .
Thanks!
Hi @rusichen:
Thanks for the reply.
We have been using a paid RH subscription which includes RHOSP, but I can't access/find the RPM 'rhos-release-latest.noarch.rpm' in those repositories.
@aboschke ok, if you have subscription then you don't need rhos-release util. You have to prepare cdn_creds.yml file with content as described in documentation [1] and then provide it during undercloud deployment, for example: infrared tripleo-undercloud -o install.yml -o undercloud-install.yml --version 13 --cdn cdn_creds.yml --images-task rpm
[1] https://infrared.readthedocs.io/en/stable/tripleo-undercloud.html#id2
@rusichen
Here is my credentials:
@rusichen
It seems Ansible’s behavior for ‘shell’ is causing the register ‘satellite_detected’ not to be set. So when ‘ignore_errors: yes’ is added to that task, the undercloud deployment proceeds normally.
-Andreas
--- a/infrared/common/roles/cdn_registery/tasks/register_cdn.yml +++ b/infrared/common/roles/cdn_registery/tasks/register_cdn.yml @@ -8,8 +8,13 @@
On 31Oct2018, at 14:51, A Boschke andreas@boschke.org wrote:
@rusichen
OK, I must be using the wrong server_name:
fatal: [undercloud-0]: FAILED! => { "changed": true, "cmd": "curl -L -k -s -D - -o /dev/null https://subscription.rhsm.redhat.com/pub/katello-ca-consumer-latest.noarch.rpm | grep \"200 OK\"", "delta": "0:00:00.229265", "end": "2018-10-31 17:37:49.424101", "rc": 1, "start": "2018-10-31 17:37:49.194836" }
Here is my credentials:
--- server_hostname: 'subscription.rhsm.redhat.com' username: password: autosubscribe: yes server_insecure: no > Thanks for your help, -Andreas > On 30Oct2018, at 12:06, rusichen wrote: > > @aboschke ok, if you have subscription then you don't need rhos-release util. You have to prepare cdn_creds.yml file with content as described in documentation [1] and then provide it during undercloud deployment, for example: > infrared tripleo-undercloud -o install.yml -o undercloud-install.yml --version 13 --cdn cdn_creds.yml --images-task rpm > > [1] https://infrared.readthedocs.io/en/stable/tripleo-undercloud.html#id2 > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub, or mute the thread. >
hi @aboschke Thanks for your feedback, btw i think we have patch that fixes this issue [1].
Hi:
How does one deploy an RHOSP-based cloud without 'rhos-release'?
While running the Bootstrap example, Infrared fails because it can't locate 'rhos-release'. From the references I've found, it seems it's a direct download from various Red Hat development sites. (eg [ http://rhos-release.virt.bos.redhat.com/repos/rhos-release/rhos-release-latest.noarch.rpm ] Unfortunately, they seem to now be offline or private.
Thanks,
-A. Boschke