Re: [foreman-dev] How to disable puppet management of DHCP/DNS/TFTP

2017-08-10 Thread Lukas Zapletal
Thanks, created http://projects.theforeman.org/issues/20555

If anyone can take a look, this has been pain for a very long time.

Now, what workaround do you recommend for DNS today? How to
essentially stop updating it with our installer?

LZ

On Thu, Aug 10, 2017 at 5:48 PM, Ewoud Kohl van Wijngaarden
 wrote:
> On Tue, Aug 01, 2017 at 01:08:14PM +0200, Lukas Zapletal wrote:
>>
>> I wrote a short blogpost about how to add new DHCP subnet to Foreman:
>>
>> https://theforeman.org/2017/07/adding-new-subnet-for-provisioning.html
>>
>> At the end of the post, I am giving an advice to turn off DHCP puppet
>> management so new declarations won't get overwritten as our puppet
>> modules (or installer not sure) do not support multiple declarations.
>>
>> But when I edit foreman-installer answer files, it does not work
>> actually. I tried to do this via foreman-installer switches (changed
>> the blog post) to:
>>
>> # foreman-installer -v -n --scenario katello \
>> --foreman-proxy-dns=true --foreman-proxy-dns-managed=false \
>> --foreman-proxy-dhcp=true --foreman-proxy-dhcp-managed=false
>>
>> This seemed to work but I was fooled, I was running with dry run and
>> we have a bug that the installer actually commits some changes (!!!)
>> so it is actually not working at all and I had to fix my instance
>> after this screwup.
>>
>> Now the question is - how the heck do I stop puppet or our installer
>> from modifying dhcpd.conf? Can someone tell me please so I can change
>> the post once again? I spent an hour trying to figure out.
>
>
> I think this is the wrong approach and it's better to make the installer set
> up the zones for you. While sadly we don't expose this option in the
> installer, we can use hiera by placing the following content in
> /etc/foreman-installer/custom-hiera.yaml:
>
> dhcp::pools:
>  isolated.lan:
>network: 192.168.99.0
>mask: 255.255.255.0
>gateway: 192.168.99.1
>range: 192.168.99.5 192.168.99.49
>
> Now if you re-run the installer you should get an additional subnet.
>
> Sadly this is not possible for DNS but we could add that support.
>
> --
> You received this message because you are subscribed to the Google Groups
> "foreman-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to foreman-dev+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Later,
  Lukas @lzap Zapletal

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [foreman-dev] Request to join Katello Installer team in Katello Org

2017-08-10 Thread Chris Roberts
Thanks!

On Thursday, August 10, 2017 at 12:05:35 PM UTC-4, Eric Helms wrote:
>
> It has been a week with only positives. Welcome to the team Chris!
>
> On Wed, Aug 2, 2017 at 9:35 AM, Christine Fouant  > wrote:
>
>> +1 
>>
>> On Wed, Aug 2, 2017 at 9:31 AM, John Mitsch > > wrote:
>>
>>> +1 from me as well, Chris has been working in the installer for a while 
>>> now.
>>>
>>> John Mitsch
>>> Red Hat Engineering
>>> (860)-967-7285
>>> irc: jomitsch
>>>
>>> On Tue, Aug 1, 2017 at 3:04 PM, Eric D Helms >> > wrote:
>>>
 +1 from me, Chris has been very involved and adding value to both 
 puppet and installer itself.

 On Tue, Jul 25, 2017 at 6:54 PM, > 
 wrote:

> Hi,
>
> Since my last request almost a year ago I have been making quite a lot 
> of commits and they have gone from being pretty awful to alot better and 
> through that I have been understanding Puppet and Ruby alot better thanks 
> to people like Stephen Benjamin, Ekohl, and Justin.
>
> My commits started out as some basic Ruby but went on to more advanced 
> Ruby and bigger Puppet commits.
>
> I have also been doing reviews of Puppet PRS mostly from Ekohl.
>
> Here are some of my PR's both in the Ruby and Puppet:
>
> https://github.com/Katello/katello-installer/pull/518
>
> https://github.com/Katello/puppet-katello/pull/175
>
> https://github.com/Katello/puppet-qpid/pull/51
>
> https://github.com/Katello/puppet-katello/pull/168/files
>
> https://github.com/Katello/puppet-qpid/pull/65
>
> https://github.com/Katello/puppet-qpid/pull/62
>
> https://github.com/Katello/puppet-pulp/pull/189
>
> https://github.com/Katello/puppet-katello/pull/162
>
> https://github.com/Katello/katello-installer/pull/472
>
> Here are some of the ones I have reviewed around puppet/Ruby recently:
>
> https://github.com/Katello/puppet-qpid/pull/60
>
> https://github.com/Katello/puppet-katello/pull/190
>
> https://github.com/Katello/puppet-katello/pull/198
>
> Thanks,
>
> Chris Roberts
>
> -- 
> You received this message because you are subscribed to the Google 
> Groups "foreman-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to foreman-dev...@googlegroups.com .
> For more options, visit https://groups.google.com/d/optout.
>



 -- 
 Eric D. Helms
 Red Hat Engineering

 -- 
 You received this message because you are subscribed to the Google 
 Groups "foreman-dev" group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to foreman-dev...@googlegroups.com .
 For more options, visit https://groups.google.com/d/optout.

>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "foreman-dev" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to foreman-dev...@googlegroups.com .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> -- 
>>
>> Christine Fouant
>>
>> Software Engineer
>>
>> Red Hat 
>>
>> 
>>  
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "foreman-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to foreman-dev...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Eric D. Helms
> Red Hat Engineering
>

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [foreman-dev] request for write-access to forklift

2017-08-10 Thread Evgeni Golov
Thanks!

-- 
Beste Grüße/Kind regards,

Evgeni Golov
Software Engineer

Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael O'Neill,
Eric Shander

On 10 Aug 2017 18:06, "Eric D Helms"  wrote:

> It has been a week with only positives. Evgeni welcome to the team!
>
> On Wed, Aug 2, 2017 at 9:36 PM, Tom McKay  wrote:
>
>> +2 thanks for your contributions!
>>
>> On Wed, Aug 2, 2017 at 9:34 AM, Christine Fouant 
>> wrote:
>>
>>> +1
>>>
>>> On Wed, Aug 2, 2017 at 9:26 AM, John Mitsch  wrote:
>>>
 +1 You've made a lot of good contributions to forklift!

 John Mitsch
 Red Hat Engineering
 (860)-967-7285 <(860)%20967-7285>
 irc: jomitsch

 On Wed, Aug 2, 2017 at 8:57 AM, Ewoud Kohl van Wijngaarden <
 ew...@kohlvanwijngaarden.nl> wrote:

> On Wed, Aug 02, 2017 at 02:45:52PM +0200, Evgeni Golov wrote:
>
>> I would like to request write access to forklift.
>>
>
> Big +1 Evgeni has shown great insight in details with his reviews and
> high quality PRs.
>
> I have 19 merged PRs [1] resulting in 19 commits [2].
>> If I count it right, I also somehow reviewed 7 PRs [3].
>>
>> TIA
>> Evgeni
>>
>> [1] https://github.com/theforeman/forklift/pulls?page=1&q=is%3Ap
>> r+author%3Aevgeni&utf8=%E2%9C%93
>> [2] https://github.com/theforeman/forklift/commits?author=evgeni
>> [3] https://github.com/theforeman/forklift/pulls?utf8=%E2%9C%93&;
>> q=involves%3Aevgeni%20is%3Apr%20
>>
>
> --
> You received this message because you are subscribed to the Google
> Groups "foreman-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to foreman-dev+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

 --
 You received this message because you are subscribed to the Google
 Groups "foreman-dev" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to foreman-dev+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

>>>
>>>
>>>
>>> --
>>>
>>> Christine Fouant
>>>
>>> Software Engineer
>>>
>>> Red Hat
>>>
>>> 
>>> 
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "foreman-dev" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to foreman-dev+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "foreman-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to foreman-dev+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Eric D. Helms
> Red Hat Engineering
>
> --
> You received this message because you are subscribed to the Google Groups
> "foreman-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to foreman-dev+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [foreman-dev] request for write-access to forklift

2017-08-10 Thread Eric D Helms
It has been a week with only positives. Evgeni welcome to the team!

On Wed, Aug 2, 2017 at 9:36 PM, Tom McKay  wrote:

> +2 thanks for your contributions!
>
> On Wed, Aug 2, 2017 at 9:34 AM, Christine Fouant 
> wrote:
>
>> +1
>>
>> On Wed, Aug 2, 2017 at 9:26 AM, John Mitsch  wrote:
>>
>>> +1 You've made a lot of good contributions to forklift!
>>>
>>> John Mitsch
>>> Red Hat Engineering
>>> (860)-967-7285 <(860)%20967-7285>
>>> irc: jomitsch
>>>
>>> On Wed, Aug 2, 2017 at 8:57 AM, Ewoud Kohl van Wijngaarden <
>>> ew...@kohlvanwijngaarden.nl> wrote:
>>>
 On Wed, Aug 02, 2017 at 02:45:52PM +0200, Evgeni Golov wrote:

> I would like to request write access to forklift.
>

 Big +1 Evgeni has shown great insight in details with his reviews and
 high quality PRs.

 I have 19 merged PRs [1] resulting in 19 commits [2].
> If I count it right, I also somehow reviewed 7 PRs [3].
>
> TIA
> Evgeni
>
> [1] https://github.com/theforeman/forklift/pulls?page=1&q=is%3Ap
> r+author%3Aevgeni&utf8=%E2%9C%93
> [2] https://github.com/theforeman/forklift/commits?author=evgeni
> [3] https://github.com/theforeman/forklift/pulls?utf8=%E2%9C%93&;
> q=involves%3Aevgeni%20is%3Apr%20
>

 --
 You received this message because you are subscribed to the Google
 Groups "foreman-dev" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to foreman-dev+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "foreman-dev" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to foreman-dev+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>>
>> Christine Fouant
>>
>> Software Engineer
>>
>> Red Hat
>>
>> 
>> 
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "foreman-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to foreman-dev+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "foreman-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to foreman-dev+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Eric D. Helms
Red Hat Engineering

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [foreman-dev] Request to join Katello Installer team in Katello Org

2017-08-10 Thread Eric D Helms
It has been a week with only positives. Welcome to the team Chris!

On Wed, Aug 2, 2017 at 9:35 AM, Christine Fouant  wrote:

> +1
>
> On Wed, Aug 2, 2017 at 9:31 AM, John Mitsch  wrote:
>
>> +1 from me as well, Chris has been working in the installer for a while
>> now.
>>
>> John Mitsch
>> Red Hat Engineering
>> (860)-967-7285 <(860)%20967-7285>
>> irc: jomitsch
>>
>> On Tue, Aug 1, 2017 at 3:04 PM, Eric D Helms 
>> wrote:
>>
>>> +1 from me, Chris has been very involved and adding value to both puppet
>>> and installer itself.
>>>
>>> On Tue, Jul 25, 2017 at 6:54 PM,  wrote:
>>>
 Hi,

 Since my last request almost a year ago I have been making quite a lot
 of commits and they have gone from being pretty awful to alot better and
 through that I have been understanding Puppet and Ruby alot better thanks
 to people like Stephen Benjamin, Ekohl, and Justin.

 My commits started out as some basic Ruby but went on to more advanced
 Ruby and bigger Puppet commits.

 I have also been doing reviews of Puppet PRS mostly from Ekohl.

 Here are some of my PR's both in the Ruby and Puppet:

 https://github.com/Katello/katello-installer/pull/518

 https://github.com/Katello/puppet-katello/pull/175

 https://github.com/Katello/puppet-qpid/pull/51

 https://github.com/Katello/puppet-katello/pull/168/files

 https://github.com/Katello/puppet-qpid/pull/65

 https://github.com/Katello/puppet-qpid/pull/62

 https://github.com/Katello/puppet-pulp/pull/189

 https://github.com/Katello/puppet-katello/pull/162

 https://github.com/Katello/katello-installer/pull/472

 Here are some of the ones I have reviewed around puppet/Ruby recently:

 https://github.com/Katello/puppet-qpid/pull/60

 https://github.com/Katello/puppet-katello/pull/190

 https://github.com/Katello/puppet-katello/pull/198

 Thanks,

 Chris Roberts

 --
 You received this message because you are subscribed to the Google
 Groups "foreman-dev" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to foreman-dev+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

>>>
>>>
>>>
>>> --
>>> Eric D. Helms
>>> Red Hat Engineering
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "foreman-dev" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to foreman-dev+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "foreman-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to foreman-dev+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
>
> Christine Fouant
>
> Software Engineer
>
> Red Hat
>
> 
> 
>
> --
> You received this message because you are subscribed to the Google Groups
> "foreman-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to foreman-dev+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Eric D. Helms
Red Hat Engineering

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [foreman-dev] How to disable puppet management of DHCP/DNS/TFTP

2017-08-10 Thread Ewoud Kohl van Wijngaarden

On Tue, Aug 01, 2017 at 01:08:14PM +0200, Lukas Zapletal wrote:

I wrote a short blogpost about how to add new DHCP subnet to Foreman:

https://theforeman.org/2017/07/adding-new-subnet-for-provisioning.html

At the end of the post, I am giving an advice to turn off DHCP puppet
management so new declarations won't get overwritten as our puppet
modules (or installer not sure) do not support multiple declarations.

