Fuel 8.0 "fuel-mirror create" command need argument "-G/--group"

Asked by Zunyi

What does the argument mean? i can't find documents about "fuel-mirror create" command.
I want to create a local mirrors by using this command, but it raises error when missing "-G/--group"argument.
Who can tell me how to use it or give me a document about it?

Question information

Language:
English Edit question
Status:
Solved
For:
Fuel for OpenStack Edit question
Assignee:
No assignee Edit question
Solved by:
Fabrizio Soppelsa
Solved:
Last query:
Last reply:
Revision history for this message
Best Fabrizio Soppelsa (fsoppelsa) said :
#1

Greetings Zunyl,

# fuel-mirror help create
...
  -G GROUPS [GROUPS ...], --group GROUPS [GROUPS ...]
                        The name of repository groups.

-G specifies the repository group, for example mos, mos_security
-P the pattern, for example ubuntu

You can find details for those structures in files /usr/share/fuel-mirror/*.yaml

A sample command:
# fuel-mirror create -G mos -P ubuntu

Best regards,
Fabrizio
Mirantis Team

Revision history for this message
Zunyi (ngaa) said :
#2

Thanks Fabrizio Soppelsa, that solved my question.

Revision history for this message
Benone Marcos (benone) said :
#3

This is actually the only reference I found online on how to use that command. Official docs still reference fuel-createmirror which gives you warning about being deprecated.. Big thanks to Fabrizio.

Revision history for this message
Gayathri Govindaraju (gaatri) said :
#4

Hi,
there is an upstream bug that is caused because of local mirror repository, https://bugs.launchpad.net/fuel/+bug/1577839
do you know how to erase or delete the local repository, there is no documentation on how to remove it.
If you know of any command please let me know.
I dont want to "rm" since there could be several paths to delete
thanks
regards,
Gaya