Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hammer content-view version export needs to run on katello-devel #1036

Open
jeffmcutter opened this issue Oct 22, 2019 · 0 comments
Open

hammer content-view version export needs to run on katello-devel #1036

jeffmcutter opened this issue Oct 22, 2019 · 0 comments

Comments

@jeffmcutter
Copy link
Contributor

jeffmcutter commented Oct 22, 2019

I'm looking to experiment with hammer content-view version export / import. It seems that forklift wants to stand up separate katello-devel and hammer-devel VMs. The bundle exec for hammer content-view version export complained it must be on the local katello host to work. I have subsequently setup a separate vagrant config combining both of the roles as follows:

centos7-katello-and-hammer-devel:
  primary: true
  box: centos7
  memory: 16384
  cpus: 6
  ansible:
    playbook: 'playbooks/katello_and_hammer_devel.yml'
    group: 'devel'
    variables:
      ssh_forward_agent: true
      foreman_devel_github_push_ssh: True
      katello_devel_github_username: jeffmcutter
      hammer_devel_github_username: jeffmcutter
      hammer_devel_server: centos7-katello-and-hammer-devel.jcutter-fedora.example.com

The playbook appears as follows:

cat playbooks/katello_and_hammer_devel.yml 
---
- hosts: all
  roles:
    - role: katello_devel
      become: yes
    - etc_hosts
    - git
    - role: ruby_scl
      become: yes
    - hammer_devel

This appears to have created a working katello-devel with hammer-devel included, however I've run into issues with the vagrant user using content-view version export not having permissions to various files / dirs and running bundle exec as root with sudo doesn't work as it seems the environment isn't setup.

Am I going about this all wrong or is is it something else like perhaps is this a fridge case not covered?

Thanks,
-Jeff

@jeffmcutter jeffmcutter changed the title content-view version hammer content-view version export needs to run on katello-devel Oct 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant