# Openstack 8 wrong repository

**URL:** <https://forums.suse.com/t/openstack-8-wrong-repository/33939>\
**Category:** SUSE OpenStack Cloud\
**Created:** [May 13, 2019, 11:31am UTC](https://forums.suse.com/t/openstack-8-wrong-repository/33939 "2019-05-13T11:31:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xmelicher](https://avatars.discourse-cdn.com/v4/letter/x/a88e57/32.png) [@Xmelicher](https://forums.suse.com/u/Xmelicher)\
**Post date:** [May 13, 2019, 11:31am UTC](https://forums.suse.com/t/openstack-8-wrong-repository/33939/1 "2019-05-13T11:31:33Z")

</div>

Hi

I am deploying Suse Openstack 8 in a TEST lab server and i have made an mistake that when I configured my SMT server I accidently run command

```auto
for REPO in SLES12-SP3-{Pool,Updates} SUSE-OpenStack-Cloud-8-{Pool,Updates}; do
  smt-repos $REPO sle-12-x86_64 -e
done
```

instead of

```auto
for REPO in SLES12-SP3-{Pool,Updates} SUSE-OpenStack-Cloud-Crowbar-8-{Pool,Updates}; do
  smt-repos $REPO sle-12-x86_64 -e
done
```

And admin node deployed succesfully  
Now crowbar tells me that repositories SUSE-OpenStack-Cloud-Crowbar-8-Pool and SUSE-OpenStack-Cloud-Crowbar-8-Updates have status available and check “WRONG repository”

I have tried to disable and delete those 2 repos from SMT server and I have enabled and mirrored correct 2 repos but then i got status not present  
Can somebody please explain me what m I doing wrong ? and how to fix it ?  
Thank You

---

<div class="post-metadata">

**Author:** ![Xmelicher](https://avatars.discourse-cdn.com/v4/letter/x/a88e57/32.png) [@Xmelicher](https://forums.suse.com/u/Xmelicher)\
**Post date:** [May 13, 2019, 1:52pm UTC](https://forums.suse.com/t/openstack-8-wrong-repository/33939/2 "2019-05-13T13:52:26Z")

</div>

I solved it.  
I had to disable and delete the wrong repo

```auto
smt-repos -d SUSE-OpenStack-Cloud-8-Updates
smt-repos -d SUSE-OpenStack-Cloud-8-Pool
smt-repos --delete SUSE-OpenStack-Cloud-8-Updates
smt-repos --delete SUSE-OpenStack-Cloud-8-Pool
```

after that add the correct repos and sychronize them

```auto
for REPO in SLES12-SP3-{Pool,Updates} SUSE-OpenStack-Cloud-Crowbar-8-{Pool,Updates}; do
  smt-repos $REPO sle-12-x86_64 -e
done
smt-mirror -L /var/log/smt/smt-mirror.log
```

then I had to fix sim links to the correct directories

```auto
cd /srv/tftpboot/suse-12.3/x86_64/repos/
ln -sfn /srv/www/htdocs/repo/SUSE/Products/OpenStack-Cloud-Crowbar/8/x86_64/product SUSE-OpenStack-Cloud-Crowbar-8-Pool
ln -sfn /srv/www/htdocs/repo/SUSE/Updates/OpenStack-Cloud-Crowbar/8/x86_64/update SUSE-OpenStack-Cloud-Crowbar-8-Updates
```