But when I edit foreman-installer answer files, it does not work
actually. I tried to do this via foreman-installer switches (changed
the blog post) to:

# foreman-installer -v -n --scenario katello \
--foreman-proxy-dns=true --foreman-proxy-dns-managed=false \
--foreman-proxy-dhcp=true --foreman-proxy-dhcp-managed=false

This seemed to work but I was fooled, I was running with dry run and
we have a bug that the installer actually commits some changes (!!!)
so it is actually not working at all and I had to fix my instance
after this screwup.

Now the question is - how the heck do I stop puppet or our installer
from modifying dhcpd.conf? Can someone tell me please so I can change
the post once again? I spent an hour trying to figure out.


I think this is the wrong approach and it's better to make the installer 
set up the zones for you. While sadly we don't expose this option in the 
installer, we can use hiera by placing the following content in

/etc/foreman-installer/custom-hiera.yaml:

dhcp::pools:
 isolated.lan:
   network: 192.168.99.0
   mask: 255.255.255.0
   gateway: 192.168.99.1
   range: 192.168.99.5 192.168.99.49

Now if you re-run the installer you should get an additional subnet.

Sadly this is not possible for DNS but we could add that support.

--
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[foreman-dev] Weekly Dev/Design Meeting: Smart Capsules and Proxies.

2017-08-10 Thread Roxanne Hoover
https://docs.google.com/document/d/1o5Y01knvsL60Fduk_807RxsAkg-t3KebOMZy7koTutQ/edit

Smart Proxies & Capsules

Presented Ivan Necas



   - 
   
   Internal vs. external proxy indicator
   



   - 
   
   Change active features to bullet list for easier readability
   - 
   
   Row Labels should be bold.
   - 
   
   Change refresh icon to button.
   - 
   
   Title case for row labels.
   - 
   
   When no Failed Features, display “No Failed Features” or redo layout to 
   have that information integrated into card (if they are related - demo did 
   not show failure state)
   - 
   
   Change Pulp Storage to Donut
   - 
   
   Evaluate if Red Delete is necessary here.
   



   - 
   
   Show date for “CA Certificate Expiry Date” instead of estimate
   - 
   
   Title case on cards
   - 
   
   Auto-assign Entries should use a button (icon optional) vs. icon only
   - 
   
   Host Managed change to card.
   


   - 
   
   Make table standard with other tables.
   - 
   
   Search Field is unlabeled.
   - 
   




   - 
   
   When in empty state, say “No Results” vs. current text. If current text 
   is required, change title to “Search Suggestions” (in bold), left justify 
   text with bullets properly spaced to text.
   

   - 
   
   The delete buttons are different. Are they required to be red?
   - 
   
   I would change the “New” button to be more specific… “New INSERT WORD”.
   - 
   
   Search should have a label.
   

   - 
   
   Highlighted text is unreadable.
   - 
   
   Search has no label.
   

   - 
   
   Remove all caps from level, make sure this matches dropdown
   - 
   
   Highlighted table column header “Time”, is not aligned with other labels.
   


   - 
   
   Non-standard scroll and scroll is showing when it’s not needed.
   - 
   
   Row highlight color differs from other table in same section.
   


   - 
   
   Page is okay, but for a more aesthetic layout, each item could be put in 
   a card vs. list style (as shown). It would make the items easier to read 
   since the gaps can difficult to follow from left to right.
   



   - 
   
   Errors need to be laid out better.
   

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[foreman-dev] Weekly Dev/Design Meeting: Provisioning

2017-08-10 Thread Roxanne Hoover
https://docs.google.com/document/d/16163KPzlYlCv_kaV62mHres6_-UnTTwWhpHMSivvcKI/edit

Provisioning

Presented by Ivan




   - 
   
   This form is within another div (see grey line box). Can we remove it 
   from that?
   



   - 
   
   Move help text to help icon.
   

   - 
   
   For provisioning, there is no flow. A user must go through separate 
   screens and back again in order to set something up. Let’s review the 
Creation 
   Wizard 
   
   


   - 
   
   Provisioning a Host, integrate Template set up
   

   - 
   
   Move info help before field but below tabs.
   


   - 
   
   Check out RHEV and Cockpit for networking layouts.
   

   - 
   
   Should the build button be red?
   - 
   
   This could probably use further design changes to better display info. 
   I’m not sure opening up a model that then displays inline errors is the 
   best way to communicate. 
   
Pending Installation is the only status. More granular statuses would be 
helpful.

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.